Skip to content

Commit

Permalink
remove different quant_preprocess default for qnn ep
Browse files Browse the repository at this point in the history
  • Loading branch information
jambayk committed Jan 23, 2025
1 parent 28beb3f commit 6cfaf62
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion olive/passes/onnx/quantization.py
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,6 @@ def _default_config(cls, accelerator_spec: AcceleratorSpec) -> Dict[str, PassCon
config["activation_type"].search_defaults = Categorical(["QInt8", "QUInt8", "QUInt16", "QInt16"])
config["weight_type"].search_defaults = Categorical(["QInt8", "QUInt8", "QUInt16", "QInt16"])
config["prepare_qnn_config"].default_value = True
config["quant_preprocess"].default_value = False
# in QNN EP, the default value WeightSymmetric is None
# but in base quantizer, the default value is True.
config["WeightSymmetric"].default_value = None
Expand Down

0 comments on commit 6cfaf62

Please sign in to comment.