DeepSpeed: Fail to install sparse attention and cpu-adam
When I used install.sh, I received the following warnings:
`[WARNING] fused lamb is NOT installed.
[WARNING] transformer kernels are NOT installed.
[WARNING] sparse attention is NOT installed.
[WARNING] cpu-adam (used by ZeRO-offload) is NOT installed.`
After changing the wheel installation to pure pip installation, the fused lamb and transformer kernel can be installed. But I still fail to install the sparse attention and cpu-adam.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 17 (8 by maintainers)
And for installing Sparse Attention, you have the following dependencies:
Then you need to set the install flag: DS_BUILD_SPARSE_ATTN=1 (for sparse attention) DS_BUILD_CPU_ADAM=1 (for cpu adam)
and finally run ./install.sh
Please update us on the result.
I failed to import triton after pip install it. So I have to compile it from source with several other dependencies. After these, I can install sparse attention successfully.
Thanks for help guys! I’ve managed to install cpu adam, but for now i can’t install llvm-9-dev with apt due to environment limitations. Will try to build it locally from source
@arashashari Thanks for fixing my typo on DS_BUILD_CPU_ADAM