-
Notifications
You must be signed in to change notification settings - Fork 749
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
[Bug] Backend crashes with a KeyError while running normally #2812
Comments
We also encountered this issue. Sorry to bother you @merrymercy @zhyncs , could you please take a look at this issue? |
Is this correct to fix the issue? |
It seems like DetokenizerManager persists throughout the process's lifetime, evicting the oldest ones. There could be an issue if the number of concurrent requests exceeds 32768 or there is a long-running request and many short-running requests were followed. |
+1 ran into similar issues, cannot pin point exactly which prompt cause this issue |
Patch this PR, please. Then the issue will be gone. |
Checklist
Describe the bug
At some point, the backend crashes with an error message like this. The key in the key error is different for every error.
Reproduction
Random
Environment
The text was updated successfully, but these errors were encountered: