Repository navigation
Tests: skip the QAT MX and FP8 block GEMM GPU cases on the recorded real CUDA, not the spoofable probe - #14785
Conversation
|
@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". |
pre-commit.ci fails `ruff-format-with-kwargs` on every open PR (#14806, #14805, #14803, #14790, #14785, #14781, #14780, #14777, #14776, #14775, #14774, #14773, #14772, #14770, #14769, #14768, and others): "files were modified by this hook". pre-commit.ci runs the hooks on all files, and 20 files on main (26 by the time this lands) are not in the formatter's output, so every PR is reformatted outside its own diff. Where pre-commit.ci can push, its autofix commit drags those unrelated files into the PR (for example #14790's touches `tests/test_block_compile.py`, `tests/test_bnb_integration_compile.py` and `unsloth/models/_utils.py`). The drift came in with PRs merged today, among them #14702, #14751, #14759, #14784, #14786, #14787, #14788, #14791 and the FP8 block decode, GRPO routing replay, 4-bit decode, compiled blocks and MoE LoRA target changes. ### Change `python scripts/run_ruff_format.py` (the hook's own entry point, `ruff==0.6.9` as pinned in `.pre-commit-config.yaml`) applied to those 20 files, plus 6 more from #14739, #14779 and #14806, which merged while this was open. Formatting only. ### Verification - Every changed file parses to an identical AST before and after. - A second run of the hook over the same files changes nothing (fixed point), and over all tracked Python files on this branch it changes nothing. - `ruff check` passes on the changed files; `tests/test_formatter_fixed_point.py` passes (16). Open PRs pick this up on their next pre-commit.ci run after merging main.
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Bravo. 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". |
tests/python/test_accelerator_skip_guards.py::test_no_skip_guard_reads_a_spoofable_accelerator_probefails on main. GPU-only tests that readtorch.cuda.is_available()un-skip on CPU runners, because the zoo CUDA spoof patches that probe to True, so they fail withno CUDA-capable device is detectedinstead of skipping. This is the same fix #13982 and #13994 made for the optimizer offload tests.Change
test_fp8_block_matmul_empty_rows_on_gpu(added in FP8 block GEMM: route empty inputs to the Triton kernel #15205, the guard test's current failure) gates onhas_real_cuda().test_mx_qat_linear_takes_float32_activations_under_autocastskips onhas_real_cuda(). It is an in-bodypytest.skip, so the guard test does not catch it, but it fails under the spoof the same way.Tests
test_no_skip_guard_reads_a_spoofable_accelerator_probefails ontest_fp8_torchao_import_route.py:188; with the CUDA spoof applied after recording the real accelerator,test_mx_qat_linear_takes_float32_activations_under_autocast[weight_dtype1]fails withCUDA error: no CUDA-capable device is detected.tests/python/test_accelerator_skip_guards.py,tests/test_qat_microscaling_schemes.py,tests/test_fp8_torchao_import_route.py: 76 passed, 3 skipped on CPU.