File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -148,8 +148,11 @@ pip install -e .\[dev\]
148148
149149# Install flash-attn after all dependencies are installed
150150# Note: flash-attn will take a long time to compile, please be patient.
151- pip install flash-attn -v
152- # Try the following command if you encounter errors during installation
151+ # for bash
152+ pip install -e .[flash_attn]
153+ # for zsh
154+ pip install -e .\[ flash_attn\]
155+ # Try the following command if you encounter errors during flash-attn installation
153156# pip install flash-attn -v --no-build-isolation
154157```
155158
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ dependencies = [
2525 " ray[default]>=2.45.0" ,
2626 " vllm==0.9.1" ,
2727 " tensordict==0.6.2" ,
28- " flash-attn==2.8.0.post2" ,
2928 " wandb" ,
3029 " omegaconf" ,
3130 " sqlalchemy" ,
@@ -70,6 +69,10 @@ doc = [
7069 " myst-parser" ,
7170]
7271
72+ flash_attn = [
73+ " flash-attn==2.8.0.post2"
74+ ]
75+
7376[tool .setuptools .packages .find ]
7477where = [" ." ]
7578include = [" trinity*" ]
You can’t perform that action at this time.
0 commit comments