Can't install deepspeed

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File “”, line 2, in
File “”, line 34, in
File “C:\Users\USER\DeepSpeed\setup.py”, line 138, in
abort(f"Unable to pre-compile {op_name}")
File “C:\Users\USER\DeepSpeed\setup.py”, line 43, in abort
assert False, msg
AssertionError: Unable to pre-compile cpu_adam
DS_BUILD_OPS=1
[WARNING] One can disable cpu_adam with DS_BUILD_CPU_ADAM=0
[ERROR] Unable to pre-compile cpu_adam
[end of output]

I use windows10 and i installed requirements programs : cuda, cpp build tools, pytorch… etc

I was looking for many sites to find this error, but there is no data about this error.

How i can solve this problem?

The error seems to be raised by cpu_adam. Did you try to disable it as suggested in the warning?

[WARNING] One can disable cpu_adam with DS_BUILD_CPU_ADAM=0
[ERROR] Unable to pre-compile cpu_adam

I tried to disable CPU_ADAM.
But it called next compile error, CPUAdagrad/FusedAdam/FusedLamb that imported in op_builder folder.