[feature] add flash_attn to requirements

This commit is contained in:
unicornchan 2025-02-10 01:52:39 +00:00
parent fd481af193
commit e968fa8d72
2 changed files with 3 additions and 1 deletions

View file

@ -23,6 +23,7 @@ dependencies = [
"blessed >= 1.20.0", "blessed >= 1.20.0",
"accelerate >= 0.31.0", "accelerate >= 0.31.0",
"sentencepiece >= 0.1.97", "sentencepiece >= 0.1.97",
"flash_attn == 2.7.4.post1"
"setuptools", "setuptools",
"ninja", "ninja",
"wheel", "wheel",

View file

@ -1,5 +1,6 @@
fire fire
transformers transformers==4.43.2
flash_attn==2.7.4.post1
numpy numpy
torch>=2.3.0 torch>=2.3.0
packaging packaging