Nemo Fabric Integrate
NVIDIA/skills
A skill your agent uses when integrating NVIDIA NeMo Fabric into a consumer application, service, evaluation harness, or platform through the typed Python SDK — translating the consumer's own…
Bilingual guidance for Megatron checkpoint 1D 2D 3D mprank layouts across tensor pipeline and expert parallel dimensions
$ npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install EvolvingLMMs-Lab/LLaVA-OneVision-2 megatron-checkpoint-layout --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.opencode/skills/megatron-checkpoint-layout .claude/skills/megatron-checkpoint-layout && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "megatron-checkpoint-layout" agent skill from https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layout into .claude/skills/megatron-checkpoint-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-checkpoint-layout", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layoutType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install EvolvingLMMs-Lab/LLaVA-OneVision-2 megatron-checkpoint-layout --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.opencode/skills/megatron-checkpoint-layout .agents/skills/megatron-checkpoint-layout && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "megatron-checkpoint-layout" agent skill from https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layout into .agents/skills/megatron-checkpoint-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-checkpoint-layout", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install EvolvingLMMs-Lab/LLaVA-OneVision-2 megatron-checkpoint-layout --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.opencode/skills/megatron-checkpoint-layout .cursor/skills/megatron-checkpoint-layout && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "megatron-checkpoint-layout" agent skill from https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layout into .cursor/skills/megatron-checkpoint-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-checkpoint-layout", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git --path .opencode/skills/megatron-checkpoint-layout--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install EvolvingLMMs-Lab/LLaVA-OneVision-2 megatron-checkpoint-layout --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.opencode/skills/megatron-checkpoint-layout .gemini/skills/megatron-checkpoint-layout && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "megatron-checkpoint-layout" agent skill from https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layout into .gemini/skills/megatron-checkpoint-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-checkpoint-layout", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install EvolvingLMMs-Lab/LLaVA-OneVision-2 megatron-checkpoint-layoutInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git skills-src && mkdir -p .github/skills && cp -r skills-src/.opencode/skills/megatron-checkpoint-layout .github/skills/megatron-checkpoint-layout && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "megatron-checkpoint-layout" agent skill from https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layout into .github/skills/megatron-checkpoint-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-checkpoint-layout", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install EvolvingLMMs-Lab/LLaVA-OneVision-2 megatron-checkpoint-layout --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.opencode/skills/megatron-checkpoint-layout .opencode/skills/megatron-checkpoint-layout && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "megatron-checkpoint-layout" agent skill from https://github.com/EvolvingLMMs-Lab/LLaVA-OneVision-2/tree/main/.opencode/skills/megatron-checkpoint-layout into .opencode/skills/megatron-checkpoint-layout/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "megatron-checkpoint-layout", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
megatron-checkpoint-layoutBilingual guidance for Megatron checkpoint 1D 2D 3D mprank layouts across tensor pipeline and expert parallel dimensions
Megatron Checkpoint Layout is an agent skill from EvolvingLMMs-Lab/LLaVA-OneVision-2. Bilingual guidance for Megatron checkpoint 1D 2D 3D mprank layouts across tensor pipeline and expert parallel dimensions
Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode
It sits in Writing & Content, covering Translation. It works with NVIDIA AI Platform. The repository describes itself as: Fully Open Framework for Democratized Multimodal Training. The licence is Apache-2.0.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6ef16b1. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
opencode
From compatibility in the SKILL.md frontmatter.
Megatron Checkpoint Layout loads about 1k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 532 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from EvolvingLMMs-Lab/LLaVA-OneVision-2 at commit 6ef16b1, republished under its Apache-2.0 licence (© EvolvingLMMs-Lab). 532 words, ~1,017 tokens.
.claude/skills/megatron-checkpoint-layout/SKILL.md (or your agent's skills folder).Use this skill when diagnosing, designing, or converting Megatron/Megatron-Core checkpoints that may use TP, PP, and EP.
在排查、设计或转换使用 TP、PP、EP 的 Megatron / Megatron-Core checkpoint 时,使用这个 skill。
TP only: mp_rank_{tp}
TP + PP: mp_rank_{tp}_{pp}
TP + PP + EP: mp_rank_{tp}_{pp}_{ep}
只有 TP:mp_rank_{tp}
TP + PP:mp_rank_{tp}_{pp}
TP + PP + EP:mp_rank_{tp}_{pp}_{ep}
The key discriminator is whether expert parallelism participates in checkpoint sharding.
真正的分界点是:expert parallelism 是否参与了 checkpoint 切分。
If EP is present, treat the checkpoint layout as 3D.
If EP is absent, treat the checkpoint layout as non-EP and use 1D or 2D.
如果存在 EP,就按 3D 布局处理。
如果不存在 EP,就按非 EP 布局处理,即 1D 或 2D。
Megatron does not treat pp > 1 as meaning 3D by itself.
Megatron 不会因为 pp > 1 就自动把 checkpoint 视为 3D。
PP adds a pipeline index.
EP adds an expert index.
The third coordinate exists because EP exists, not because PP exists.
PP 只是在目录里增加 pipeline 这一维。
EP 才会增加 expert 这一维。
第三维存在的原因是 EP 存在,而不是因为 PP 存在。
So even if tp=1 and pp=1, once EP is enabled the checkpoint naming is still conceptually 3D because ranks are addressed by (tp, pp, ep).
所以即使 tp=1 且 pp=1,只要启用了 EP,checkpoint 在语义上仍然是 3D,因为 rank 仍然由 (tp, pp, ep) 共同定位。
When reading or converting checkpoints:
在读取或转换 checkpoint 时:
First decide whether EP exists in the checkpoint contract.
If EP exists, require mp_rank_{tp}_{pp}_{ep}.
If EP does not exist, read as mp_rank_{tp} or mp_rank_{tp}_{pp}.
Do not infer 3D solely from pipeline_model_parallel_size > 1.
先判断这个 checkpoint 契约里是否存在 EP。
如果存在 EP,就要求目录是 mp_rank_{tp}_{pp}_{ep}。
如果不存在 EP,就按 mp_rank_{tp} 或 mp_rank_{tp}_{pp} 去读。
不要仅凭 pipeline_model_parallel_size > 1 就推断它一定是 3D。
Bad assumption:
错误假设:
pp > 1 so loader chooses a 3D reader.
只要 pp > 1,loader 就应该走 3D reader。
Why it fails:
为什么会失败:
Dense non-MoE checkpoints with TP+PP usually use mp_rank_{tp}_{pp} only.
A 3D loader then looks for an EP coordinate that is not present.
普通 dense、非 MoE 的 TP+PP checkpoint,通常只有 mp_rank_{tp}_{pp}。
这时 3D loader 会去找并不存在的 EP 坐标,最终报错。
For this repository, follow this rule:
这个仓库建议遵循以下规则:
if expert_parallel_size is passed, require 3D
if expert_parallel_size is not passed, use non-EP loading
如果传了 expert_parallel_size,就强制按 3D 处理
如果没有传 expert_parallel_size,就走非 EP 的加载逻辑
This matches Megatron's path-building logic better than using pp > 1 as the branch condition.
这个规则比“用 pp > 1 作为分支条件”更贴近 Megatron 自己的路径生成逻辑。
What are the actual shard directory names under the checkpoint root?
Was expert_parallel_size provided by the caller?
Is the model dense or MoE?
Is the loader branching on EP or incorrectly branching on PP?
If conversion failed, which exact mp_rank_* pattern was expected and which one exists on disk?
checkpoint 根目录下,实际 shard 目录名是什么?
调用方是否传入了 expert_parallel_size?
当前模型是 dense 还是 MoE?
loader 是按 EP 分支,还是错误地按 PP 分支?
如果转换失败,程序期望的 mp_rank_* 模式是什么,磁盘上实际又是什么?
When asked to analyze a checkpoint issue, return:
当你被要求分析 checkpoint 问题时,应该返回:
the inferred layout class: 1D, 2D, or 3D
the reason for that classification
the expected directory naming pattern
whether the caller should use a non-EP loader or an EP-aware loader
any mismatch between runtime arguments and on-disk shard layout
推断出的布局类别:1D、2D 或 3D
这样分类的原因
期望的目录命名模式
调用方应使用非 EP loader 还是 EP-aware loader
运行时参数与磁盘上 shard 布局之间是否存在不匹配
© EvolvingLMMs-Lab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .opencode/skills/megatron-checkpoint-layout of EvolvingLMMs-Lab/LLaVA-OneVision-2.
Open the folder on GitHubat commit 6ef16b1
Megatron Checkpoint Layout next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Megatron Checkpoint Layout this skillEvolvingLMMs-Lab/LLaVA-OneVision-2 | 1.2k | — | ~1k | Automated safety check: Pass | Apache-2.0 | |
| Nemo Fabric IntegrateNVIDIA/skills | 3.5k | — | ~5.5k | Automated safety check: Pass | Apache-2.0 | |
| Translation Diff ExportDevolutions/UniGetUI | 26k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Sync Translationssymfony/symfony | 31k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Translation Diff ImportDevolutions/UniGetUI | 26k | — | ~750 | Automated safety check: Pass | MIT | |
| Translation Diff TranslateDevolutions/UniGetUI | 26k | — | ~934 | Automated safety check: Pass | MIT |
NVIDIA/skills
A skill your agent uses when integrating NVIDIA NeMo Fabric into a consumer application, service, evaluation harness, or platform through the typed Python SDK — translating the consumer's own…
Devolutions/UniGetUI
Compares UniGetUI JSON locale files against English, identifies untranslated or source-changed keys, and generates patch, reference, and handoff files for a target language.
symfony/symfony
Synchronize translation catalogs across maintained Symfony branches: find messages that newer branches added to the English catalogs but that are still missing from the oldest maintained branch…
Devolutions/UniGetUI
Merges translated key-value pairs from a UniGetUI JSON localization patch back into the full language file and validates the merged result.
Devolutions/UniGetUI
Translates a sparse UniGetUI JSON language patch, writes completed entries into the working copy, preserves placeholders and terminology, and prepares the patch for merge-back.
payloadcms/payload
A skill your agent uses when new translation keys are added to packages to generate new translations strings
EvolvingLMMs-Lab/LLaVA-OneVision-2
Guide for writing clear, consistent git commit messages following this repository's conventions
EvolvingLMMs-Lab/LLaVA-OneVision-2
Bilingual guide for understanding how culengths controls attention behavior across ViT and LLM stages, and how patchpositions scope differs between the two
EvolvingLMMs-Lab/LLaVA-OneVision-2
Bilingual guide for running offlinepacking/autopipe.sh across multiple nodes to produce padding-free packed WebDataset shards for SFT, with Energon Metadataset assembly
EvolvingLMMs-Lab/LLaVA-OneVision-2
Bilingual guide for understanding LengthPoolSortDataset cross-rank length synchronization mechanism in multi-GPU training
EvolvingLMMs-Lab/LLaVA-OneVision-2
Bilingual guide for running and interpreting LLaVA-OneVision2 HF vs Megatron consistency checks across TP and PP settings
EvolvingLMMs-Lab/LLaVA-OneVision-2
Bilingual guide for the OFFLINEPACKINGBMR and OFFLINEPACKEDDATA environment variables that control LLaVA-OneVision2 training-side packing — what each gate does, why both must be enabled together…
Works with
Categories
Bilingual guidance for Megatron checkpoint 1D 2D 3D mprank layouts across tensor pipeline and expert parallel dimensions. Megatron Checkpoint Layout is an agent skill from EvolvingLMMs-Lab/LLaVA-OneVision-2.
Megatron Checkpoint Layout fits situations like: tasks that involve Translation.
Run `npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a claude-code`. Or copy the skill folder (.opencode/skills/megatron-checkpoint-layout in EvolvingLMMs-Lab/LLaVA-OneVision-2) into .claude/skills/megatron-checkpoint-layout in your project. Claude Code loads it when a task matches its description.
Run `npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a codex`. Or copy the skill folder (.opencode/skills/megatron-checkpoint-layout in EvolvingLMMs-Lab/LLaVA-OneVision-2) into .agents/skills/megatron-checkpoint-layout in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add EvolvingLMMs-Lab/LLaVA-OneVision-2 --skill megatron-checkpoint-layout -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/megatron-checkpoint-layout, .gemini/skills/megatron-checkpoint-layout, .github/skills/megatron-checkpoint-layout and .opencode/skills/megatron-checkpoint-layout in your project.
SKILL.md names no scripts, command-line tools or credentials: Megatron Checkpoint Layout is instructions for the agent only. Compatibility (from SKILL.md): opencode.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Megatron Checkpoint Layout is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Megatron Checkpoint Layout: Nemo Fabric Integrate (NVIDIA/skills, 3.5k stars), Translation Diff Export (Devolutions/UniGetUI, 26k stars), Sync Translations (symfony/symfony, 31k stars) and Translation Diff Import (Devolutions/UniGetUI, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
EvolvingLMMs-Lab (a GitHub organization) maintains it in EvolvingLMMs-Lab/LLaVA-OneVision-2, which has 1,216 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 7, 2026.
Source: EvolvingLMMs-Lab/LLaVA-OneVision-2 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.