Skip to content

Conversation

@MekkCyber
Copy link
Contributor

What does this PR do?

Fixes the deprecation of int4_weight_only deprecation in torchao>=0.14.0 pytorch/ao#2994

@HuggingFaceDocBuilderDev

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.

@MekkCyber MekkCyber requested a review from SunMarc October 22, 2025 09:22
Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

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

Thanks!

@SunMarc SunMarc enabled auto-merge (squash) October 22, 2025 14:13
@SunMarc
Copy link
Member

SunMarc commented Oct 22, 2025

failing tests are due to torchao:
ERROR tests/quantization/torchao_integration/test_torchao.py - NameError: name 'Int4WeightOnlyConfig' is not defined

@github-actions
Copy link
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: torchao_integration

@SunMarc SunMarc merged commit 0eb372b into main Oct 23, 2025
15 checks passed
@SunMarc SunMarc deleted the fix_torchao_tests branch October 23, 2025 08:26
ngazagna-qc pushed a commit to ngazagna-qc/transformers that referenced this pull request Oct 23, 2025
)

* initial commit

* clean int4_weight_only

* make style

---------

Co-authored-by: Marc Sun <[email protected]>
i3hz pushed a commit to i3hz/transformers that referenced this pull request Oct 30, 2025
)

* initial commit

* clean int4_weight_only

* make style

---------

Co-authored-by: Marc Sun <[email protected]>
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