What problem does it solve? Training large models exhausts single-GPU memory, and configuring PyTorch FSDP correctly (sharding strategies, mixed precision, CPU offloading, process groups) is error-prone. This Skill provides expert guidance and official documentation references for implementing distributed training with FSDP and FSDP2. ## Core Features & Use Cases - FSDP2 fully_shard Guidance: Explains the fully_shard API, DTensor-based per-parameter sharding, bottom-up application, and migration from FSDP1. - Distributed Communication Reference: Covers torch.distributed backends (NCCL, Gloo, MPI), process group initialization, and collective operations. - Advanced Patterns: Documents the Join context manager for uneven inputs, mixed precision, CPU offloading, and HSDP with 2D device meshes. - Use Case: When sharding a multi-billion-parameter transformer across 8 GPUs, use this Skill to correctly apply fully_shard layer-by-layer, configure the device mesh, and set up mixed precision. ## Quick Start Ask how to shard a PyTorch transformer model across multiple GPUs using FSDP2 fully_shard with mixed precision.