#!/bin/bash #SBATCH --job-name=r5_vlma_tptest2 #SBATCH --partition=ZEN4 #SBATCH --qos=nu-zen4 #SBATCH --gres=none #SBATCH --cpus-per-task=8 #SBATCH --mem=48G #SBATCH --time=01:30:00 #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out # R5 VLMA: CPU self-test of the J2-J9 test-pass machinery (tptest.py cpu) on VALIDATION data marked locked in scratch # registries, with scratch gate files and scratch folders under DATA/outputs/r5/vlma/tptest_cpu. No test manifest or # test image is opened; the real gate files and DATA/outputs/r5/testpass are not touched. set -u CODE=/path/to/TURKIC_OCR_CODE DATA=/path/to/TURKIC_OCR_DATA export HF_HUB_OFFLINE=1 TOKENIZERS_PARALLELISM=false unset HF_TOKEN HUGGING_FACE_HUB_TOKEN || true echo "job $SLURM_JOB_ID on $(hostname) start $(date -u +%FT%TZ)" $CODE/.venv_vlm/bin/python -I $CODE/scripts/r5_vlma/tptest.py cpu --out $DATA/outputs/r5/vlma/tptest_cpu echo "[tptest2] end $(date -u +%FT%TZ)"