Buckets:
5.78 GB
9,654 files
Updated 30 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| functional_tests | 1,287 items | ||
| performance_tests | 28 items | ||
| test_utils | 76 items | ||
| unit_tests | 469 items | ||
| README.md | 1.05 kB xet | 8d9c078d | |
| __init__.py | 0 Bytes xet | 00000000 |
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.
- Add the new functional test case with the scope set to
mr-github - Open a PR with the new test. Ensure the label
Run functional testsis added - Run the PR CI tests
- 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_TOKENc. Run the scriptpython tests/test_utils/python_scripts/download_golden_values.py --source github --pipeline-id <github-workflow-run-id>d. Optionally pass in--only-failingto 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