carlex3321 commited on
Commit
ac90475
·
verified ·
1 Parent(s): f886508

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +7 -0
start.sh CHANGED
@@ -32,6 +32,13 @@ export NCCL_BLOCKING_WAIT=1
32
  export TORCH_NCCL_BLOCKING_WAIT=1
33
  export NCCL_TIMEOUT=600
34
 
 
 
 
 
 
 
 
35
  # ---------------------- Persistência HF/torch ----------------------
36
  if [ -d /data ]; then
37
  export HF_HOME="/data/.cache/huggingface"
 
32
  export TORCH_NCCL_BLOCKING_WAIT=1
33
  export NCCL_TIMEOUT=600
34
 
35
+
36
+ git clone https://github.com/Dao-AILab/flash-attention
37
+ cd flash-attention/csrc/layer_norm && MAX_JOBS=4 pip install .
38
+
39
+ cd /app
40
+
41
+
42
  # ---------------------- Persistência HF/torch ----------------------
43
  if [ -d /data ]; then
44
  export HF_HOME="/data/.cache/huggingface"