From 45d0bfb49d2b9afef80b15063be6207b7bf2bad2 Mon Sep 17 00:00:00 2001 From: Junyang Lin Date: Sun, 8 Oct 2023 16:34:45 +0800 Subject: [PATCH] Update README_CN.md --- README_CN.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README_CN.md b/README_CN.md index 6f66846..7e9a3b8 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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