Skip to content

Commit 5154ad6

Browse files
[OpenVINO] Constant folding is removed from the OpenVINOQuantizer
1 parent cff39cd commit 5154ad6

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

backends/openvino/quantizer/quantizer.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,6 @@ def _get_torch_ao_qspec_from_qp(
341341
def validate(self, model: torch.fx.GraphModule) -> None:
342342
pass
343343

344-
def transform_for_annotation(
345-
self, model: torch.fx.GraphModule
346-
) -> torch.fx.GraphModule:
347-
# Fold constant branches to avoid their quantization
348-
nncf_fx.transformations.fold_constant_except_qdq(model)
349-
return model
350-
351344

352345
def quantize_model(
353346
captured_model: torch.fx.GraphModule,

0 commit comments

Comments
 (0)