Skip to content

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

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

Installs 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

Similar to Training Llms Megatron

More AI Agents & LLM Apps