[readme] update flash attention installation instruction on win platform (#6788)

* Update README_zh.md

* Update README.md

Former-commit-id: a417bcf8d9d70057d12f9152e4091c090133e025
This commit is contained in:
neavo 2025-02-01 12:43:29 +08:00 committed by GitHub
parent 454140d912
commit 32163e7ce0
2 changed files with 2 additions and 2 deletions

View File

@ -441,7 +441,7 @@ pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/downl
#### Install Flash Attention-2
To enable FlashAttention-2 on the Windows platform, you need to install the precompiled `flash-attn` library, which supports CUDA 12.1 to 12.2. Please download the corresponding version from [flash-attention](https://github.com/bdashore3/flash-attention/releases) based on your requirements.
To enable FlashAttention-2 on the Windows platform, please use the script from [flash-attention-windows-wheel](https://huggingface.co/lldacing/flash-attention-windows-wheel) to compile and install it by yourself.
</details>

View File

@ -443,7 +443,7 @@ pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/downl
#### 安装 Flash Attention-2
如果要在 Windows 平台上开启 FlashAttention-2需要安装预编译的 `flash-attn` 库,支持 CUDA 12.1 到 12.2,请根据需求到 [flash-attention](https://github.com/bdashore3/flash-attention/releases) 下载对应版本安装。
如果要在 Windows 平台上开启 FlashAttention-2请使用 [flash-attention-windows-wheel](https://huggingface.co/lldacing/flash-attention-windows-wheel) 中的脚本自行编译与安装。
</details>