torch.ao.quantization deprecation tracker (original) (raw)

We are deprecating torch.ao.quantization and will migrate pt2e quantization to torchao.

API changes:

# before
from torch.ao.quantization.quantize_pt2e import prepare_pt2e, prepare_qat_pt2e, convert_pt2e
# after
from torchao.quantization.pt2e.quantize_pt2e import prepare_pt2e, prepare_qat_pt2e, convert_pt2e

# TODO: more