torchtitan
PyTorch-native platform for large-scale generative AI pretraining with FSDP2, 4D parallelism, and float8.
About
PyTorch's own answer to large-scale pretraining infrastructure, torchtitan demonstrates how the framework's native distributed features compose: FSDP2 with per-parameter sharding, tensor parallel including an async variant, pipeline parallel, and context parallel for sequences up to one million tokens, all stackable into 4D parallelism with torch.compile support. Float8 and MXFP8 training paths target recent NVIDIA hardware including Blackwell GPUs, while distributed checkpointing, activation checkpointing, and Flight Recorder debugging cover the production concerns. Reference configurations train Llama 3.1 at 8B, 70B, and 405B, supervised fine-tuning on chat-formatted datasets is supported, and the accompanying paper was accepted to ICLR 2025. Installation comes from stable pip or conda builds, though the newest features track PyTorch nightly. The BSD-3-Clause license permits commercial use. With around 5,600 GitHub stars and an AMD-optimized fork released in late 2025, it functions less as a wrapper over someone else's stack and more as the place where PyTorch itself develops pretraining best practice.
Reviews (0)
Leave a Review
No reviews yet. Be the first to review!
Details
- Category
- Model Training & Fine-Tuning
- Price
- Free
- Platform
- Local/Desktop
- Difficulty
- Advanced (4/5)
- License
- BSD-3-Clause
- Added
- Jul 29, 2026
Related Tools
Framework for generating synthetic data and AI feedback through composable LLM pipelines.
Subject-driven fine-tuning technique for personalizing diffusion models.
Video model fine-tuning toolkit by Hugging Face Diffusers team.
Efficient LLM quantization preserving important weight channels.
All-in-one Stable Diffusion fine-tuning tool with intuitive GUI.
No-code tool by Hugging Face for training ML models automatically.