- Notifications
You must be signed in to change notification settings - Fork233
Skip a UVM-Heavy Test Under Compute Sanitizer#1400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Andy-Jost commentedDec 17, 2025
/ok to testec93c12 |
This comment has been minimized.
This comment has been minimized.
ce6b1b5 toe3183abCompareAndy-Jost commentedDec 17, 2025
/ok to teste3183ab |
Andy-Jost commentedDec 17, 2025
/ok to testcb86bd1 |
Andy-Jost commentedDec 17, 2025
/ok to test8823fcc |
- Add --durations=0 to CI pytest invocations to report per-test timings.- Add cuda_python_test_helpers.under_compute_sanitizer() and use it to skip the UVM-heavy PatternGen seed test under compute-sanitizer.
8823fcc tocbe5b2dCompareAndy-Jost commentedDec 17, 2025
/ok to testcbe5b2d |
| "LD:${CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS}" \ | ||
| "FH:${CUDA_PATHFINDER_TEST_FIND_NVIDIA_HEADERS_STRICTNESS}" | ||
| pytest -ra -s -v tests/|& tee /tmp/pathfinder_test_log.txt | ||
| pytest -ra -s -v--durations=0tests/|& tee /tmp/pathfinder_test_log.txt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
It seems reasonable to report test times so that these issues are easier to debug in the future.
Andy-Jost commentedDec 18, 2025
CI confirms the fix. This test was taking >20min: CI / Test linux-64 / py3.12, 12.9.1, local, l4 (push)Successful in 6m |
Andy-Jost commentedDec 18, 2025
Longest durations now reported in the test logs: |
083315c intoNVIDIA:mainUh oh!
There was an error while loading.Please reload this page.
|
Uh oh!
There was an error while loading.Please reload this page.
Summary
Adjust CI to improve debuggability of long-running tests.
Changes
--durations=0to CIpytestinvocations so logs report per-test timings.cuda_core/tests/test_helpers.py::test_patterngen_seedswhen running under compute-sanitizer (detected viacuda_python_test_helpers.under_compute_sanitizer()), since this test can become extremely slow under sanitizer/UVM-heavy behavior.Rationale
test_patterngen_seedsperforms many syncs and host/device-visible memory comparisons; under compute-sanitizer this can balloon to very long runtimes in some CI environments. Skipping it under sanitizer keeps the CI signal while avoiding hour-scale jobs.Test plan