Skip to content

Commit aafb938

Browse files
Update the default PT2E config (#2041)
Signed-off-by: yiliu30 <yi4.liu@intel.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 9aec7ae commit aafb938

File tree

1 file changed

+0
-2
lines changed
  • neural_compressor/torch/quantization

1 file changed

+0
-2
lines changed

neural_compressor/torch/quantization/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,8 +1453,6 @@ def get_default_static_config() -> StaticQuantConfig:
14531453
Returns:
14541454
the default static quant config.
14551455
"""
1456-
if not is_ipex_imported():
1457-
return StaticQuantConfig(w_granularity="per_tensor")
14581456
return StaticQuantConfig()
14591457

14601458

0 commit comments

Comments
 (0)