Spaces:
Paused
Paused
Update start.sh
Browse files
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"
|