Welcome to the advanced Apptainer (formerly Singularity) tutorial. This guide is designed for High Performance Computing (HPC) users, System Admins, and Data Scientists who want to leverage containers for reproducible research.
- Basic familiarity with Linux command line.
- Access to a system with Apptainer installed (or Singularity).
- Basic understanding of what a container is (e.g., Docker experience is helpful but not required).
-
- Understanding Apptainer architecture.
- Converting Docker containers.
- Interactive vs Batch execution.
-
- Building custom Python environments.
- Conda vs System packages.
- Best practices for image size.
-
- The anatomy of a
.deffile. %post,%environment,%runscript,%testsections.- Multi-stage builds.
- The anatomy of a
-
- Using NVIDIA GPUs (
--nv). - MPI Support and Bind Paths.
- Running on Slurm/PBS.
- Using NVIDIA GPUs (
-
- Setup for HuggingFace & NVIDIA.
- Cache management.
- Distributed training basics.
You will find hands-on exercises in the exercises/ directory. Each module will reference specific files there.