Download scripts/r5_linedet/timing_cpu.sbatch from treoa/turkic-ocr-code: direct link, hf CLI and curl.
- Browser
- Download file 610 Bytes
-
https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/timing_cpu.sbatch
- Command line
-
hf download hf://treoa/turkic-ocr-code/scripts/r5_linedet/timing_cpu.sbatch
-
curl -L -o timing_cpu.sbatch https://huggingface.co/treoa/turkic-ocr-code/resolve/main/scripts/r5_linedet/timing_cpu.sbatch
610 Bytes
| #SBATCH --job-name=r5_ld_cputime | |
| #SBATCH --partition=ZEN4 | |
| #SBATCH --qos=nu-zen4 | |
| #SBATCH --gres=none | |
| #SBATCH --cpus-per-task=16 | |
| #SBATCH --mem=32G | |
| #SBATCH --time=01:00:00 | |
| #SBATCH --output=/path/to/TURKIC_OCR_DATA/logs/%x_%j.out | |
| # Lines per second of A1, A2, A3 on 16 ZEN4 CPU threads (random weights; speed does not depend on them). | |
| CODE=/path/to/TURKIC_OCR_CODE | |
| unset HF_TOKEN HUGGING_FACE_HUB_TOKEN | |
| export OMP_NUM_THREADS=16 MKL_NUM_THREADS=16 | |
| hostname; nproc; uptime | |
| for ARM in A1 A2 A3; do | |
| $CODE/.venv_kraken/bin/python -I -m linedet.timing --arm $ARM --device cpu --threads 16 --iters 60 | |
| done | |