Skip to content

[Quantizaiton]support 5/6/7 bits in AutoRound - #48481

Merged
SunMarc merged 7 commits into
huggingface:mainfrom
wenhuach21:patch-1
Sep 9, 2026
Merged

SunMarc merged 7 commits into
huggingface:mainfrom
wenhuach21:patch-1

Conversation

@wenhuach21

@wenhuach21 wenhuach21 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

CPU CI GPU run-slow

What does this PR do?

Allows AutoRound format support 5/6/7 bits

Fixes # (issue)

Code Agent Policy

The Transformers repo is currently being overwhelmed by a large number of PRs and issue comments written by
code agents. These often are low-quality, or fix extremely minor issues that occur rarely or never in practice.
As a result, we're instituting a rule that first-time contributors should not use code agents to submit PRs or issues.
We'd also ask autonomous "OpenClaw"-like agents not to open any PRs or issues.

Issues/PRs from first-time contributors that violate this rule will probably just be closed without review, and we
might block you, especially if you open more than one or appear to be deliberately ignoring this. We especially do not
want new contributors to jump in on random issues to contribute an agent-written fix. This creates lots of noise
for reviewers and other users and will almost certainly get you blocked.

For more information, please read CONTRIBUTING.md.

  • (First-time contributors only): I confirm that this PR description and code is not written by an LLM or code agent

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline and the
    Pull Request checks?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes according to the guidelines?
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@wenhuach21 wenhuach21 changed the title support 5/6/7 bits in AutoRound [Quantizaiton]support 5/6/7 bits in AutoRound Sep 2, 2026
@wenhuach21

Copy link
Copy Markdown
Contributor Author

@SunMarc a very simple pr, could you have a review when you are free?

@SunMarc SunMarc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@SunMarc
SunMarc added this pull request to the merge queue Sep 8, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 8, 2026

@stevhliu stevhliu left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nice, thanks for updating! would you also mind updating the docs https://huggingface.co/docs/transformers/main/en/quantization/auto_round as well?

Signed-off-by: Wenhua Cheng <wenhua.cheng@intel.com>
Signed-off-by: Wenhua Cheng <wenhua.cheng@intel.com>
Signed-off-by: Wenhua Cheng <wenhua.cheng@intel.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 34308144897:2
Result: success | Jobs: 16 | Tests: 176,238 | Failures: 0 | Duration: 17h 13m

@wenhuach21

Copy link
Copy Markdown
Contributor Author

nice, thanks for updating! would you also mind updating the docs https://huggingface.co/docs/transformers/main/en/quantization/auto_round as well?

Thanks for the reminder, I just updated it, please have a review again!

@SunMarc
SunMarc enabled auto-merge September 9, 2026 10:40
@SunMarc
SunMarc added this pull request to the merge queue Sep 9, 2026
Merged via the queue into huggingface:main with commit e8bcd79 Sep 9, 2026
115 checks 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.

4 participants