Megatron Bridge is a library for training Megatron-based models and converting their checkpoints between Hugging Face and Megatron formats. Model developers use it for pretraining, supervised fine-tuning, long-context work, LoRA, inference, and image-and-text workflows supported by its examples and model configurations. The catalogue entries provide agent workflows and instructions for using the library.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add NVIDIA-NeMo/Megatron-Bridge --skill nemo-mbridge-perf-vision-dp-over-cpgit clone --depth 1 https://github.com/NVIDIA-NeMo/Megatron-BridgeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-perf-vision-dp-over-cp)<a href="https://agentmods.dev/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-perf-vision-dp-over-cp"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-perf-vision-dp-over-cp/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-perf-vision-dp-over-cp"><img src="https://agentmods.dev/badge/skills/nvidia-nemo/megatron-bridge/nemo-mbridge-perf-vision-dp-over-cp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Agent Snooping · line 212 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 214 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
- medium Agent Snooping · line 215 Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.02652 |
| Opus 5.5 | $0.00022 | $0.01061 |
| Sonnet 5.5 | $0.00011 | $0.00530 |
| Haiku 4.5 | $0.00006 | $0.00265 |
Grade A, and why
nemo-mbridge-perf-vision-dp-over-cp scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vision DP Over CP Skill
This skill covers vision_dp_over_cp: reusing the language model's
context-parallel process group to shard the images (or temporal tubelets) of
a microbatch across CP ranks, so each rank encodes 1/CP of them instead of all
of them.
It is not ring attention and shares nothing with
nemo-mbridge-perf-hierarchical-context-parallel beyond the process group.
Vision encoders such as RADIO already attend within each image via
cu_seqlens, so there is no long sequence to split and no cross-rank attention
communication. The correct mental model is data parallelism over images,
borrowing the CP group — a rank encodes whole images, never partial ones.
Shipped for Nemotron Omni. The MCore split/gather helpers are model-agnostic, so the pattern generalizes to any Bridge VLM with a dynamic-resolution encoder.
Do Not Confuse With dist_train.vision_context_parallel_size
Bridge already has a similarly named and completely different knob:
vision_context_parallel_size on the dist-train path
(src/megatron/bridge/models/qwen_vl/qwen3_vl_provider.py, consumed in
src/megatron/bridge/training/initialize.py).
model.vision_dp_over_cp (bool) |
dist_train.vision_context_parallel_size (int) |
|
|---|---|---|
| Ranks | Reuses the language model's CP ranks | Gives the vision tower its own ranks |
| Splits | Whole images across those ranks | The vision encoder's own sequence dimension |
Encoder context_parallel_size |
Stays 1 |
Set to this value |
| Models | Nemotron Omni | Qwen3-VL dist-train |
They are not alternatives and do not compose in any tested configuration.
Enablement
cfg.model.context_parallel_size = 2 # the flag is a no-op at CP=1
cfg.model.vision_dp_over_cp = False # opt out; on by default
Defaults to True. It self-disables when context_parallel_size == 1, so a
recipe that does not raise CP behaves exactly as it did before the flag existed
and reports no error. Opting out is only useful for A/B measurement or to
isolate a suspected split/gather bug.
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 218 lines · 55 tokens per session scan A c4ace101edfc
nemo-mbridge-perf-vision-dp-over-cp is a skill published in the GitHub repository NVIDIA-NeMo/Megatron-Bridge (1,012 stars, last pushed today), licensed Apache-2.0. It adds 55 tokens to every session and 2,652 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
nemo-mbridge-perf-vision-dp-over-cp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nemo-mbridge-perf-vision-dp-over-cpNVIDIA-NeMo/Megatron-Bridge | Skill | 1.0k | today | Apache-2.0 | A | 55 | Claude Code |
| agent-platform-model-registrygoogle/skills | Skill | 25k | today | Apache-2.0 | A | 60 | Claude Code, Codex |
| llm-evaluationsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 25 | Claude Code |
| google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skills | Skill | 25k | today | Apache-2.0 | A | 132 | Claude Code, Codex |
| training-checkwanshuiyin/Auto-claude-code-research-in-sleep | Skill | 20k | today | MIT | A | 35 | Claude Code |
| foundry-config-setupmicrosoft/agent-framework | Skill | 15k | 13d ago | MIT | A | 65 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 92 | Claude Code |