Abstract
The Alps supercomputer at the Swiss National Supercomputing Centre (CSCS) features over 10,000 NVIDIA GH200 GPUs, yet traditional High-Performance Computing (HPC) architectures often conflict with modern Machine Learning (ML) workflows. This paper outlines a suite of infrastructure upgrades—including containerized environments, pre-flight node health checks, a hybrid Kubernetes service plane, and ML-optimized storage—designed to bridge the gap between classic supercomputing and the fast-paced AI ecosystem.
Introduction: The HPC-ML Culture Clash
Traditional HPC systems are historically optimized for massive, tightly coupled simulations using batch schedulers like Slurm, bare-metal environments, and parallel file systems like Lustre. In contrast, the modern ML community, exemplified by the Swiss AI Initiative, expects cloud-native, containerized environments and persistent supporting services.
Critical friction points identified include:
- Knowledge Gaps: ML researchers often struggle with complex HPC batch schedulers and low-level performance engineering.
- Workload Diversity: Beyond training, ML requires persistent services for experiment tracking (e.g., MLflow), data pipelines, and inference.
- Silent Inefficiencies: Degraded hardware can bottleneck large-scale distributed training in ways that are difficult for users to diagnose.
- Storage Mismatches: Parallel file systems designed for large sequential writes struggle with the high-IOPS, random-read patterns of ML data loading.
Methods: Bridging the Infrastructure Gap
To adapt the Alps supercomputer, the authors implemented several modular technological components:
Container-First Environments
Users define environments via simple TOML-based Environment Definition Files (EDF). The system automatically injects necessary hooks for native GPU, network, and storage performance into standard OCI containers, removing the need for complex HPC module systems.
Node Vetting and Early Abort System
To prevent "sick" nodes from wasting massive compute allocations, a pre-flight diagnostic tool was developed. Before a job begins, a YAML-defined protocol executes rapid tests on allocated nodes to check for issues like thermal throttling or network congestion.
Hybrid Kubernetes Service Plane
A dedicated Kubernetes (RKE2) cluster bridges virtual machines and HPC nodes. This allows users to deploy persistent MLOps tools and inference services using standard GitOps practices alongside heavy compute jobs.
Tiered ML Storage
The architecture incorporates object storage (Ceph) for unstructured data, promotes compressed formats (SquashFS) for container-native I/O, and utilizes local NVMe for high-IOPS requirements.
Key Insights: Utilization vs. Saturation
A primary insight is the distinction between GPU utilization and saturation. Standard tools like nvidia-smi often report 100% utilization simply because a GPU is active, leading users to believe their code is fully optimized. The authors developed a GPU Saturation Scorer using NVIDIA’s Data Center GPU Manager (DCGM) to measure actual computational load across compute, memory, and NVLink pipes.
Results and Future Work
The proposed architecture has been qualitatively validated on the Alps infrastructure (10,752 GH200 GPUs). Key results include:
- Observability: A web-based UI now maps Slurm job ranks to physical network topology, enabling users to identify stragglers in large-scale training.
- Storage Validation: Tests confirmed that while asynchronous checkpointing is faster, it still impacts throughput on shared Lustre systems, reinforcing the need for tiered storage.
- Hybrid Deployment: Successful deployment of a hybrid Kubernetes architecture using Cilium network policies to bridge commodity VMs with high-end HPC nodes.
Future work focuses on extending the saturation scorer to AMD hardware and implementing automated, adaptive storage tiering based on real-time workload profiling.
Summary updated