Megatron Memory Estimator

Estimate GPU memory usage for Megatron-based MoE (Mixture of Experts) and dense models. Use when users need to (1) estimate memory from HuggingFace model configs (DeepSeek-V3, Qwen, etc.), (2) plan GPU resource allocation for training, (3) compare different parallelism strategies (TP/PP/EP/CP), (4) determine if a model fits in available GPU memory, or (5) optimize training configurations for memory efficiency.

tools-only 599a5f7 3 files · 18.5 KB Updated 7 repo stars

File contents

tools-only/X-Skills/tree/main/automation/180-megatron-memory-estimator_37968473 commit 599a5f779b

Frequently asked questions

npx skillmds add tools-only/megatron-memory-estimator