You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Initial DeepSpeed Issue
I encountered an issue with DeepSpeed during its installation using python setup.py install. Specifically:
The build process stalled while constructing certain modules (cpu_adam, aio.lib).
I resolved this by modifying the setup.py file to force DS_BUILD_OPS=0.
2. Flash-Attention Issue
When attempting to install Flash-Attention, the build process stalled at the following step:
Building wheel for flash-attn (setup.py) ...
3. Troubleshooting Steps
Reinstalled Ninja: Installed Ninja (version 1.11.1.3) successfully. However, the problem persists.
Disabled Multi-Core Compilation: Set the environment variable USE_NINJA=OFF to limit the compilation to a single core. The issue remains unresolved.
Verified Dependencies: Confirmed that PyTorch (matching CUDA version) and other dependencies like nvidia-ml-py and torch-optimi are installed.
Tried Different Python Environments: Attempted installation on both Python 3.10 and 3.12 environments but encountered the same issue.
The text was updated successfully, but these errors were encountered:
I encountered an issue with DeepSpeed during its installation using python setup.py install. Specifically:
The build process stalled while constructing certain modules (cpu_adam, aio.lib).
I resolved this by modifying the setup.py file to force DS_BUILD_OPS=0.
2. Flash-Attention Issue
When attempting to install Flash-Attention, the build process stalled at the following step:
Building wheel for flash-attn (setup.py) ...
3. Troubleshooting Steps
Reinstalled Ninja: Installed Ninja (version 1.11.1.3) successfully. However, the problem persists.
Disabled Multi-Core Compilation: Set the environment variable USE_NINJA=OFF to limit the compilation to a single core. The issue remains unresolved.
Verified Dependencies: Confirmed that PyTorch (matching CUDA version) and other dependencies like nvidia-ml-py and torch-optimi are installed.
Tried Different Python Environments: Attempted installation on both Python 3.10 and 3.12 environments but encountered the same issue.
The text was updated successfully, but these errors were encountered: