Skip to content

Remove references to torchao's AffineQuantizedTensor#3140

Merged
BenjaminBossan merged 1 commit intohuggingface:mainfrom
andrewor14:delete-aqt
Apr 9, 2026
Merged

Remove references to torchao's AffineQuantizedTensor#3140
BenjaminBossan merged 1 commit intohuggingface:mainfrom
andrewor14:delete-aqt

Conversation

@andrewor14
Copy link
Copy Markdown
Contributor

Summary: TorchAO recently deprecated AffineQuantizedTensor and related classes (pytorch/ao#2752). These will be removed in the next release. We should remove references of these classes in peft before then.

Similar to:

Test Plan: CI

**Summary:** TorchAO recently deprecated AffineQuantizedTensor
and related classes (pytorch/ao#2752). These will be removed
in the next release. We should remove references of these
classes in peft before then.

Similar to:
- huggingface/diffusers#13405
- huggingface/transformers#45321

**Test Plan:** CI
@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.

Copy link
Copy Markdown
Member

@BenjaminBossan BenjaminBossan left a comment

Choose a reason for hiding this comment

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

Thanks for the heads up. I checked the GPU tests locally (not run in normal CI) with torchao 0.16 and the tests passed.

@BenjaminBossan BenjaminBossan merged commit 303aab5 into huggingface:main Apr 9, 2026
10 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.

3 participants