ctan-dev commited on
Commit
fdbf751
·
verified ·
1 Parent(s): d70b584

Update run_simpletuner.sh

Browse files
Files changed (1) hide show
  1. run_simpletuner.sh +9 -2
run_simpletuner.sh CHANGED
@@ -10,8 +10,15 @@ git clone https://github.com/bghira/SimpleTuner.git /workspace/SimpleTuner
10
  cd /workspace/SimpleTuner
11
 
12
  pip install uv
13
- uv pip install --system -r requirements.txt
14
- uv pip install --system peft bitsandbytes wandb huggingface_hub
 
 
 
 
 
 
 
15
 
16
  echo "Migrating configurations..."
17
  cp /data/config.env /workspace/SimpleTuner/config.env
 
10
  cd /workspace/SimpleTuner
11
 
12
  pip install uv
13
+
14
+ echo "Setting up Python 3.12 environment..."
15
+ uv python install 3.12
16
+ uv venv --python 3.12 /workspace/venv
17
+ source /workspace/venv/bin/activate
18
+
19
+ echo "Installing dependencies..."
20
+ uv pip install -e .
21
+ uv pip install peft bitsandbytes wandb huggingface_hub
22
 
23
  echo "Migrating configurations..."
24
  cp /data/config.env /workspace/SimpleTuner/config.env