Update README_CN.md

main
Junyang Lin 1 year ago committed by GitHub
parent 12e4c8bda5
commit 45d0bfb49d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -100,10 +100,8 @@ pip install -r requirements.txt
如果你的显卡支持fp16或bf16精度我们还推荐安装[flash-attention](https://github.com/Dao-AILab/flash-attention)**当前已支持flash attention 2**)来提高你的运行效率以及降低显存占用。(**flash-attention只是可选项不安装也可正常运行该项目**)
```bash
# 以下是此前的安装命令当前已支持flash attention 2。
# git clone -b v1.0.8 https://github.com/Dao-AILab/flash-attention
# cd flash-attention && pip install .
pip install flash-attn --no-build-isolation
git clone https://github.com/Dao-AILab/flash-attention
cd flash-attention && pip install .
# 下方安装可选,安装可能比较缓慢。
# pip install csrc/layer_norm
# pip install csrc/rotary

Loading…
Cancel
Save