AI development/GitHub/Framework
MegatronApp
by OpenSQZ·Last observed 2026-10-27
★ 100 stars⑂ 6 forks
MegatronApp is a plugin toolchain for Megatron-LM distributed training, with modules for tracing, pipeline scheduling, forward-backward decoupling, and training or inference visualization. Users enable or disable modules at launch using control flags.
Useful for
- Trace a distributed Megatron-LM training run, aggregate its rank trace files, and inspect the result in Chrome Tracing or Perfetto.
Key features
- MegaScan aggregates distributed trace files, reconstructs communication dependencies, and can help locate hardware anomalies such as GPU downclocking.
- MegaScope displays token-by-token generation alongside intermediate vectors, attention matrices, output probabilities, and PCA projections.
- MegaDPP adjusts pipeline-parallel scheduling during training, while MegaFBD separates forward and backward phases across resources.
Requirements & limitations
- The quick start recommends an NVIDIA PyTorch NGC container and describes CUDA GPU tracing; the MegaScan example currently supports the local transformer implementation.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.