balloonmann commited on
Commit
3867aa6
·
verified ·
1 Parent(s): a07db73

fix: clean script from any hidden characters

Browse files
scripts/hf_jobs_bootstrap_and_train.sh CHANGED
@@ -9,16 +9,18 @@ cd /app
9
  echo "==> 1/7 Verifying GPU"
10
  nvidia-smi
11
 
12
- echo "==> 2/7 Upgrading pip tooling"
13
- pip install --upgrade pip setuptools wheel
 
 
14
 
15
  echo "==> 3/7 Installing project package and dependencies"
16
- pip install -e .
17
- pip install -r requirements-training.txt
18
- pip install --no-deps unsloth==2025.11.1 unsloth_zoo==2025.11.2 mergekit==0.1.4
19
- pip install immutables scipy
20
- pip uninstall -y torchaudio || true
21
- pip check || true
22
 
23
  export BNB_CUDA_VERSION=124
24
 
 
9
  echo "==> 1/7 Verifying GPU"
10
  nvidia-smi
11
 
12
+ echo "==> 2/7 Setting up Virtual Environment"
13
+ python -m venv --system-site-packages /app/venv
14
+ source /app/venv/bin/activate
15
+ python -m pip install --upgrade pip setuptools wheel
16
 
17
  echo "==> 3/7 Installing project package and dependencies"
18
+ python -m pip install -e .
19
+ python -m pip install -r requirements-training.txt
20
+ python -m pip install --no-deps unsloth==2025.11.1 unsloth_zoo==2025.11.2 mergekit==0.1.4
21
+ python -m pip install immutables scipy
22
+ python -m pip uninstall -y torchaudio || true
23
+ python -m pip check || true
24
 
25
  export BNB_CUDA_VERSION=124
26