Repository navigation
Conversation
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
Fixes the five test-side failures (plus one log string) reported in #4234. No library behaviour changes except the debug message.
What Changed
tests/test_triton.py,tests/test_q4_triton.py: class-level CUDA-only skip gate for the tests that forceTritonV2Linear(CUDA-only kernel). Scoped so the GIL/autotune test is not over-skipped.tests/test_kernel_device_error_reason.py: patchcached_validate_once(the gatevalidate()actually consults) instead of relying onvalidate_device; avoids poisoning thelru_cacheand skips the Hopper-message test when the extension is unbuilt.tests/kernels/test_selection.py: GGUF selection tests now use a real GGUF qtype (q4_k) instead ofbits=4(which resolves to Q4_0, rejected byGGUFTritonKernel).tests/kernels/test_paroquant.py: scale-awareatol(2 * fp16_eps * max|out|) for the near-zero cancellation case.tests/test_hessian_device_reduction_order.py: expectation mirrorsmaterialize_global_hessian'sadd_(partial, alpha=2/n)FMA contract.gptqmodel/nn_modules/qlinear/gguf_triton.py: corrected the AUTO backend debug message.Tests
Not run:
test_triton.pyloads a 7B fp16 model (~14 GB) — over the sandbox budget; ROCm skip behaviour was verified by simulatingDEVICE.ROCM.Fixes #4234
Model Support / Module Plan
N/A — no new model types or registry entries.
Verification environment
No compiled GPTQModel extensions are built in this environment (Machete/Marlin/QQQ-CUDA unavailable), so hardware-specific paths are called out explicitly above. The 19 fix branches from this sprint merge cleanly into one integration branch; the combined run was 195 passed, 2 skipped,
ruff checkclean.