Nemo mbridge recipe recommender
Recommend and customize Megatron Bridge library and benchmark recipes for a user's model, GPU count, hardware, sequence length, and pretrain/SFT/PEFT goal.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: nemo-mbridge-recipe-recommender
license: Apache-2.0
description: Recommend and customize Megatron Bridge library and benchmark recipes for a user's model, GPU count, hardware, sequence length, and pretrain/SFT/PEFT goal. Use when selecting a starting recipe, comparing library and benchmark configs, resizing parallelism for a GPU allocation, or distinguishing convergence changes, semantics-preserving execution tuning, and benchmark-only shortcuts.
---
# Auto Recipe — Recipe Index & Recommendation
This skill indexes every shipped recipe and helps users pick the right starting
config, adjust parallelism, and avoid common pitfalls.
## How to Use This Skill
1. Ask the user for: **model name/size**, **GPU count & type**, **training goal**
(pretrain / SFT / PEFT), and **sequence length** (if non-default).
2. Look up the best-match recipe in the index below.
3. Recommend the recipe function name + entry-point command.
4. Provide adjustment advice (parallelism resizing, batch tuning, pitfalls).
## First Answer Checklist
When recommending recipes, always include these distinctions before the long
index details:
1. **Library recipes** under `src/megatron/bridge/recipes/` are for functional
training and use `scripts/training/run_recipe.py`.
2. **Benchmark recipes** under `src/megatron/bridge/perf_recipes/` are for
upper-bound throughput benchmarks. They own their canonical benchmark data
and settings and should not be presented as production training recipes.
3. For a first-time Bridge smoke test, recommend `llama3_8b_pretrain_config`
with mock data via `--dataset mock`.
4. For normal SFT recommendations, select a finetuning preset such as
`--dataset squad` or `--dataset tulu3`; for pretrain and mock validation
recommendations, use `--dataset mock`. Do not pair the pretraining-only
`mock` preset with an SFT or PEFT mode.
5. After the recipe and dataset, give the required resizing rules: TP must
divide `num_key_value_heads`, use the lowest TP that still fits the dense
state, keep TP within one node unless using NVL72-class interconnect, enable
SP when TP > 1, configure CP for long context, and make both dense and
expert meshes divide the allocation.
...From NVIDIA's repository, Apache-2.0 licence.