5.78 GB
9,654 files
Updated 30 days ago
Name
Size
functional_tests
performance_tests
test_utils
unit_tests
README.md1.05 kB
xet
__init__.py0 Bytes
xet
README.md

Megatron-LM Tests

Updating Functional Test Golden Values

When adding new functional tests, it may be necessary to update the golden values used to verify if the test is passing as expected.

  1. Add the new functional test case with the scope set to mr-github
  2. Open a PR with the new test. Ensure the label Run functional tests is added
  3. Run the PR CI tests
  4. Run the script to download golden values from a Github CI run a. Ensure click, requests, and python-gitlab are installed in your environment b. Ensure a Github access token is set as an environment variable GITHUB_TOKEN c. Run the script python tests/test_utils/python_scripts/download_golden_values.py --source github --pipeline-id <github-workflow-run-id> d. Optionally pass in --only-failing to only download golden values for failing tests only e. Ensure you are only checking-in golden values for tests are you updating

The Github CI infra may not be appropriate for Perf tests. Perf tests may be more appropriate for nightly jobs on other infra.

Total size
5.78 GB
Files
9,654
Last updated
Oct 27
Pre-warmed CDN
US EU US EU

Contributors