Repository navigation
fix(lint): clear the ruff gate and document 4090/RDNA4 kernel parity in the README - #3534
Merged
Merged
Conversation
The hardware-parity work (ModelCloud#3532) and the bitsandbytes RDNA4 GEMM (ModelCloud#3533) left ten violations in the CI lint scope (gptqmodel, docs/eora, tests, setup.py): four unused imports, four import-ordering issues, one unused local, and one dict() literal. - drop unused imports: arch_class, AwqTritonPlan, numpy, gptq_gemm alias - sort the import blocks in the bitsandbytes, GGUF, and AWQ GEMV tests - remove the unused __doc__ probe and BACKEND import in the ROCm gating test - rewrite the AWQ plan shape as a dict literal README: fold the parity and bitsandbytes coverage into the 7.9.0 release notes, list the new RDNA4 kernels in the platform table, and describe the bitsandbytes ROCm dispatch. ruff check gptqmodel docs/eora tests setup.py: all checks passed. tests: CUDA 192 passed / 2 skipped, ROCm 120 passed / 1 skipped.
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
Follow-up to #3532 and #3533, which merged with 10 ruff violations in the CI lint scope (
gptqmodel,docs/eora,tests,setup.py) and left the README silent about the new kernels. This clears the gate and documents the work.Lint fixes
format/check.shnow reports All checks passed! (ruff 0.14.2).gptqmodel/nn_modules/triton_utils/dequant.pyarch_classimporttests/kernels/test_awq_rdna4_plan.pyAwqTritonPlanimporttests/kernels/test_gguf_rocm_triton.pynumpyimporttests/kernels/test_gptq_ada_gemm.pygptq_gemm as gemm_modimporttests/kernels/test_bitsandbytes_rocm_triton.pytests/kernels/test_gguf_ada_fixed_launch.pytests/test_rocm_awq_gemv_gating.pytests/test_rocm_backend_gating.pysourcelocal +BACKENDimporttests/test_hw_parity_contract.pydict(...)-> literal (C408)README
Kernelsbullet now folds in the RTX 4090 (Ada) + RDNA4 launch tables for every tuned Triton pipeline (GPTQ GEMV/GEMM/dequant, ParoQuant GEMM, AWQ GEMM/GEMV, GGUF Triton, bitsandbytes 4-bit), the hardware-free parity contract, and the bitsandbytes 4-bit GEMM at 1.4x-6.3x on RDNA4 forM >= 16(Ada keeps the vendor kernels).AWQ Triton GEMM/GEMV,ParoQuant Triton,GGUF Triton, andBitsAndBytes 4-bit Triton, and corrects the fused GPTQ entry toGEMV/GEMM.M >= 16dispatch, theM < 16GEMV cutoff, andGPTQMODEL_BNB_TRITON=1.Verification
ruff check gptqmodel docs/eora tests setup.py-> All checks passed!No behavior change; imports only.