Skip to content

fix(lint): clear the ruff gate and document 4090/RDNA4 kernel parity in the README - #3534

Merged
Qubitium merged 1 commit into
ModelCloud:mainfrom
Qubitium:ruff-readme
Nov 4, 2026
Merged

Qubitium merged 1 commit into
ModelCloud:mainfrom
Qubitium:ruff-readme

Conversation

@Qubitium

@Qubitium Qubitium commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

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.sh now reports All checks passed! (ruff 0.14.2).

File Fix
gptqmodel/nn_modules/triton_utils/dequant.py drop unused arch_class import
tests/kernels/test_awq_rdna4_plan.py drop unused AwqTritonPlan import
tests/kernels/test_gguf_rocm_triton.py drop unused numpy import
tests/kernels/test_gptq_ada_gemm.py drop unused gptq_gemm as gemm_mod import
tests/kernels/test_bitsandbytes_rocm_triton.py I001 import spacing
tests/kernels/test_gguf_ada_fixed_launch.py I001 import order
tests/test_rocm_awq_gemv_gating.py I001 import order
tests/test_rocm_backend_gating.py remove unused source local + BACKEND import
tests/test_hw_parity_contract.py dict(...) -> literal (C408)

README

  • 7.9.0 release notes: the Kernels bullet 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 for M >= 16 (Ada keeps the vendor kernels).
  • Platform/HW table: AMD row now lists AWQ Triton GEMM/GEMV, ParoQuant Triton, GGUF Triton, and BitsAndBytes 4-bit Triton, and corrects the fused GPTQ entry to GEMV/GEMM.
  • ROCm prose: documents the bitsandbytes M >= 16 dispatch, the M < 16 GEMV cutoff, and GPTQMODEL_BNB_TRITON=1.

Verification

  • ruff check gptqmodel docs/eora tests setup.py -> All checks passed!
  • Touched tests, CUDA (4090): 192 passed, 2 skipped
  • Touched tests, ROCm (R9700): 120 passed, 1 skipped

No behavior change; imports only.

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.
@Qubitium
Qubitium merged commit 2a82112 into ModelCloud:main Nov 4, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant