From 22d1a6fee334bba87a958db6d2e6b909edbb9a0e Mon Sep 17 00:00:00 2001 From: Chen Lai Date: Fri, 12 Sep 2025 14:17:12 -0700 Subject: [PATCH] update pt2e example code Summary: As title, moving to torchao Reviewed By: jerryzh168 Differential Revision: D82341472 --- docs/source/backends-qualcomm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/backends-qualcomm.md b/docs/source/backends-qualcomm.md index f427c7c7cea..45f932da491 100644 --- a/docs/source/backends-qualcomm.md +++ b/docs/source/backends-qualcomm.md @@ -385,7 +385,7 @@ example_inputs = (torch.randn(1, 3, 224, 224),) # Example input tensor Choose between quantization approaches, post training quantization (PTQ) or quantization aware training (QAT): ```python from executorch.backends.qualcomm.quantizer.quantizer import QnnQuantizer -from torch.ao.quantization.quantize_pt2e import prepare_pt2e, prepare_qat_pt2e, convert_pt2e +from torchao.quantization.pt2e.quantize_pt2e import prepare_pt2e, prepare_qat_pt2e, convert_pt2e quantizer = QnnQuantizer() m = torch.export.export(model, example_inputs, strict=True).module()