-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
torch and deepspeed versions are currently incompatible #4271
Comments
fixed |
same error |
same error, it seems it does not fix yet |
+1 |
|
Reminder
System Info
Reproduction
The
ImportError: cannot import name 'log'
error originates from the deepspeed library, specifically in theelastic_agent.py file
.The import statement
from torch.distributed.elastic.agent.server.api import log, _get_socket_with_port
is failing because log cannot be found in the specified module.The torch library might have been updated, and the log function or object was removed or relocated.
The version of deepspeed in use might not be compatible with the version of torch installed.
Expected behavior
pip install deepspeed
installs version 0.14.0. This version isn't compatible with the torch library.One possible solution is to install a newer version of deepspeed.
pip install deepspeed==0.14.1
andpip install deepspeed==0.14.3
works.Others
No response
The text was updated successfully, but these errors were encountered: