↓ Skip to main content
  1. Talks & Workshops/

Running PyTorch Training Jobs on HPC

Will Paik
Author
Will Paik
I optimize large-scale GPU clusters for AI/ML workloads. Outside of work, I build a mini-supercomputer from consumer hardware and document every step of it here.
Table of Contents

Date: November 10, 2026
Venue: Northeastern University, Boston, MA

Overview
#

A workshop for university researchers who want to train PyTorch models on Northeastern’s Explorer cluster. It walks through picking a GPU, getting a PyTorch build that works with the cluster’s drivers, and turning a Jupyter Notebook script into a Slurm batch job, with numbers from real training runs on Explorer’s GPU nodes.

I developed the session materials, the sample code, and the shared PyTorch container for this workshop.

The session was presented by a colleague on the Research Computing team.

Topics Covered
#

  • Choosing a GPU on Explorer (T4, V100, A100, H200) and estimating how much GPU memory a model needs
  • Why the default pip install torch fails on Explorer, and the PyTorch build that works on every GPU type
  • Setting up PyTorch with conda, or using an Apptainer container
  • Interactive development with JupyterLab on Open OnDemand
  • Turning a notebook into a script and a Slurm batch job
  • Downloading data outside the GPU job and choosing --cpus-per-task
  • Working within the 8-hour time limit with checkpoints
  • Checking finished jobs with seff and gpu-logs

Materials
#