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…
от nvidia1 645 установок в других каталогах
Установить nemo-mbridge-recipe-recommender в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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
- Ask the user for: model name/size, GPU count & type, training goal (pretrain / SFT / PEFT), and sequence length (if non-default).
- Look up the best-match recipe in the index below.
- Recommend the recipe function name + entry-point command.
- Provide adjustment advice (parallelism resizing, batch tuning, pitfalls).
First Answer Checklist
When recommending recipes, always include these distinctions before the long index details:
- Library recipes under
src/megatron/bridge/recipes/are for functional training and usescripts/training/run_recipe.py. - 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. - For a first-time Bridge smoke test, recommend
llama3_8b_pretrain_configwith mock data via--dataset mock. - For normal SFT recommendations, select a finetuning preset such as
--dataset squador--dataset tulu3; for pretrain and mock validation recommendations, use--dataset mock. Do not pair the pretraining-onlymockpreset with an SFT or PEFT mode. - 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. - State whether each proposed override changes the convergence contract or only the execution/performance mapping. Do not trade convergence semantics for throughput without calling it a new experiment.
Performance Readiness for New Recipes
Before publishing a new pretraining library recipe under
src/megatron/bridge/recipes/, measure steady-state model TFLOP/s/GPU on its
intended workload and GPU allocation. For BF16, aim for roughly 200
TFLOP/s/GPU on H100 and 400 TFLOP/s/GPU on GB200. These are approximate
readiness targets, not exact pass/fail cutoffs. This requirement excludes SFT,
PEFT, and long-context SFT; it assesses the base pretraining library recipe,
not a perf_recipes benchmark or its result. For other precisions or hardware
such as B200/GB300, establish a workload-matched measured target rather than
silently reusing the BF16 H100/GB200 numbers.
If measured performance is severely below the target, either withhold the
recipe until it is improved or clearly label it early, unoptimized in the
recipe docstring, accompanying public documentation/card, and PR description.
Record the measured throughput, hardware, precision, workload, and GPU layout
alongside the limitation. In a card, include the label in both the summary and
the affected training item's expected_result so generated pages display it.
Do not present it as a tuned recommendation or change the intended training
workload or convergence settings merely to meet a target.
Configuration Layers and Change Control
Separate training semantics from their hardware mapping before recommending or tuning a recipe.
Convergence configuration includes the starting checkpoint and trainable parameters; dataset/revision/split/order/seeds; tokenizer, masking, truncation, and packing; sequence length; global batch and token budget; objective and loss coefficients; natural or forced MoE routing and token-dropping policy; optimizer, LR, schedule, warmup, betas, epsilon, weight decay, clipping, and dropout; arithmetic and optimizer-state precision; and PEFT adapter settings. Changing one of these creates a new convergence experiment.
Execution/performance configuration includes hardware count and topology; TP/PP/VP/CP/EP/ETP/DP/SP; recompute and offload; distributed optimizer/FSDP; communication overlap; fusions and attention backends; CUDA graphs and compilation; checkpoint I/O; and MoE transport through all-to-all, DeepEP, or HybridEP when the routing policy is unchanged. These settings should preserve the objective and effective updates, although floating-point reduction order can produce small numerical drift that still needs validation.
Treat micro batch size and gradient accumulation as execution fingerprints. Tune them only with fixed global batch size, global batch membership/order, normalization, optimizer boundaries, and token budget, and validate fresh loss sentinels for each layout. Packing, precision, forced MoE load balancing, token dropping/capacity, and router/auxiliary loss changes are never performance-only knobs.
Treat mock data, forced balancing, disabled correctness checks, and timing-only schedules as benchmark-only shortcuts. They may be appropriate in `perf_r
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 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. 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.
Как установить скилл nemo-mbridge-recipe-recommender?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nemo-mbridge-recipe-recommender запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…