From 9f528a05918b1541df948efc8f01621f8b96101a Mon Sep 17 00:00:00 2001 From: Naveen Suda Date: Tue, 12 Aug 2025 18:25:32 -0700 Subject: [PATCH] Fix 8w8a qat qconfig setting activations (#13284) Summary: Pull Request resolved: https://github.com/pytorch/executorch/pull/13284 8-bit activation qconfig should not use reduce_range=True which limits the range to 0,127. This diff fixes that issue. Reviewed By: cccclai Differential Revision: D80007226 --- backends/qualcomm/quantizer/qconfig.py | 1 - 1 file changed, 1 deletion(-) diff --git a/backends/qualcomm/quantizer/qconfig.py b/backends/qualcomm/quantizer/qconfig.py index b510a8d9c7e..333e94ed128 100644 --- a/backends/qualcomm/quantizer/qconfig.py +++ b/backends/qualcomm/quantizer/qconfig.py @@ -396,7 +396,6 @@ def get_8a8w_qnn_qat_config( qscheme=( torch.per_tensor_symmetric if act_symmetric else torch.per_tensor_affine ), - reduce_range=True, observer=act_observer, ) act_quantization_spec = QuantizationSpec(