Skip to content
Python

Add `packaging` module installation to `FlashAttention-2`

DELUXAb356855f7d68
diff --git a/docs/AMD-INSTALLATION.md b/docs/AMD-INSTALLATION.md
index 47dbd6a..5d21b58 100644
--- a/docs/AMD-INSTALLATION.md
+++ b/docs/AMD-INSTALLATION.md
@@ -177,6 +177,7 @@ pip install "sageattention <2"
git clone https://github.com/Dao-AILab/flash-attention.git
cd flash-attention
pip install ninja
+pip install packaging
set FLASH_ATTENTION_TRITON_AMD_ENABLE=TRUE && python setup.py install
```