Skip to content
Skill

Mcore testing

Guide for adding and running Megatron-LM unit and functional tests

Install

Mcore testing is an open-source agent skill for ai models and llm tooling. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
4K
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Mcore testing

This skill explains how the Megatron-LM test system is laid out and how to work in it. It covers the unit_tests and functional_tests directories, the recipe folders for H100 and GB200 jobs, and how recipe YAML files expand a products block into individual workloads.

It describes how tests run in CI through a nemo-run launcher that starts a Docker container, how unit tests are dispatched with torch.distributed.run, and how functional tests are driven by a shell script. Known transient failures are retried up to three times. Practical sections cover running the full suite, a single file or one test, marker filters such as flaky, CI parity, and step lists for adding a unit or functional test.

It also gives quick answers for disabling a test without deleting it, for example suffixing a recipe scope with -broken or using pytest markers.

When your agent uses it

Test system for Megatron-LM. Covers test layout, recipe YAML structure, adding and running unit and functional tests, golden values, marker filters, and CI parity.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 5 files (17 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/mcore-testing to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/NVIDIA/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/mcore-testing &&
cp -R "$tmp/skills/mcore-testing" ~/.claude/skills/mcore-testing &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/mcore-testing inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/mcore-testing to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/NVIDIA/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/mcore-testing &&
cp -R "$tmp/skills/mcore-testing" ~/.agents/skills/mcore-testing &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/mcore-testing inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/mcore-testing to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/NVIDIA/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/mcore-testing &&
cp -R "$tmp/skills/mcore-testing" ~/.cursor/skills/mcore-testing &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/mcore-testing inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/NVIDIA/skills.git --path skills/mcore-testing

Or copy the folder to ~/.gemini/skills/mcore-testing yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/mcore-testing:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/NVIDIA/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/mcore-testing &&
cp -R "$tmp/skills/mcore-testing" ~/.copilot/skills/mcore-testing &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/mcore-testing inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/NVIDIA/skills.git

Then copy skills/skills/mcore-testing into your agent's skills folder as mcore-testing. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Test layout map
Explains where unit tests, functional test cases, recipes and helper scripts live.
Recipe YAML structure
Shows how recipes expand a products block into workload specs.
Local test running
Commands for the full suite, a single file, one test or a name filter.
Marker filters
Explains flaky and experimental markers for including or excluding tests.
Disabling tests safely
Covers the -broken scope suffix and pytest skip markers.
Adding tests
Step lists for new unit and functional tests, plus common pitfalls.
Golden values
Notes on downloading and updating golden value files.

Good for

  • Add a unit test to Megatron-LM
  • Write a recipe YAML for a functional test
  • Reproduce a CI test failure locally
  • Disable a flaky test without deleting it
  • Update golden values for a functional test

Mcore testing FAQ

How do I disable a functional test without deleting Mcore testing?

Suffix the recipe's scope with -broken, for example mr-github becomes mr-github-broken.

How do I skip a flaky unit test?

Use the flaky_in_dev marker to skip in the default dev environment, or flaky to skip in LTS.

Does CI retry failures?

Yes, known transient patterns such as NCCL timeouts are retried up to three times.

What hardware do unit tests assume?

One node with 8 GPUs, run through torch.distributed.

How do I install Mcore testing in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mcore-testing to use it in all your projects, or to .claude/skills/mcore-testing in one project.

Does Mcore testing run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Mcore testing?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Mcore testing?

The closest alternatives to Mcore testing are ML engineering, Nemo mbridge mlm bridge training, Mcore run on slurm, Nemo mbridge perf cuda graphs and Nemo mbridge recipe recommender.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from NVIDIA/skills

  1. Run QA test plans on Holoscan Sensor Bridge hardware over SSH

    • Open source
    • 4K GitHub stars
    • Developer tools
  2. Build and verify NVIDIA PVA operators and report PASSED, FAILED or BLOCKED

    • Open source
    • 4K GitHub stars
    • Developer tools
  3. Runs an iterative mining-based DEFT loop to improve Cosmos Reason traffic-video

    • Open source
    • 4K GitHub stars
    • AI models and LLM tooling
  4. Runs NVIDIA TAO Grounding DINO detection through an iterative data-mining and retraining

    • Open source
    • 4K GitHub stars
    • Computer vision
  5. Runs an iterative RT-DETR retraining loop for binary industrial defect detection

    • Open source
    • 4K GitHub stars
    • Design and media