-
Notifications
You must be signed in to change notification settings - Fork 798
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
thread '<unnamed>' panicked at 'The global thread pool has not been initialized.: #444
Comments
I am seeing a similar error when running this python code. The error message is
===Solution=== |
This error seems related to the |
I just run into the same error . Have you solved this problem? |
I have recently encountered the same error:
@n1t0, may we reopen this issue, or should we start a new one? |
Can someone provide a way to reproduce this error? |
I saw this error when I trained models with 'Autotokenizer.from_pretrained()' and 'torch.distributed.DataParallel.' I think this error might relate to the failure of connection. and I solve this problem by replacing 'Autotokenizer.from_pretrained() ' with a model already downloaded. |
1 similar comment
I saw this error when I trained models with 'Autotokenizer.from_pretrained()' and 'torch.distributed.DataParallel.' I think this error might relate to the failure of connection. and I solve this problem by replacing 'Autotokenizer.from_pretrained() ' with a model already downloaded. |
I have struggled to reproduce this error as well. In this specific instance, I was using |
I also encountered this problem, but I created a new file and then copied the code and the problem was solved. Very strange |
I reloaded VS Code window. It worked for me! |
also worked for me! thanks! |
If you are using JetBrains products, you shouldn't every time open a new thread to run the code. Try to only have one thread and run your code through that. |
thread '<unnamed>' panicked at 'The global thread pool has not been initialized.: ThreadPoolBuildError { kind: IOError(Os { code: 11, kind: WouldBlock, message: "R esource temporarily unavailable" }) }', /github/home/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-core-1.7.0/src/registry.rs:168:5
Has anyone seen this error.
The text was updated successfully, but these errors were encountered: