Skip to content

Commit 354c03a

Browse files
navsudfacebook-github-bot
authored andcommitted
Fix 8w8a qat qconfig setting activations (#13284)
Summary: 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
1 parent 310a05d commit 354c03a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

backends/qualcomm/quantizer/qconfig.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@ def get_8a8w_qnn_qat_config(
396396
qscheme=(
397397
torch.per_tensor_symmetric if act_symmetric else torch.per_tensor_affine
398398
),
399-
reduce_range=True,
400399
observer=act_observer,
401400
)
402401
act_quantization_spec = QuantizationSpec(

0 commit comments

Comments
 (0)