File size: 845 Bytes
24aaa76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#SBATCH --job-name=rel2_regen
#SBATCH --partition=ZEN4
#SBATCH --qos=nu-zen4
#SBATCH --gres=none
#SBATCH --cpus-per-task=16
#SBATCH --mem=64G
#SBATCH --time=05:00:00
#SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out
# RELEASE2 job B: regenerate the stage-1 generated pages behind every released row and check rows and bytes.
# REGEN_ARGS (optional) e.g. "--only-split val --only-lang kk --limit 8" for a smoke test; OUT_SUB names the output folder.
set -u
OUT=/path/to/TURKIC_OCR_DATA/tmp/release2/${OUT_SUB:-regen}
echo "start $(date -u +%FT%TZ) host $(hostname) cpus $SLURM_CPUS_PER_TASK args ${REGEN_ARGS:-none} out $OUT"
/path/to/TURKIC_OCR_CODE/.venv_gen/bin/python -I /path/to/TURKIC_OCR_CODE/scripts/release2/rel2_regen.py --out $OUT --workers $SLURM_CPUS_PER_TASK ${REGEN_ARGS:-}
echo "exit $? end $(date -u +%FT%TZ)"