-
Notifications
You must be signed in to change notification settings - Fork 2
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] Cannot install through any means #24
Comments
Were you able to install PyTorch? |
Yes |
@szmazurek: can you think of anything for this? I am unable to replicate it on 3 machines (Windows, Ubuntu, Mint). I have put together a small script to get some debugging information from the environment here. Can you think of anything else to add? |
Yeah, so with pypi I can imagine that, afaik we did not have the package built and uploaded here. Regarding the installation from the source it seems that you are missing Nvidia compiler (nvcc), which is apparently needed by deepspeed dependency. Can you check if nvcc is installed @Linardos? If not, perhaps installation would do the trick. Next thing can be PATH setting, ensure that all Nvidia related binaries are accessible. |
If NVCC is needed, perhaps it might make sense to include it in the documentation. I believe installing one of the following (based on the user's system) should be fine:
Thanks for helping us catch this, @Linardos! I am guessing that since all of my (and Szymon's) machines are set up for development, Relevant issue from DeepSpeed: microsoft/DeepSpeed#2772 EDIT: I also found a cuda-python package on pip but I think that's only for CUDA12. |
Yeah, this indeed would be needed - @Linardos if you can confirm that the issue by @sarthakpati #25 will address that. |
I just installed it through pip, but that doesn't seem to solve it. I have CUDA 12.4 in my machine
However, I installed nvcc through
it seems to have been installed successfully. |
I think the "solution" of doing |
This one should work then maybe add that step in the README (I didn't test it but it seems to be the standard steps to do it with conda):
|
Cool. In this case, we need to have an explicit dependency on conda. |
I do not think that requiring nvcc as the underlying requirement is problematic from the user's perspective, it is basically something you need alongside CUDA drivers for this package. Falling back to conda is one solution, but I would not push it as the only go-to, rather a workaround (also it can be included in the container). |
Since it is on the user-level, I think |
I followed the steps to install exactly as described but none of the options work sadly:
Package not in pip nor conda:
But it neithers works through cloning and installing directly:
The text was updated successfully, but these errors were encountered: