-
Notifications
You must be signed in to change notification settings - Fork 3.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
[BUG] pip install deepspeed==0.13.0
fails
#4984
Comments
Hi @apoorvkh while in the past we have not required torch to be installed before installing DeepSpeed, it has always been required to run DeepSpeed. This "bug" is from a recent PR: #4547 It is problematic adding torch as a requirement to the project because pip will often install the CPU version rather than CUDA/ROCm versions. We are discussing internally what the proper action is, but I suspect we will restore the previous behavior of not requiring torch at install time and do a 0.13.1 patch release with this update. |
Understood, that would be great -- thank you! |
This issue is caused by these two piece of reflection codes. The problem is the reflection code should not intend to iterate into directories belongs to other accelerator. https://github.com/microsoft/DeepSpeed/blob/master/op_builder/__init__.py#L46 There are two possible fixes, one is to skip directories belongs to accelerators with code like: |
Everything is working well on my end -- thanks again @mrwyattii! |
I commented on the release/build commit, but reposting as an issue for better visibility.
Installing fails on my end, when trying to install
deepspeed==0.13.0
with(see error below)
Solutions: I think
torch
should either become a build requirement fordeepspeed
or the build code should be adjusted to prevent this error. This build time error seems to have been introduced in one of the commits in v0.13.0. Then, I think 1c8b8f3 can be reverted.Error
The text was updated successfully, but these errors were encountered: