---
title: "torchao 0.18.0 Breaking Changes on PyPI | Since.dev"
description: "What each torchao release removed, renamed or changed: 261 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/torchao
last_updated: 2026-12-04
---

# torchao breaking changes

torchao 0.18.0 (August 3, 2026) is its newest release with breaking changes, 261 of them. The first: torchao 0.18.0 requires PyTorch 2.11 or later. Every breaking API change we have recorded in torchao on PyPI: 261 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.18.0`, released August 3, 2026. [Source repository](https://github.com/pytorch/ao)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## torchao 0.18.0 breaking changes

torchao 0.18.0, released August 3, 2026: 261 breaking changes.

- **Removed**  

Support for PyTorch versions older than 2.11 was removed from the code. Users on older PyTorch must upgrade to 2.11 or newer. [github.com](https://github.com/pytorch/ao/releases/tag/v0.18.0)
- **Removed** `AffineQuantizedTensor`  

The deprecated v1 AffineQuantizedTensor class was deleted in favor of v2 tensor subclasses. [github.com](https://github.com/pytorch/ao/releases/tag/v0.18.0)
- **Removed** `AQTTensorImpl`  

The v1 AQTTensorImpl was deleted along with the v1 quantized tensor stack. [github.com](https://github.com/pytorch/ao/releases/tag/v0.18.0)
- **Removed** `check_xpu_version`  

The check_xpu_version helper was removed. [github.com](https://github.com/pytorch/ao/releases/tag/v0.18.0)
- **Removed** `insert_observers_`  

The insert_observers\_ function was removed. [github.com](https://github.com/pytorch/ao/releases/tag/v0.18.0)
- **Removed** `LinearActivationWeightObservedTensor`  

LinearActivationWeightObservedTensor was removed. [github.com](https://github.com/pytorch/ao/releases/tag/v0.18.0)
- **Removed** `test.prototype.moe_training.test_fp8_grouped_mm.torch_version_at_least`  

test.prototype.moe_training.test_fp8_grouped_mm.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.moe_training.test_kernels.mxfp8_quantize_cuda_2d`  

test.prototype.moe_training.test_kernels.mxfp8_quantize_cuda_2d was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.moe_training.test_mxfp8_grouped_mm.torch_version_at_least`  

test.prototype.moe_training.test_mxfp8_grouped_mm.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.moe_training.test_tensor.torch_version_at_least`  

test.prototype.moe_training.test_tensor.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_autoround.AffineQuantizedTensor`  

test.prototype.test_autoround.AffineQuantizedTensor was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_awq.Int4WeightOnlyOpaqueTensorConfig`  

test.prototype.test_awq.Int4WeightOnlyOpaqueTensorConfig was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_awq.torch_version_at_least`  

test.prototype.test_awq.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_da8w4_cpu.torch_version_at_least`  

test.prototype.test_da8w4_cpu.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_float8_opaque_tensor.torch_version_at_least`  

test.prototype.test_float8_opaque_tensor.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_int4_opaque_tensor.Int4WeightOnlyOpaqueTensorConfig`  

test.prototype.test_int4_opaque_tensor.Int4WeightOnlyOpaqueTensorConfig was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_int4_opaque_tensor.torch_version_at_least`  

test.prototype.test_int4_opaque_tensor.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_mixed_precision.intN_weight_only`  

test.prototype.test_mixed_precision.intN_weight_only was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_parq.torch_version_at_least`  

test.prototype.test_parq.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.prototype.test_pat`  

test.prototype.test_pat was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `test.test_ops.torch_version_at_least`  

test.test_ops.torch_version_at_least was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.affine_quantized_tensor`  

torchao.dtypes.affine_quantized_tensor was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.affine_quantized_tensor_ops`  

torchao.dtypes.affine_quantized_tensor_ops was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__init__`  

AffineQuantizedTensor() was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__init_subclass__`  

AffineQuantizedTensor.\_\_init_subclass\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__new__`  

AffineQuantizedTensor.\_\_new\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__repr__`  

AffineQuantizedTensor.\_\_repr\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__tensor_flatten__`  

AffineQuantizedTensor.\_\_tensor_flatten\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__tensor_unflatten__`  

AffineQuantizedTensor.\_\_tensor_unflatten\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__torch_dispatch__`  

AffineQuantizedTensor.\_\_torch_dispatch\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.__torch_function__`  

AffineQuantizedTensor.\_\_torch_function\_\_ was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.block_size`  

AffineQuantizedTensor.block_size was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.dequantize`  

AffineQuantizedTensor.dequantize was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.from_hp_to_floatx`  

AffineQuantizedTensor.from_hp_to_floatx was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.from_hp_to_floatx_static`  

AffineQuantizedTensor.from_hp_to_floatx_static was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.from_hp_to_intx`  

AffineQuantizedTensor.from_hp_to_intx was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.from_hp_to_intx_static`  

AffineQuantizedTensor.from_hp_to_intx_static was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.get_layout`  

AffineQuantizedTensor.get_layout was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.implements`  

AffineQuantizedTensor.implements was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.implements_torch_function`  

AffineQuantizedTensor.implements_torch_function was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.quant_max`  

AffineQuantizedTensor.quant_max was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.quant_min`  

AffineQuantizedTensor.quant_min was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.tensor_impl`  

AffineQuantizedTensor.tensor_impl was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.to`  

AffineQuantizedTensor.to was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.AffineQuantizedTensor.zero_point_domain`  

AffineQuantizedTensor.zero_point_domain was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.floatx`  

torchao.dtypes.floatx was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.Layout`  

The layout classes of the v1 system were deleted. [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.nf4tensor`  

torchao.dtypes.nf4tensor was removed in torchao 0.18.0 [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.NF4Tensor`  

NF4Tensor was moved to the quantization.quantize\_.workflows module; imports must be updated. [pypi.org](https://pypi.org/project/torchao/0.18.0/)
- **Removed** `torchao.dtypes.PlainLayout`  

The deprecated PlainLayout and PlainAQTTensorImpl v1 code paths were deleted. [pypi.org](https://pypi.org/project/torchao/0.18.0/)

And 211 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
