Upload root_scripts/resume_fullft_math_f.sh with huggingface_hub
Browse files
root_scripts/resume_fullft_math_f.sh
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
cd /workspace/rl4phyx/RL4Phyx/SFT
|
| 3 |
+
export CUDA_VISIBLE_DEVICES=1,2,3,6
|
| 4 |
+
export PYTHONUNBUFFERED=1
|
| 5 |
+
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
| 6 |
+
LOG="/workspace/rl4phyx/logs/train_fullft_math_f_resume_${TIMESTAMP}.log"
|
| 7 |
+
echo "Resuming fullft_math_f (GPUs 1,2,3,6) at $(date)" > "$LOG"
|
| 8 |
+
torchrun --nproc_per_node=4 --master_port=29500 train_sft_math_fullft_freeze.py >> "$LOG" 2>&1
|
| 9 |
+
echo "TRAINING_COMPLETE at $(date)" >> "$LOG"
|