Accelerate your model training with managed tiered checkpointing on Amazon SageMaker HyperPod
AWS•Blog post••by Paulo Aragão, Kunal Jha, Mandar Kulkarni, Vivek Maran and Vinay Devadiga•AWS Artificial Intelligence Blog
AWS announced managed tiered checkpointing in Amazon SageMaker HyperPod, a purpose-built infrastructure to scale and accelerate generative AI model development across thousands of AI accelerators. Managed tiered checkpointing uses CPU memory for high-performance checkpoint storage with automatic data replication across adjacent compute nodes for enhanced reliability. In this post, we dive deep into those concepts and understand how to use the managed tiered checkpointing feature.
SageMaker HyperPod now offers managed tiered checkpointing that keeps checkpoints in CPU memory across nodes and copies them periodically to Amazon S3.
Who it is for
Teams training large models on SageMaker HyperPod EKS clusters that want faster checkpoint recovery without higher storage cost.
Key points
Enable with the tiered-storage-config Mode setting at cluster creation or via UpdateCluster.
Integrates with PyTorch Distributed Checkpointing through the sagemaker-checkpointing library and a few lines of code.
Supported only on SageMaker HyperPod on Amazon EKS; AWS says there is no extra charge for the feature.
AWS says it was tested on clusters from hundreds to over 15,000 GPUs, with checkpoints saved within seconds.
AI:Both speed up checkpoint writes for model training, but AWS uses managed tiered checkpointing in CPU memory while Google uses a faster storage bucket type.
Timeline
Posts about Amazon SageMaker HyperPod, oldest first.
AI:NVRx adds async checkpointing and two restart layers to PyTorch FSDP training on EKS, so checkpoint I/O overlaps training and GPU faults recover in seconds.
AI:SageMaker AI Training Plans can now reserve GPU capacity for inference endpoints, alongside several inference improvements: Multi-AZ inference components, parallel scaling, EAGLE-3 speculative decoding, and dynamic LoRA adapter loading.