-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
windowsQuestions or PRs relating to running DeepSpeed on WindowsQuestions or PRs relating to running DeepSpeed on Windows
Description
I'm getting the following error after running pip install deepspeed, running torch 2.7.0 with cu1.26 python 3.10, also same failure with 2.7.1 cu12.6 and python 3.12
deepspeed-0.17.2.tar.gz (1.6 MB)
Preparing metadata (setup.py) ... error
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 "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 35, in <module>
File "C:\Users\SciBott\AppData\Local\Temp\pip-install-tqni8nvh\deepspeed_f537aa233c284a08932f639712e3ce30\setup.py", line 110, in <module>
cuda_major_ver, cuda_minor_ver = installed_cuda_version()
File "C:\Users\SciBott\AppData\Local\Temp\pip-install-tqni8nvh\deepspeed_f537aa233c284a08932f639712e3ce30\op_builder\builder.py", line 53, in installed_cuda_version
output = subprocess.check_output([cuda_home + "/bin/nvcc", "-V"], universal_newlines=True)
File "G:\conda_envs\hun3d\lib\subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "G:\conda_envs\hun3d\lib\subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "G:\conda_envs\hun3d\lib\subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "G:\conda_envs\hun3d\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
[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.
Metadata
Metadata
Assignees
Labels
windowsQuestions or PRs relating to running DeepSpeed on WindowsQuestions or PRs relating to running DeepSpeed on Windows