Use FlashAttention for multi_query_kv_attention (#4)

This commit is contained in:
Woosuk Kwon
2023-03-01 21:13:08 -08:00
committed by GitHub
parent 0deacbce6e
commit 3e9f991d6a
4 changed files with 107 additions and 33 deletions
+1
View File
@@ -4,6 +4,7 @@
```bash
pip install cmake torch transformers
pip install flash-attn # This may take up to 10 mins.
pip install -e .
```