Skip a UVM-Heavy Test Under Compute Sanitizer#1400
Merged
leofang merged 1 commit intoNVIDIA:mainfrom Dec 18, 2025
Merged
Conversation
Contributor
Contributor
Author
|
/ok to test ec93c12 |
This comment has been minimized.
This comment has been minimized.
ce6b1b5 to
e3183ab
Compare
Contributor
Author
|
/ok to test e3183ab |
Contributor
Author
|
/ok to test cb86bd1 |
Contributor
Author
|
/ok to test 8823fcc |
- 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 to
cbe5b2d
Compare
Contributor
Author
|
/ok to test cbe5b2d |
Andy-Jost
commented
Dec 17, 2025
| "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=0 tests/ |& tee /tmp/pathfinder_test_log.txt |
Contributor
Author
There was a problem hiding this comment.
It seems reasonable to report test times so that these issues are easier to debug in the future.
Contributor
Author
|
CI confirms the fix. This test was taking >20min: CI / Test linux-64 / py3.12, 12.9.1, local, l4 (push)Successful in 6m |
Contributor
Author
|
Longest durations now reported in the test logs: |
leofang
approved these changes
Dec 18, 2025
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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