Spaces:
Paused
Paused
| pip install --upgrade pip setuptools wheel | |
| pip install --no-build-isolation flash-attn==2.5.9.post1 | |
| git clone https://github.com/NVIDIA/apex | |
| cd apex | |
| # if pip >= 23.1 (ref: https://pip.pypa.io/en/stable/news/#v23-1) which supports multiple `--config-settings` with the same key... | |
| pip install -v --disable-pip-version-check --no-cache-dir --no-build-isolation --config-settings "--build-option=--cpp_ext" --config-settings "--build-option=--cuda_ext" ./ | |
| cd .. | |