
Description
Testing Guide is an agent skill that explains the test system of the Megatron-LM repository. It covers the layout of the tests, the structure of the recipe YAML files used by functional tests, how to add and run unit and functional tests, how golden values are used, how marker filters select tests, and how the test setup connects to CI. A key part is how to disable a test without deleting it. Functional recipe entries stay in the YAML and are turned off by adding a -broken suffix to their scope, for example changing mr-github to mr-github-broken. Unit tests are skipped with pytest markers instead: flaky_in_dev skips a test in the default dev environment, and flaky skips it in LTS. The skill advises against deleting a test or recipe entry when the goal is to keep it discoverable and easy to re-enable later. Use it for questions about running tests, writing new ones or handling flaky tests in Megatron-LM. It is listed on skills.sh in the nvidia/skills repository as free.…
Highlights
- Test layout and recipe YAML structure
- Adding and running unit and functional tests
- Golden values and marker filters
- Disabling tests without deleting them
Ratings & Reviews
No ratings yet
Be the first to rate mcore-testing.
People also visit

nemo-mbridge-mlm-bridge-training
Run Megatron-LM (MLM) and Megatron Bridge training with mock or real data

nemo-mbridge-recipe-recommender
Recommend and customize Megatron Bridge library and benchmark recipes

nemo-mbridge-perf-sequence-packing
Validate and use packed sequences and long-context training in Megatron-Bridge
mcore-testing FAQ
How do I disable a functional test without deleting it?
Add the -broken suffix to its scope in the recipe YAML, for example scope: [mr-github] becomes scope: [mr-github-broken]. The entry stays in place so it can be re-enabled easily.
How do I skip a flaky unit test?
Use the pytest marker flaky_in_dev to skip it in the default dev environment, or flaky to skip it in LTS.
How do I install it?
Run npx skills add https://github.com/nvidia/skills --skill mcore-testing in your project.
Is it free?
Yes. The skill page lists its pricing as Free.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best mcore-testing alternatives?
Popular alternatives to mcore-testing include nemo-mbridge-mlm-bridge-training, mcore-linting-and-formatting and nemo-mbridge-recipe-recommender. See all mcore-testing alternatives












