File…
- User
File "/tmp/pip-install-bhp24pzv/deepspeed_f148690daeef4ab6b363406ba6da27b6/op_builder/builder.py", line 50, in installed_cuda_version raise MissingCUDAException("CUDA_HOME does not exist, unable to compile CUDA op(s)") op_builder.builder.MissingCUDAException: CUDA_HOME does not exist, unable to compile CUDA op(s) [WARNING] Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH [end of output]
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.
- Assistant
It looks like you're encountering an error related to CUDA when trying to install a package, possibly
deepspeedor another package that requires compiling CUDA operations. The error message indicates thatCUDA_HOMEis not set, which means the installer cannot find your CUDA installation, a requirement for compiling CUDA-based code.