Skip to content
orchestra-research avatar

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
View on GitHub

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 -y

Installs 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

Similar to Distributed Llm Pretraining Torchtitan

More AI Agents & LLM Apps