File size: 1,029 Bytes
24aaa76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
#SBATCH --job-name=r5_line_block
#SBATCH --partition=H100
#SBATCH --qos=nu-h100
#SBATCH --gres=gpu:h100:1
#SBATCH --cpus-per-task=32
#SBATCH --mem=160G
#SBATCH --time=06:30:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# Stage LINEDET, round R5, amendment 3.3: the line block (D3 second seed of A1 and A2, D6 SR1-H06) and the four reference runs of stage REF
# (clarification H2), as concurrent processes of one driver. Stop: the earlier of 23 Nov 18:20 UTC (file) and the job start plus 6 h 10 min.
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/driver_logs_line_block
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_block.json --status $LD/driver_status_line_block.json \
   --logdir $LD/driver_logs_line_block --max_seconds 22200
echo "driver ended $(date -u)"