mattbitzesty commited on
Commit
fcd092c
·
unverified ·
1 Parent(s): 4ed3b26

fix(hf_job): install full dependencies instead of --no-deps

Browse files

CUDA torch is installed first, then pip install -e . pulls numpy, scipy,
rdkit and other runtime dependencies without clobbering the GPU torch.

Files changed (1) hide show
  1. hf_job.yaml +3 -1
hf_job.yaml CHANGED
@@ -11,8 +11,10 @@ cmd:
11
  echo "Cloning pino source repository..."
12
  git clone https://user:${HF_TOKEN}@huggingface.co/mattbitzesty/pino-source-code /workspace/pino
13
  cd /workspace/pino
14
- pip install -e . --no-deps
15
  pip install torch --index-url https://download.pytorch.org/whl/cu121
 
 
16
  echo "Starting 5-epoch training job..."
17
  python scripts/hf_train_job.py
18
  flavor: t4-small
 
11
  echo "Cloning pino source repository..."
12
  git clone https://user:${HF_TOKEN}@huggingface.co/mattbitzesty/pino-source-code /workspace/pino
13
  cd /workspace/pino
14
+ echo "Installing CUDA torch first..."
15
  pip install torch --index-url https://download.pytorch.org/whl/cu121
16
+ echo "Installing pino package and dependencies..."
17
+ pip install -e .
18
  echo "Starting 5-epoch training job..."
19
  python scripts/hf_train_job.py
20
  flavor: t4-small