Download code/slurm/cpu.sh from bryan7264/lorapop: direct link, hf CLI and curl.
- Browser
- Download file 539 Bytes
-
https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/slurm/cpu.sh
- Command line
-
hf download hf://datasets/bryan7264/lorapop/code/slurm/cpu.sh
-
curl -L -o cpu.sh https://huggingface.co/datasets/bryan7264/lorapop/resolve/main/code/slurm/cpu.sh
539 Bytes
| #SBATCH -p devel | |
| #SBATCH -c 4 | |
| #SBATCH --mem=48G | |
| #SBATCH -t 03:00:00 | |
| #SBATCH -o /home/bjc75/other/finetuning/logs/%x_%j.out | |
| # MIT License, Bryan Cheng, 2026. Generic CPU runner: sbatch -J name [-p ...] slurm/gpu.sh script.py [args] | |
| cd /home/bjc75/other/finetuning | |
| export PYTHONUNBUFFERED=1 OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK:-6} TOKENIZERS_PARALLELISM=false | |
| export HF_HOME=/nfs/roberts/scratch/pi_skr2/bjc75/finetuning/hf_home HF_HUB_ENABLE_HF_TRANSFER=1 | |
| /nfs/roberts/project/pi_skr2/bjc75/conda_envs/lorapop/bin/python "$@" | |