Checkpointing and Restarting Computational Workflows Workshop
NOTE: This is an in-person session on campus.
Checkpointing and Restarting Computational Workflows (in-person)
Description: In-person training on checkpointing and restarting computational workflows on FASRC clusters. This workshop will introduce general checkpointing strategies and demonstrate practical techniques for Python, C/C++, and Fortran applications, as well as AI and machine-learning workflows using PyTorch, TensorFlow/Keras, and JAX.
Participants will learn how to make long-running jobs resilient to failures, Slurm time limits, preemption, and planned requeue events. Hands-on exercises will cover saving and restoring application state, writing requeue-aware Slurm jobs, handling termination signals, and creating robust checkpoints for machine-learning training.
Note: This is an in-person session. It will not be available via Zoom and will not be recorded.
Level: Intermediate
Time: 11am - 3pm
Location: TBD (Northwest Labs vicinity)
Presenters: Plamen Krastev
Who can attend this workshop: Anyone with a FASRC cluster account. An active cluster account is required to participate in the hands-on exercises.
What you will learn:
-
Why checkpointing is important for long-running and failure-prone computational workloads
-
General checkpointing approaches, design patterns, and restart granularity
-
How to create checkpoint-and-restart workflows in Python, C/C++, and Fortran
-
How to write requeue-aware Slurm jobs on the Cannon cluster
-
How to handle Slurm signals and exit gracefully before a job reaches its time limit
-
How to checkpoint AI/ML workflows using PyTorch, TensorFlow/Keras, Lightning, and JAX
-
How to save and restore model parameters, optimizer state, training progress, and random-number-generator state
-
Strategies for distributed and large-scale ML checkpointing, including rank-0 and sharded checkpoints
-
Best practices for reliable, portable, and storage-efficient checkpoints
Prerequisites:
-
A FASRC cluster account. If you do not have an account, see
Request a FAS Research Computing Account well in advance. See prerequisite 2 and 3. -
Previous experience submitting batch jobs on a FASRC cluster.
-
Basic familiarity with Slurm job scripts.
-
Basic programming experience in Python, C/C++, or Fortran. Participants interested in the AI/ML examples should have basic familiarity with at least one supported machine-learning framework.
Registration: * Registration Link Pending *



