Free · 3 scripts + README · .sbatch, Markdown

SLURM Starter Scripts for ML Research

Ready-to-edit SLURM scripts for the three jobs you'll run most: one training run, the same run across many seeds, and one run across several GPUs with torchrun. Includes the workflow, useful commands, good habits, and a table of common errors.

What's inside

  • single_gpu.sbatch: one training run on one GPU
  • job_array.sbatch: the same job across seeds or configs, in parallel
  • multi_gpu.sbatch: single-node multi-GPU training with torchrun
  • A cheat sheet of workflow, commands, habits, and common errors