What problem does it solve? Scaling PyTorch training from a single GPU to multi-GPU or multi-node clusters normally requires rewriting code for DDP, DeepSpeed, FSDP, or Megatron, plus manual device placement and mixed precision handling. This Skill provides a unified API that handles all of that automatically. ## Core Features & Use Cases - Minimal Code Changes: Convert any PyTorch training loop to distributed training by adding just 4 lines using the Accelerator class. - Unified Backend Support: Run the same script on DDP, DeepSpeed ZeRO, FSDP, or Megatron-LM with interactive configuration via accelerate config. - Mixed Precision & Memory Optimization: Enable FP16, BF16, or FP8 training, gradient accumulation, and CPU/NVMe offloading with simple flags. - Use Case: You have a single-GPU training script for a transformer model and need to scale it across 8 GPUs with BF16 mixed precision. Add the Accelerator, call prepare() on your model, optimizer, and dataloader, then launch with accelerate launch --multi_gpu --num_processes 8 train.py. ## Quick Start Convert my PyTorch training script to run on multiple GPUs using HuggingFace Accelerate with BF16 mixed precision.