Download slurm/cpu_array.sbatch.in from velvet-pine-22/PULSE-code: direct link, hf CLI and curl.
- Browser
- Download file 825 Bytes
-
https://huggingface.co/velvet-pine-22/PULSE-code/resolve/main/slurm/cpu_array.sbatch.in
- Command line
-
hf download hf://velvet-pine-22/PULSE-code/slurm/cpu_array.sbatch.in
-
curl -L -o cpu_array.sbatch.in https://huggingface.co/velvet-pine-22/PULSE-code/resolve/main/slurm/cpu_array.sbatch.in
825 Bytes
| # Generated by scripts/run_table.py from slurm/cpu_array.sbatch.in (CPU-only runs: | |
| # smoke tests, data checks, CPU analyses). No GPU is requested. | |
| #SBATCH --job-name=@@JOB_NAME@@ | |
| #SBATCH --partition=@@PARTITION@@ | |
| #SBATCH --account=@@ACCOUNT@@ | |
| #SBATCH --nodes=1 | |
| #SBATCH --ntasks=1 | |
| #SBATCH --cpus-per-task=@@CPUS@@ | |
| #SBATCH --mem=@@MEM@@ | |
| #SBATCH --time=@@TIME@@ | |
| #SBATCH --array=0-@@LAST_INDEX@@%@@THROTTLE@@ | |
| @@SBATCH_EXTRA@@ | |
| #SBATCH --output=@@LOG_DIR@@/%x_%A_%a.out | |
| #SBATCH --error=@@LOG_DIR@@/%x_%A_%a.out | |
| set -euo pipefail | |
| ulimit -n 51200 | |
| cd "@@REPO_DIR@@" | |
| export PULSE_ROOT="@@PULSE_ROOT@@" | |
| @@EXTRA_ENV@@ | |
| export PYTHONUNBUFFERED=1 | |
| export CUDA_VISIBLE_DEVICES="" | |
| CMD=$(sed -n "$((SLURM_ARRAY_TASK_ID + 1))p" "@@COMMANDS@@") | |
| echo "[$(date -Is)] host $(hostname) task ${SLURM_ARRAY_TASK_ID}: ${CMD}" | |
| eval "${CMD}" | |