What problem does it solve?
This Skill eliminates the complexity of manually configuring and orchestrating large-scale distributed LLM pretraining workflows across multi-node GPU clusters, reducing setup time and configuration errors for training runs ranging from 8B to 405B+ parameter models.
Core Features & Use Cases
- Composable 4D Parallelism: Supports FSDP2, tensor parallelism, pipeline parallelism, and context parallelism for flexible scaling across 8 to 512+ GPUs.
- Performance Optimizations: Includes Float8 quantization for H100 GPUs, torch.compile integration, and distributed checkpointing for 30-50% training speedups.
- Supported Workflows: Covers single-node pretraining, multi-node SLURM job submission, custom model integration, and checkpoint interoperability with HuggingFace and TorchTune.
- Use Case: A machine learning engineer can use this Skill to quickly launch a pretraining run for a Llama 3.1 70B model across 256 GPUs with the correct parallelism configuration and Float8 acceleration, without manually writing hundreds of lines of distributed training boilerplate.
Quick Start
Use the torchtitan skill to configure and launch distributed pretraining of a Llama 3.1 8B model across 8 GPUs with FSDP parallelism and Float8 acceleration.