recipe-recommender

Recommends Megatron Bridge training recipes based on GPU topology and goals.

Updated May 23, 2026
One-click install
npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill recipe-recommender-yo-steven
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recipe-recommender
Source: https://github.com/yo-steven/skills-exploration-20260522/tree/main/skills/Megatron-Bridge/recipe-recommender
Command: npx skills add https://github.com/yo-steven/skills-exploration-20260522 --skill recipe-recommender-yo-steven

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you avoid trial-and-error when choosing Megatron Bridge training recipes by recommending a best-match starting configuration for your model, GPU setup, and training goal.

Core Features & Use Cases

  • Recipe Indexing & Best-Match Recommendations: Maps model size and mode (pretrain, SFT, PEFT) to appropriate recipe entry points so you can start training sooner.
  • Parallelism & Long-Context Guidance: Recommends how to adjust TP/PP/CP/EP constraints and points you to the correct long-context variants when you need more than 8K tokens.
  • Performance vs Library Planning: Helps you choose between library recipes (for training) and perf recipes (for throughput benchmarking on mock data), including key limitations and validation warnings.

Quick Start

Tell the Skill your model name/size, GPU count and type, your goal (pretrain/SFT/PEFT), and your sequence length, then ask for the recommended recipe function name and the exact entry-point command to run.

Frequently Asked Questions about recipe-recommender

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose the right Megatron Bridge training recipe for my GPU setup?

Choosing a Megatron Bridge training recipe involves matching your model size, GPU topology, and training goal to a best-match indexed entry point. The recommender selects the appropriate recipe and outputs the run_recipe or run_script invocation structure so you can start training immediately.

What's the best way to configure parallelism for long-context training beyond 8K tokens?

Configuring long-context training beyond 8K tokens requires selecting specific CP variants and adjusting TP/PP/CP/EP constraints. The recommender points you to the correct long-context recipe entry points and provides the necessary adjustment constraints for your parallelism tuning.

Can I use Megatron Bridge recipes for throughput benchmarking on mock data?

Yes, you can use perf recipes for throughput benchmarking on mock data instead of library recipes for actual training. The recommender helps you choose between library and perf recipes, including key limitations and validation warnings for benchmarking scenarios.

Do I need to specify sequence length and training mode to get a recipe recommendation?

Yes, you need to provide your model name or size, GPU count and type, training goal (pretrain, SFT, or PEFT), and sequence length. The recommender uses these inputs to map to appropriate recipe entry points and generate the exact entry-point command to run.

What are the limitations of relying on recommended Megatron Bridge recipes for distributed training?

Recommended recipes provide a best-match starting configuration to avoid trial-and-error, but they include key limitations and validation warnings. You must still verify adjustment constraints for TP/PP/CP/EP parallelism tuning against your specific hardware and throughput benchmarking requirements.

Does Megatron Bridge recipe recommendation support PEFT and SFT workflows?

Yes, recipe recommendation supports pretraining, SFT, and PEFT workflows. It maps your selected training mode and model size to appropriate recipe entry points, providing the correct run_recipe or run_script invocation structure for your specific fine-tuning goal.