-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Concurrent API requests to Gemini vision model cause non-responsive behavior and block all tasks forever #9273
Comments
The issue you're experiencing with the Gemini vision model might be related to how it handles concurrency. Here are a few steps you can take to troubleshoot and potentially resolve the problem:
If these steps don't resolve the issue, consider isolating the problem by testing with fewer concurrent requests or different configurations to pinpoint the cause. |
|
Given the situation, here are some additional steps you might consider:
These steps should help you further diagnose and potentially resolve the issue. |
I’ve tried the latest version 0.9.2, and the issue is still reproducible @crazywoola @dosu |
I also encountered this problem @crazywoola |
Hi, @Allamss. I'm Dosu, and I'm helping the Dify team manage their backlog. I'm marking this issue as stale. Issue Summary:
Next Steps:
Thank you for your understanding and contribution! |
@dosu, In the latest version 0.11.2, the problem can still be reproduced |
Self Checks
Dify version
0.9.1 / 0.9.2 / 0.11.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Configure Gemini 1.5 Pro 001
Create a new workflow using LLM with visual capabilities to briefly analyze images
Upload an image via API, then make 50 concurrent API calls to execute the image analysis workflow (I m using java, and 20 concurrent calls is fine). The API calls will hang indefinitely without returning, and all LLM operations on the site will become blocked
image:
According to the workflow logs, LLM requests are successfully returned
This issue does not occur with GPT vision model
✔️ Expected Behavior
Results should be returned normally
❌ Actual Behavior
Results are not returned as expected, and the entire site becomes globally blocked. The site can only be restored by restarting
The text was updated successfully, but these errors were encountered: