What problem does it solve?
Training massive models across many GPUs often runs out of memory and requires complex setup for parameter sharding, mixed precision, and CPU offloading. This skill removes the need to manually configure PyTorch Fully Sharded Data Parallel (FSDP) and guides users through best‑practice setups.
Core Features & Use Cases
- Automatic FSDP configuration: Selects appropriate sharding level, mixed‑precision mode, and CPU offloading based on the model and hardware.
- Scalable multi‑node launches: Generates the correct torchrun command and environment variables for NCCL, Gloo, or other backends.
- Migration assistance: Helps move existing DDP or single‑GPU scripts to FSDP2 with minimal code changes.
- Use case example: A researcher wants to fine‑tune a 1.5B‑parameter transformer on a 4‑node, 8‑GPU‑per‑node cluster while keeping memory usage under 12 GB per GPU.
Quick Start
Ask the skill to set up and launch an FSDP training session for your model on the target cluster.