flash-attn 在自己的github 上是没有预编译和的库文件,一般情况下,在windows 下安装非常慢
可以试试先安装 ninja
1 |
python -m pip install ninja |
设置一下 MAX_JOBS
1 2 |
set MAX_JOBS=128 python -m pip install flash-attn |
这样会快很多
flash-attn 在自己的github 上是没有预编译和的库文件,一般情况下,在windows 下安装非常慢
可以试试先安装 ninja
1 |
python -m pip install ninja |
设置一下 MAX_JOBS
1 2 |
set MAX_JOBS=128 python -m pip install flash-attn |
这样会快很多