LabscoMCP early access ↗
Orchestra-Research avatar✓ Official

training-llms-megatron

Local tool required★ 13k on GitHub
part of orchestra-research/ai-research-skillsby orchestra-research

Building a model from scratch at the largest sizes means splitting the work across thousands of graphics cards in several directions at once — this is the machinery that does the splitting, tuned so as little of that hardware as possible sits idle.

WHEN TO USE

SCOPE

USE FOR

  • Pretrain a 70B-plus parameter LLaMA-style model across a multi-node GPU cluster.
  • Train a sparse Mixture-of-Experts model like Mixtral with expert parallelism.
  • Push GPU efficiency toward 40%+ Model FLOP Utilization on H100s.
  • Choose the right mix of tensor, pipeline, and data parallelism for a given model size.
  • Diagnose low GPU utilization, out-of-memory errors, or a diverging loss curve.

NOT FOR

  • Training a model under 70B parameters with a simpler, PyTorch-native API; FSDP fits that better.
  • Wanting an easier setup for a sub-100B model; DeepSpeed is simpler to get running.
  • Prototyping quickly with a simpler workflow; HuggingFace Accelerate suits that better.
  • Learning how large-model training works from a single-file implementation; LitGPT is built for that.