Train models too large for one GPU with PyTorch.
Adds distributed sharding and checkpointing to PyTorch training scripts so large models can train across GPUs.
When to use it
Use when a model exceeds one GPU's memory or needs DTensor-based sharding, including composition with tensor parallelism through DeviceMesh.
Give it a training script to adapt; it adds FSDP2 initialization, sharding, optimizer setup, and distributed checkpointing.
What you provide
Requires the torch package.
The training setup requires distinct CUDA GPUs for the distributed ranks.
No additional actions listed.