Download scripts/r5_linedet/line_block.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/line_block.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_linedet/line_block.sbatch
-
curl -L -o line_block.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/line_block.sbatch
1.03 kB
| #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)" | |