Skip to content

chore(paroquant): sort the new numerics import (ruff I001 on main) - #3913

Merged
Qubitium merged 1 commit into
mainfrom
chore/paroquant-import-order
Nov 14, 2026
Merged

Qubitium merged 1 commit into
mainfrom
chore/paroquant-import-order

Conversation

@Qubitium

Copy link
Copy Markdown
Collaborator

Follow-up to #3893 (issue #3866).

format/check.sh (the ruff-check CI gate) fails on current main:

I001 [*] Import block is un-sorted or un-formatted
  --> gptqmodel/nn_modules/qlinear/paroquant.py:11:1

The fp32 bias epilogue change added from ._numerics import linear_wide_bias after from ._runtime_cache import tensor_cache_key. This reorders the two local imports; no behavior change.

Validation

Command Result
ruff check gptqmodel docs/eora tests setup.py (same paths as format/check.sh) before 1 error (I001)
same after All checks passed!
pytest tests/kernels/test_paroquant.py -q on RTX 4090 23 passed

The fp32 bias epilogue change (#3893) added `from ._numerics import
linear_wide_bias` after `from ._runtime_cache import tensor_cache_key`, so
`format/check.sh` (ruff I001) fails on main. Reorder the two local imports;
no behavior change.
@Qubitium
Qubitium merged commit ebc3cc2 into main Nov 14, 2026
6 checks passed
@Qubitium
Qubitium deleted the chore/paroquant-import-order branch November 14, 2026 08:52
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