euIaxs22 commited on
Commit
d74a69a
·
verified ·
1 Parent(s): a8bf6a2

Update builder.sh

Browse files
Files changed (1) hide show
  1. builder.sh +3 -8
builder.sh CHANGED
@@ -4,14 +4,9 @@ set -euo pipefail
4
  echo "🚀 Builder (FlashAttn LayerNorm extra + Apex + Q8) — runtime com GPU visível"
5
 
6
  # ===== Config e diretórios =====
7
- export SELF_HF_REPO_ID="${SELF_HF_REPO_ID:-euIaxs22/Aduc-sdr}" # Repo no HF para wheels
8
- export HF_HOME="${HF_HOME:-/app/model_cache}"
9
- export HF_HUB_CACHE="${HF_HUB_CACHE:-$HF_HOME/hub}"
10
- export TORCH_HOME="${TORCH_HOME:-$HF_HOME/torch}"
11
- export HF_HUB_ENABLE_HF_TRANSFER="${HF_HUB_ENABLE_HF_TRANSFER:-1}"
12
- export PATH="$HOME/.local/bin:$PATH"
13
-
14
- mkdir -p /app/wheels /app/cuda_cache "$HF_HOME" "$TORCH_HOME" /app/wheels/src
15
  chmod -R 777 /app/wheels || true
16
  export CUDA_CACHE_PATH="/app/cuda_cache"
17
 
 
4
  echo "🚀 Builder (FlashAttn LayerNorm extra + Apex + Q8) — runtime com GPU visível"
5
 
6
  # ===== Config e diretórios =====
7
+
8
+
9
+ mkdir -p /app/wheels /app/cuda_cache /app/wheels/src
 
 
 
 
 
10
  chmod -R 777 /app/wheels || true
11
  export CUDA_CACHE_PATH="/app/cuda_cache"
12