DeepSpeed
DeepSpeed copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: ':/usr/local/cuda/bin/nvcc'
When i pip install deepspeed, it seems to have a bug. How can i solve it.
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [16 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
Hi @1148514800 - do you have nvcc installed? Are you able to run which nvcc or nvcc --version
Hi, I can run which nvcc. I have solved this problem by export CUDA_HOME=/usr/local/cuda. But I still want to thank you!
Thanks @1148514800 - that's good, I'm glad the issue is resolved and sorry for the delay in replying. I'll close the issue now but if you hit any others, please feel free to open a new issue.
I got same error, can not resolved, why? nvcc are there, and cuda 12.1 are installed right.
I got same error, can not resolved, why? nvcc are there, and cuda 12.1 are installed right.
just export CUDA_HOME=/usr/local/cuda before you install, i solve it. Hope it useful for you.
I got same error, can not resolved, why? nvcc are there, and cuda 12.1 are installed right.
just export CUDA_HOME=/usr/local/cuda before you install, i solve it. Hope it useful for you.
This solves my issue! thanks a lot!