Skip to content

fix gguf issue in alg_ext.py#1649

Open
wenhuach21 wants to merge 2 commits intomainfrom
wenhuach21-patch-1
Open

fix gguf issue in alg_ext.py#1649
wenhuach21 wants to merge 2 commits intomainfrom
wenhuach21-patch-1

Conversation

@wenhuach21
Copy link
Copy Markdown
Contributor

Description

Please briefly describe your main changes, the motivation.

Type of Change

  • Bug fix
  • New feature
  • Documentation update
  • Performance improvement
  • Code refactoring
  • Other (please specify):

Related Issues

Fixes or relates to #

Checklist Before Submitting

  • My code has been tested locally.
  • Documentation has been updated as needed.
  • New or updated tests are included where applicable.

Copilot AI review requested due to automatic review settings April 2, 2026 09:44
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the algorithm extension utilities in auto_round/alg_ext.py, primarily adjusting masking logic for loss computation and refining the iterative WLS quantization search rounding behavior.

Changes:

  • Tweaks the top-percent absolute value mask selection logic line (no functional change intended, but exposes a doc/behavior mismatch).
  • Adds the rounding perturbation term v into the quant_data_new computation inside iterative_wls_quant_search.

@wenhuach21 wenhuach21 changed the title Update alg_ext.py fix gguf issue in alg_ext.py Apr 3, 2026
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.

2 participants