Skip to content

fix(paroquant): wire the benchmark fused-rotation flag through config (#4541) - #4556

Merged
Qubitium merged 1 commit into
mainfrom
fix/paroquant-benchmark-flag-4541
Nov 17, 2026
Merged

Qubitium merged 1 commit into
mainfrom
fix/paroquant-benchmark-flag-4541

Conversation

@Qubitium

Copy link
Copy Markdown
Collaborator

Summary

Fixes #4541, a regression from the #4460 env-var removal. The ParoQuant benchmark's fused_opt_rotation flag no longer reached the config, so it was a no-op while benchmark rows still claimed fused rotation.

  • make_paroquant_config accepts opt_fused_rotation and forwards it to ParoQuantConfig.
  • _run_paroquant_case records the effective path: layer-scope live optimization pins the portable PyTorch rotation regardless of the requested toggle, so rows now report False when that happens.
  • No environment-variable configuration is reintroduced.

Validation

  • pytest tests/test_paroquant.py -k 'benchmark or fused_opt' -q → 4 passed
  • ruff check gptqmodel docs/eora tests setup.py clean

Resolves #4541.

…#4541)

After the #4460 env-var removal the benchmark flag was a no-op while rows
still claimed fused rotation. Pass opt_fused_rotation through
make_paroquant_config, and report the effective path (layer-scope live
optimization pins the portable path) so a row cannot mislabel an unfused
run.
Comment thread tests/test_paroquant.py Resolved
@Qubitium
Qubitium merged commit 7384834 into main Nov 17, 2026
6 checks passed
@Qubitium
Qubitium deleted the fix/paroquant-benchmark-flag-4541 branch November 17, 2026 01:38
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.

[BUG] ParoQuant benchmark fused_opt_rotation flag is a no-op after env-var removal; results mislabeled

1 participant