-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
HuggingFace Embedder potential deadlock #7787
Comments
Hello! I tried to understand the warning and I found this explanation from the Hugging Face team:
So it seems that when you see this warning message, tokenizers parallelism has been automatically disabled to avoid deadlocks. |
Describe the bug
I was running the following query pipeline:
Warning message
Relevant stackoverflow thread.
Expected behavior
This warning should not be thrown as this can cause the system to hang and consume entire resources in the worst case.
Additional context
Better to disable
TOKENIZERS_PARALLELISM
by default so the GIL logic doesn't invoke deadlock.To Reproduce
Run the query pipeline provided above.
FAQ Check
System:
The text was updated successfully, but these errors were encountered: