(realtime_ocl) root@bp8ncin2gl1fp-0:/2111041018/hanyuchen/RealtimeOCL-main# pip install deepspeed==0.6.7
Collecting deepspeed==0.6.7
Using cached deepspeed-0.6.7.tar.gz (586 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [20 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-fbfzjh0l/deepspeed_b6e9357c939b4008974b93f7ecd081e7/setup.py", line 109, in <module>
os.environ["TORCH_CUDA_ARCH_LIST"] = get_default_compute_capabilities()
File "/tmp/pip-install-fbfzjh0l/deepspeed_b6e9357c939b4008974b93f7ecd081e7/op_builder/builder.py", line 58, in get_default_compute_capabilities
if torch.utils.cpp_extension.CUDA_HOME is not None and installed_cuda_version(
File "/tmp/pip-install-fbfzjh0l/deepspeed_b6e9357c939b4008974b93f7ecd081e7/op_builder/builder.py", line 43, in installed_cuda_version
output = subprocess.check_output([cuda_home + "/bin/nvcc",
File "/root/anaconda3/envs/realtime_ocl/lib/python3.9/subprocess.py", line 424, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/root/anaconda3/envs/realtime_ocl/lib/python3.9/subprocess.py", line 505, in run
with Popen(*popenargs, **kwargs) as process:
File "/root/anaconda3/envs/realtime_ocl/lib/python3.9/subprocess.py", line 951, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/root/anaconda3/envs/realtime_ocl/lib/python3.9/subprocess.py", line 1837, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: ':/usr/local/cuda-11.1/bin/nvcc'
No CUDA runtime is found, using CUDA_HOME=':/usr/local/cuda-11.1'
[WARNING] Torch did not find cuda available, if cross-compiling or running with cpu only you can ignore this message. Adding compute capability for Pascal, Volta, and Turing (compute capabilities 6.0, 6.1, 6.2)
[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.
```python