File size: 1,279 Bytes
24aaa76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
#SBATCH --job-name=r5_line_ext_L
#SBATCH --partition=H100
#SBATCH --qos=nu-h100
#SBATCH --gres=gpu:h100:1
#SBATCH --cpus-per-task=32
#SBATCH --mem=160G
#SBATCH --time=03:00:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# Amendment 3.4 E5: A1 and A2 (seed 1) continue from their P_long checkpoints to 2 x P_long = 3,168,768 samples (frozen seed-1 sample stream, warm restart with a
# time-aware cosine, peak 2.5e-4, see status.json), then validation predictions, LM decoding and gating for the checkpoint long2x. If the target is not reached in
# the time of this job the training anneals by the clock and stops with a saved checkpoint; the samples reached are in the log and in the checkpoint file.
# Slot L chain: 50971 -> 51128 -> 52050 -> this job -> 51277.
CODE=/path/to/TURKIC_OCR_CODE
DATA=/path/to/TURKIC_OCR_DATA
unset HF_TOKEN HUGGING_FACE_HUB_TOKEN
LD=$DATA/outputs/r5/linedet
mkdir -p $LD/ext_driver_logs
echo "job $SLURM_JOB_ID on $(hostname) started $(date -u)"
export OMP_NUM_THREADS=4 MKL_NUM_THREADS=4 PYTHONUNBUFFERED=1
$CODE/.venv_kraken/bin/python -I -m linedet.driver --tasks $LD/tasks_line_ext.json --status $LD/driver_status_line_ext.json --logdir $LD/ext_driver_logs --max_seconds 10200 --grace 300
echo "driver ended $(date -u)"