Skip to content

Require gguf>=0.19 for the GGUF tests - #25420

Open
Gasoonjia wants to merge 1 commit into
gh/Gasoonjia/132/headfrom
gasoonjia/nvfp4-oss-ci
Open

Gasoonjia wants to merge 1 commit into
gh/Gasoonjia/132/headfrom
gasoonjia/nvfp4-oss-ci

Conversation

@Gasoonjia

@Gasoonjia Gasoonjia commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

requirements-dev.txt now requires gguf>=0.19, the first release with GGML NVFP4 (type 40) and its reference dequantizer, so test_gguf_nvfp4.py runs its gguf reference checks in OSS instead of skipping them. The NVFP4 kernel tests already run in the unittest-cuda system shard, so no workflow change is needed.

This file is OSS-only, so it can't ship through the internal export of the stack below.

Authored with Claude Code.

@pytorch-bot

pytorch-bot Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/25420

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure, 2 Pending

As of commit d2b977d with merge base 9f49fe2 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@Gasoonjia

Copy link
Copy Markdown
Contributor Author

@claude /pr-review

@claude

claude Bot commented Nov 21, 2026 •

Copy link
Copy Markdown

Claude finished @Gasoonjia's task in 11m 41s —— View job


Summary: The diff itself is harmless, but the description and commit message are wrong. The three NVFP4 test files already ran in unittest-cuda (system) on the same A10G runner, so this only moves them between shards: it adds no coverage and runs nothing on an A100.

Detailed review

PR Review: #25420

Summary

This PR moves test_nvfp4_kernels.py, test_nvfp4_launch_validation.py and test_nvfp4_soft_decode.py from the unittest-cuda system shard into the kernel shard. It also pins gguf>=0.19 in requirements-dev.txt. I found one problem: the description and commit message say the change adds A100 coverage. It adds no coverage, and this job doesn't run on an A100.

Infrastructure

  • .github/workflows/cuda.yml:548-550: this moves the tests between shards and runs nothing on an A100.
    • Already covered: The three files already ran in CI. The system shard runs pytest backends/cuda/tests backends/cuda/passes/tests and only ignores KERNEL_TESTS, QUANTIZED_GEMM_TESTS and test_device_placement.py (cuda.yml:646-651; the comment at :538-539 says the same). None of the three were in KERNEL_TESTS at the base, so unittest-cuda (system) was already running them.

    • Wrong GPU: Both shards run on mt-l-x86aavx2-11-41-a10g, which is an A10G (sm_86) (cuda.yml:529). The A100 runner, mt-l-x86iavx512-11-125-a100, is only used by other jobs (:260, :433, :1048, :1305).

    • Consequence: The commit message of ae88bcb and the PR body both say "so the A100 runners exercise the W4A16, GEMV, embedding and software-E4M3 paths". If this lands as is, the history will claim a coverage change that never happened.

    • Fix:

      • If the goal is to classify these as kernel tests (:516, "kernel: Triton kernels and their autotuning"), say that in the message. The shards are split because together they don't fit the 120-minute timeout (:516-518, :528), so also note the kernel shard's wall time from this PR's run.
      • If you wanted sm_80 coverage, add these files to one of the A100 jobs instead.

      Fix this →

Recommendation

Needs Discussion

Nothing in the diff is broken, but what the PR is for needs settling. If it's meant to reclassify the tests, fix the commit message and description and it's fine to land. If you wanted A100 coverage, this change doesn't provide it.


  • Gather context (diff, changed files, CLAUDE.md)
  • Run independent reviews (3-reviewer panel)
  • Consolidate findings
  • Fact-check findings
  • Post final review

@Gasoonjia Gasoonjia changed the title [executorch][cuda] OSS CI: run the NVFP4 kernel tests in the kernel shard; gguf>=0.19 Require gguf>=0.19 for the GGUF tests Nov 21, 2026
@Gasoonjia
Gasoonjia force-pushed the gasoonjia/nvfp4-oss-ci branch from ae88bcb to 6ff4033 Compare November 21, 2026 18:31
@Gasoonjia

Copy link
Copy Markdown
Contributor Author

Thanks — correct, the NVFP4 tests already ran in the system shard on A10G, so the shard move added nothing. Dropped it; this PR now only requires gguf>=0.19, and the description is fixed.

@Gasoonjia
Gasoonjia force-pushed the gasoonjia/nvfp4-oss-ci branch from 89ebeaa to d712b69 Compare November 22, 2026 07:14
@Gasoonjia
Gasoonjia force-pushed the gasoonjia/nvfp4-oss-ci branch from d712b69 to f182058 Compare November 22, 2026 12:01
@Gasoonjia
Gasoonjia force-pushed the gasoonjia/nvfp4-oss-ci branch from f182058 to d7d0c1e Compare November 22, 2026 15:40
`requirements-dev.txt` now requires `gguf>=0.19`, the first release with GGML NVFP4 (type 40) and its reference dequantizer, so `test_gguf_nvfp4.py` runs its gguf reference checks in OSS instead of skipping them. The NVFP4 kernel tests already run in the `unittest-cuda` `system` shard, so no workflow change is needed.

This file is OSS-only, so it can't ship through the internal export of the stack below.

Authored with Claude Code.

This branch was previously deployed

1 inactive deployment
cadence — d2b977d8 Deployed Nov 23, 2026 by Gasoonjia via hifi1s-op-test / hifi1s #40412
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant