Distributed Llm Pretraining Torchtitan
Distributed LLM pretraining toolkit with 4D parallelism, Float8, and distributed checkpointing for large-scale training.
- CCM score
- 61 of 100
- skills.sh installs
- 1.1K
- GitHub stars
- 14.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers single-node and multi-node pretraining workflows for Llama 3.1, DeepSeek V3, and custom models using TOML configs
- Includes composable parallelism across FSDP2, tensor, pipeline, and context dimensions, plus torch.compile and activation checkpointing options
- Requires a seed checkpoint before pipeline-parallel runs so initialization stays consistent across PP stages
- Designed for teams pretraining from scratch on H100-class GPUs that need PyTorch-native tooling rather than Megatron-LM or DeepSpeed
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill distributed-llm-pretraining-torchtitan -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
TorchTitan - PyTorch Native Distributed LLM Pretraining
Quick start
TorchTitan is PyTorch's official platform for large-scale LLM pretraining with composable 4D parallelism (FSDP2, TP, PP, CP), achieving 65%+ speedups over baselines on H100 GPUs.
Installation:
# From PyPI (stable)
pip install torchtitan
# From source (latest features, requires PyTorch nightly)
git clone https://github.com/pytorch/torchtitan
cd torchtitan
pip install -r requirements.txt
Download tokenizer:
# Get HF token from https://huggingface.co/settings/tokens
python scripts/download_hf_assets.py --repo_id meta-llama/Llama-3.1-8B --assets tokenizer --hf_token=...
Start training on 8 GPUs:
CONFIG_FILE="./torchtitan/models/llama3/train_configs/llama3_8b.toml" ./run_train.sh
Common workflows
Workflow 1: Pretrain Llama 3.1 8B on single node
Copy this checklist:
Single Node Pretraining:
- [ ] Step 1: Download tokenizer
- [ ] Step 2: Configure training
- [ ] Step 3: Launch training
- [ ] Step 4: Monitor and checkpoint
Step 1: Download tokenizer
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Categories
- AI Agents & LLM Apps, Data Science & Analytics, Python
- First seen
- Jun 3, 2026
Questions
What is distributed-llm-pretraining-torchtitan?
distributed-llm-pretraining-torchtitan is an agent skill listed on Claude Marketplaces in the AI Agents & LLM Apps category. The listing describes distributed-llm-pretraining-torchtitan like this: Provides PyTorch-native distributed LLM pretraining using torchtitan with 4D parallelism (FSDP2, TP, PP, CP).
How do I install distributed-llm-pretraining-torchtitan?
Run npx -y skills add orchestra-research/ai-research-skills --skill distributed-llm-pretraining-torchtitan -y in a project to install distributed-llm-pretraining-torchtitan. After that, the agent can use distributed-llm-pretraining-torchtitan in that project.
Which category is distributed-llm-pretraining-torchtitan in?
distributed-llm-pretraining-torchtitan is in the AI Agents & LLM Apps category on Claude Marketplaces. Other listings in that category next to distributed-llm-pretraining-torchtitan include microsoft-foundry, azure-ai and google-agents-cli-adk-code.
Where is the source code of distributed-llm-pretraining-torchtitan?
The source code of distributed-llm-pretraining-torchtitan is on GitHub at https://github.com/orchestra-research/ai-research-skills. The orchestra-research account on GitHub publishes distributed-llm-pretraining-torchtitan.
More from orchestra-research/ai-research-skills
All 92- Mamba Architecture1.1K
- Openrlhf Training1.1K
- Sparse Autoencoder Training1.1K
- Llamaindex1.1K
- Ml Training Recipes1.1K
- Outlines1.1K
- Simpo Training1.1K
- Slime Rl Training1.1K
- Training Llms Megatron1.1K
- Guidance1.1K
- Nnsight Remote Interpretability1.1K
- Rwkv Architecture1.1K
- Implementing Llms Litgpt1.1K
- Llamaguard1.1K
- Nemo Guardrails1.1K
- Llava1.1K
- Blip 2 Vision Language1.1K
- Miles Rl Training1.1K
- Nemo Evaluator Sdk1.1K
- Torchforge Rl Training1.1K
- Autogpt Agents1.1K
- Constitutional Ai1.1K
- Pinecone1.1K
- Skypilot Multi Cloud Orchestration1.1K
Similar to Distributed Llm Pretraining Torchtitan
More AI Agents & LLM Appstraining-llms-megatronorchestra-research/ai-research-skills1.1K installsLarge-scale LLM training framework with 3D, MoE, and FP8 parallelism for models from 2B to 462B parameters.
implementing-llms-litgptorchestra-research/ai-research-skills1.1K installsUse when need clean model implementations, educational understanding of architectures, or production fine-tuning with LoRA/QLoRA.
llmmindrally/skills767 installsBroad LLM development guidance covering architecture, fine-tuning, distributed training, evaluation, and deployment.
nanochat-llm-trainingreason-machines/trending-skills1.3K installsTrain a GPT-2-class LLM for about $48 with nanochat's minimal, hackable end-to-end harness.
llm-fine-tuning-guideqodex-ai/ai-agent-skills198 installsPractical guide to fine-tuning LLMs covering full tuning, LoRA, QLoRA, and domain-specific data preparation.
pytorch-fsdpdavila7/claude-code-templates395 installsExpert guidance for PyTorch FSDP training covering parameter sharding, mixed precision, CPU offloading, and FSDP2.