Training Llms Megatron
Large-scale LLM training framework with 3D, MoE, and FP8 parallelism for models from 2B to 462B parameters.
- CCM score
- 60 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 LLaMA-style dense training and sparse Mixture of Experts training across multi-node GPU clusters
- Includes parallelism sizing tables by model size, launch scripts for single-node and SLURM runs, and throughput tuning steps
- Provides common-issue fixes for low MFU, out-of-memory errors, pipeline bubbles, and diverging loss
- Designed for teams training models above 1B parameters on NVIDIA A100 or H100 GPUs
Install
$ npx -y skills add orchestra-research/ai-research-skills --skill training-llms-megatron -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Megatron-Core - Large-Scale LLM Training
Quick start
Megatron-Core trains LLMs from 2B to 462B parameters with up to 47% Model FLOP Utilization on H100 GPUs through advanced parallelism strategies.
Installation:
# Docker (recommended)
docker run --gpus all -it --rm nvcr.io/nvidia/pytorch:25.04-py3
# Or pip
pip install megatron-core
Simple distributed training:
# Train with 2 GPUs using data parallelism
torchrun --nproc_per_node=2 examples/run_simple_mcore_train_loop.py
# Or LLaMA-3 8B training
./examples/llama/train_llama3_8b_fp8.sh
Common workflows
Workflow 1: Train LLaMA-style model with 3D parallelism
Copy this checklist:
LLaMA Training Setup:
- [ ] Step 1: Choose parallelism configuration
- [ ] Step 2: Configure training hyperparameters
- [ ] Step 3: Launch distributed training
- [ ] Step 4: Monitor performance metrics
Step 1: Choose parallelism configuration
Model size determines parallelism strategy:
Details
- Repository
- github.com/orchestra-research/ai-research-skills
- Categories
- AI Agents & LLM Apps, Data Science & Analytics
- First seen
- Jun 3, 2026
Questions
What does the training-llms-megatron skill do?
It trains large language models from about 2B to 462B parameters using NVIDIA Megatron-Core with tensor, pipeline, sequence, context and expert parallelism. It is aimed at models above 1B parameters where maximum GPU efficiency matters, and it is used for Nemotron, LLaMA and DeepSeek training.
How do I install the training-llms-megatron skill?
Run npx -y skills add orchestra-research/ai-research-skills --skill training-llms-megatron -y in your project. That installs the skill so your agent can use Megatron-Core training guidance.
Which skills lead the category for training-llms-megatron?
This skill sits in the AI Agents & LLM Apps category on Claude Marketplaces, where microsoft-foundry, azure-ai and the google-agents-cli skills are listed among the other top skills. This skill focuses on distributed LLM pretraining with Megatron-Core parallelism, which those skills do not cover.
What hardware and software does training-llms-megatron need?
The skill assumes NVIDIA GPUs such as H100 or A100 and lists megatron-core, torch, apex and transformer-engine as dependencies. It recommends the NVIDIA PyTorch Docker image or a pip install of megatron-core.
More from orchestra-research/ai-research-skills
All 92- 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
- Systems Paper Writing1.1K
- Langsmith Observability1.1K
- Phoenix Observability1.1K
- Lambda Labs Gpu Cloud1.1K
- Experiment Tracking Swanlab1K
- Fine Tuning Openvla Oft1K
- Fine Tuning Serving Openpi1K
- Evaluating Cosmos Policy1K
- Evolving Ai Agents986
Similar to Training Llms Megatron
More AI Agents & LLM Appsdistributed-llm-pretraining-torchtitanorchestra-research/ai-research-skills1.1K installsDistributed LLM pretraining toolkit with 4D parallelism, Float8, and distributed checkpointing for large-scale training.
miles-rl-trainingorchestra-research/ai-research-skills1.1K installsEnterprise RL training framework for large MoE models using FP8/INT4 precision, train-inference alignment, and speculative rollouts.
llmmindrally/skills767 installsBroad LLM development guidance covering architecture, fine-tuning, distributed training, evaluation, and deployment.
nemo-mbridge-perf-moe-vlm-trainingnvidia/skills1.9K installsPractical guide for training MoE vision-language models in Megatron Bridge, comparing FSDP and 3D-parallel setups.
fine-tuning-expertjeffallan/claude-skills4.7K installsGuided fine-tuning expert for LoRA, QLoRA, PEFT adapters, dataset prep, hyperparameters, and deployment of LLMs.
nemo-mbridge-perf-moe-long-contextnvidia/skills1.8K installsLong-context MoE training guidance for Megatron Bridge covering context-parallel sizing, selective recompute, and dispatcher choices.