mirror of
https://github.com/QwenLM/Qwen.git
synced 2026-05-20 16:35:47 +08:00
Update README_JA.md
This commit is contained in:
@@ -106,10 +106,8 @@ pip install -r requirements.txt
|
|||||||
お使いのデバイスが fp16 または bf16 をサポートしている場合、[flash-attention](https://github.com/Dao-AILab/flash-attention) (flash attention 2に対応しました)をインストールすることで、より高い効率とメモリ使用量を抑えることができます。(**flash-attention はオプションであり、インストールしなくてもプロジェクトは正常に実行できます**)
|
お使いのデバイスが fp16 または bf16 をサポートしている場合、[flash-attention](https://github.com/Dao-AILab/flash-attention) (flash attention 2に対応しました)をインストールすることで、より高い効率とメモリ使用量を抑えることができます。(**flash-attention はオプションであり、インストールしなくてもプロジェクトは正常に実行できます**)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 以前のインストールコマンド。flash attention 2がサポートされました。
|
git clone https://github.com/Dao-AILab/flash-attention
|
||||||
# git clone -b v1.0.8 https://github.com/Dao-AILab/flash-attention
|
cd flash-attention && pip install .
|
||||||
# cd flash-attention && pip install .
|
|
||||||
pip install flash-attn --no-build-isolation
|
|
||||||
# 以下はオプションです。インストールに時間がかかる場合があります。
|
# 以下はオプションです。インストールに時間がかかる場合があります。
|
||||||
# pip install csrc/layer_norm
|
# pip install csrc/layer_norm
|
||||||
# pip install csrc/rotary
|
# pip install csrc/rotary
|
||||||
|
|||||||
Reference in New Issue
Block a user