yzlnew/infra-skills/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.
Agent skill · version 0.0.0-main.1795731985.gf3a8d7d · from yzlnew/infra-skills
Install
npx yarkr-cli add skill:yzlnew/infra-skills/megatron-memory-estimatorWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:yzlnew/infra-skills/megatron-memory-estimator
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:yzlnew/infra-skills/megatron-memory-estimatorOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:yzlnew/infra-skills/megatron-memory-estimatorWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.