Repository navigation
test(inference): mark prefix caching CUDA graph test flaky - #6131
Merged
ko3n1g merged 1 commit intoJul 29, 2026
Merged
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
ko3n1g
marked this pull request as ready for review
July 29, 2026 19:22
Signed-off-by: oliver könig <okoenig@nvidia.com>
ko3n1g
force-pushed
the
ko3n1g/test/mark-prefix-caching-cuda-graphs-flaky
branch
from
July 29, 2026 19:22
463f781 to
e977864
Compare
ko3n1g
marked this pull request as draft
July 29, 2026 19:22
ko3n1g
marked this pull request as ready for review
July 29, 2026 19:24
svcnvidia-nemo-ci
pushed a commit
to dimapihtar/Megatron-LM
that referenced
this pull request
Aug 4, 2026
Signed-off-by: oliver könig <okoenig@nvidia.com> Signed-off-by: Dmytro Pykhtar <dpykhtar@nvidia.com>
This branch was previously deployed
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.
Background / motivation
TestPrefixCachingCudaGraphs::test_prefix_caching_cuda_graphsintermittently invalidates CUDA graph capture in thedevinference unit-test bucket. The failure is independent of the triggering changes:[decode-transformer], run 30479289096 / job 90671101491[mixed-transformer], run 30463155293 / job 90637047921[mixed-transformer], run 30427570429 / job 90655889236[mixed-transformer], run 30407317207 / job 90536399941Each job reports
CUBLAS_STATUS_INTERNAL_ERRORfromcublasSetStream, followed bycudaErrorStreamCaptureInvalidatedat capture end.What changed
pytest.mark.flaky_in_dev.Details
The
devunit-test runner selectsnot flaky_in_dev, so this prevents the intermittent capture failure from blocking standard PR CI. The broaderflakymarker is not added because the observed failures are all in thedev/latestjob; LTS coverage remains enabled.Fixes #6130.
Tested
uv sync --locked --only-group linting— completed from the locked environment.BASE_REF=main CHECK_ONLY=true SKIP_DOCS=false bash tools/autoformat.shwith the linting environment onPATH—black,isort,pylint, andruffpassed; the wrapper exited 0. Its non-blockingmypyinvocation was unavailable in the repository's linting-only group.astand verified the function decorator list includespytest.mark.flaky_in_devahead of all six parametrized cases.git diff --check— passed.tests/unit_tests/conftest.pywithModuleNotFoundError: torch.Contribution pre-checks
tools/autoformat.shon my PR.