-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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]: PyNcclCommunicator error when inferencing #8420
Comments
May be related to #5484, please take a look at that thread. |
I think this is the root cause. you can follow Line 960 in a6c0f36
|
might be related: pytorch/pytorch#132617 if you install pytorch via |
Thank you so much! This method did indeed solve my problem directly. At first, I was installing PyTorch using conda, but switching to installing it with pip resolved the issue. |
BTW, torch installed from |
Your current environment
The output of `python collect_env.py`
Model Input Dumps
No response
🐛 Describe the bug
When I started creating an instance from the LLM class, an error occurred.
It says
AttributeError: 'PyNcclCommunicator' object has no attribute 'device'
, I don't know what to do then.The code to test it:
Before submitting a new issue...
The text was updated successfully, but these errors were encountered: