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
On this page
Latest version 0.18.0, released August 3, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
torchao 0.18.0 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 - Removed
AffineQuantizedTensor
The deprecated v1 AffineQuantizedTensor class was deleted in favor of v2 tensor subclasses. github.com - Removed
AQTTensorImpl
The v1 AQTTensorImpl was deleted along with the v1 quantized tensor stack. github.com - Removed
check_xpu_version
The check_xpu_version helper was removed. github.com - Removed
insert_observers_
The insert_observers_ function was removed. github.com - Removed
LinearActivationWeightObservedTensor
LinearActivationWeightObservedTensor was removed. github.com - 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 - 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 - 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 - 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 - Removed
test.prototype.test_autoround.AffineQuantizedTensor
test.prototype.test_autoround.AffineQuantizedTensor was removed in torchao 0.18.0 pypi.org - Removed
test.prototype.test_awq.Int4WeightOnlyOpaqueTensorConfig
test.prototype.test_awq.Int4WeightOnlyOpaqueTensorConfig was removed in torchao 0.18.0 pypi.org - 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 - 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 - 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 - Removed
test.prototype.test_int4_opaque_tensor.Int4WeightOnlyOpaqueTensorConfig
test.prototype.test_int4_opaque_tensor.Int4WeightOnlyOpaqueTensorConfig was removed in torchao 0.18.0 pypi.org - 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 - 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 - 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 - Removed
test.prototype.test_pat
test.prototype.test_pat was removed in torchao 0.18.0 pypi.org - Removed
test.test_ops.torch_version_at_least
test.test_ops.torch_version_at_least was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.affine_quantized_tensor
torchao.dtypes.affine_quantized_tensor was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.affine_quantized_tensor_ops
torchao.dtypes.affine_quantized_tensor_ops was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__init__
AffineQuantizedTensor() was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__init_subclass__
AffineQuantizedTensor.__init_subclass__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__new__
AffineQuantizedTensor.__new__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__repr__
AffineQuantizedTensor.__repr__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__tensor_flatten__
AffineQuantizedTensor.__tensor_flatten__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__tensor_unflatten__
AffineQuantizedTensor.__tensor_unflatten__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__torch_dispatch__
AffineQuantizedTensor.__torch_dispatch__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.__torch_function__
AffineQuantizedTensor.__torch_function__ was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.block_size
AffineQuantizedTensor.block_size was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.dequantize
AffineQuantizedTensor.dequantize was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.from_hp_to_floatx
AffineQuantizedTensor.from_hp_to_floatx was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.from_hp_to_floatx_static
AffineQuantizedTensor.from_hp_to_floatx_static was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.from_hp_to_intx
AffineQuantizedTensor.from_hp_to_intx was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.from_hp_to_intx_static
AffineQuantizedTensor.from_hp_to_intx_static was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.get_layout
AffineQuantizedTensor.get_layout was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.implements
AffineQuantizedTensor.implements was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.implements_torch_function
AffineQuantizedTensor.implements_torch_function was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.quant_max
AffineQuantizedTensor.quant_max was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.quant_min
AffineQuantizedTensor.quant_min was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.tensor_impl
AffineQuantizedTensor.tensor_impl was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.to
AffineQuantizedTensor.to was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.AffineQuantizedTensor.zero_point_domain
AffineQuantizedTensor.zero_point_domain was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.floatx
torchao.dtypes.floatx was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.Layout
The layout classes of the v1 system were deleted. pypi.org - Removed
torchao.dtypes.nf4tensor
torchao.dtypes.nf4tensor was removed in torchao 0.18.0 pypi.org - Removed
torchao.dtypes.NF4Tensor
NF4Tensor was moved to the quantization.quantize_.workflows module; imports must be updated. pypi.org - Removed
torchao.dtypes.PlainLayout
The deprecated PlainLayout and PlainAQTTensorImpl v1 code paths were deleted. pypi.org
And 211 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.