What problem does it solve? Scaling PyTorch training from a single GPU to multi-GPU or multi-node clusters normally requires rewriting training loops for each distributed backend. This Skill shows how to add distributed support with four lines of code using HuggingFace Accelerate, covering device placement, mixed precision, and sharding automatically. ## Core Features & Use Cases - Unified Distributed API: One code path works across DDP, DeepSpeed ZeRO, FSDP, and Megatron-LM without rewriting the training loop. - Mixed Precision Training: Enable FP16, BF16, or FP8 with automatic gradient scaling and device placement. - Interactive Configuration: Use accelerate config and a single accelerate launch command for single-GPU, multi-GPU, or multi-node runs. - Use Case: You have a single-GPU training script that now needs to run on 8 GPUs with BF16. Add the Accelerator, call prepare() on your model, optimizer, and dataloader, replace loss.backward() with accelerator.backward(loss), 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 and show me the launch command.