What problem does it solve? Pretraining large language models from scratch across hundreds of GPUs requires coordinating complex parallelism strategies, memory optimization, and fault-tolerant checkpointing, which is difficult to configure correctly without deep distributed systems expertise. ## Core Features & Use Cases - 4D Parallelism Configuration: Compose FSDP2, Tensor Parallel, Pipeline Parallel, and Context Parallel strategies for models from 8B to 405B+ parameters across 8 to 512+ GPUs. - Float8 and torch.compile Optimization: Enable Float8 training with torchao and torch.compile for up to 48% throughput gains on H100 GPUs. - Distributed Checkpointing: Save, resume, reshard, and convert checkpoints between TorchTitan, HuggingFace, and torchtune formats using PyTorch Distributed Checkpoint. - Use Case: A research team wants to pretrain a Llama 3.1 70B model on 256 GPUs across 32 SLURM-managed nodes. This Skill provides the TOML configuration, SLURM script, parallelism degrees, and checkpoint resume workflow to launch and monitor the run. ## Quick Start Ask the AI to configure and launch a TorchTitan pretraining run for Llama 3.1 8B on 8 GPUs with a TOML config and checkpointing enabled.