Skip to content

add deprecation warning to torchao.autoquant#3741

Merged
vkuzo merged 1 commit intomainfrom
20260128_autoquant_deprecation_warning
Jan 28, 2026
Merged

add deprecation warning to torchao.autoquant#3741
vkuzo merged 1 commit intomainfrom
20260128_autoquant_deprecation_warning

Conversation

@vkuzo
Copy link
Copy Markdown
Contributor

@vkuzo vkuzo commented Jan 28, 2026

Summary:

Context: #3739

Test Plan:

CI

Also,

>>> torchao.autoquant(m)
/home/dev/.conda/envs/pt_nightly/lib/python3.12/site-packages/torch/utils/_contextlib.py:124: FutureWarning: torchao.autoquant is deprecated and will be removed in a future release. For more information, see: https://github.c
om/pytorch/ao/issues/3739
  return func(*args, **kwargs)
Linear(in_features=4, out_features=4, bias=True)

Summary:

Context: #3739

Test Plan:

CI

Also,

```python
>>> torchao.autoquant(m)
/home/dev/.conda/envs/pt_nightly/lib/python3.12/site-packages/torch/utils/_contextlib.py:124: FutureWarning: torchao.autoquant is deprecated and will be removed in a future release. For more information, see: https://github.c
om//issues/3739
  return func(*args, **kwargs)
Linear(in_features=4, out_features=4, bias=True)
```
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot bot commented Jan 28, 2026

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3741

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit bcb8aae with merge base 8940de9 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 28, 2026
@vkuzo vkuzo added module: deprecation Use this tag if this PR deprecates a feature and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jan 28, 2026
@vkuzo vkuzo requested a review from jerryzh168 January 28, 2026 15:24
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 28, 2026
@vkuzo vkuzo merged commit b55ed7f into main Jan 28, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. module: deprecation Use this tag if this PR deprecates a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants