Repository navigation
MXFP4 low memory test: gate the chunked dX budget test on a real CUDA device - #15516
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Keep them coming! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
danielhanchen
added a commit
that referenced
this pull request
Oct 27, 2026
`tests/python/test_accelerator_skip_guards.py::test_no_skip_guard_reads_a_spoofable_accelerator_probe` fails on main again (`Repo tests (CPU, studio)`, e.g. job 122253474793 on #15556): ``` these skip guards read a probe tests/_zoo_aggressive_cuda_spoof.py patches to True process-wide ... test_cudnn_sdpa_grad_layout_dtensor.py:73: torch.cuda.is_available() ``` #15445 added `test_context_parallel_sdpa_backward_with_the_grad_layout_wrapper` with `@pytest.mark.skipif(not torch.cuda.is_available(), ...)`. That is the probe the CUDA spoof patches to True, so on a CPU-only runner sharing a session with `tests/version_compat` or `tests/vllm_compat` the test can un-skip. The guard test is right; the new test's skip condition should read `has_real_cuda()` like the rest of the suite (same fix as #15516). The cuDNN change itself is unaffected. Verification (local): - `tests/python/test_accelerator_skip_guards.py`: main 1 failed, 23 passed; this branch 24 passed. - `has_real_cuda()` is True on a real GPU host, so the test still runs where it is meant to.
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.
tests/python/test_accelerator_skip_guards.py::test_no_skip_guard_reads_a_spoofable_accelerator_probefails on main (Repo tests (CPU, studio), e.g. job 122034866848 on #15505):#15376 added
test_chunked_dx_stays_inside_its_own_budgetwith@pytest.mark.skipif(not torch.cuda.is_available(), ...). That probe is the one the CUDA spoof patches to True, so the guard can un-skip on a CPU-only runner when the test shares a session withtests/version_compatortests/vllm_compat. The rest of the file already gates onhas_real_cuda()through its modulepytestmark; this switches the new test's guard to the same probe. The guard test is right and the kernel change is unaffected; only the new test's skip condition was wrong.Verification (local):
tests/python/test_accelerator_skip_guards.py: main 1 failed, 23 passed; this branch 24 passed.tests/test_mxfp4_packed_low_memory.pyon a CPU-only box: all 46 skip, including the new test.has_real_cuda()is True, so the test still runs where it is meant to.