Skip to content

Commit

Permalink
Apply comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kshpv committed Sep 20, 2023
1 parent 8f34fc1 commit 346951e
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 10 deletions.
6 changes: 0 additions & 6 deletions nncf/common/hardware/configs/cpu.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,6 @@
"activations": "q8_a"
}
},
{
"type": "If",
"quantization": {
"activations": "q8_a"
}
},
{"type": "Flatten"},
{"type": "Squeeze"},
{"type": "Unsqueeze"},
Expand Down
1 change: 0 additions & 1 deletion nncf/common/hardware/opset.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,3 @@ class HWConfigOpName:
LSTMSEQUENCE = "LSTMSequence"
GRUSEQUENCE = "GRUSequence"
GROUPNORMALIZATION = "GroupNormalization"
IF = "If"
1 change: 0 additions & 1 deletion nncf/openvino/graph/metatypes/openvino_metatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,6 @@ class OVAbsMetatype(OVOpMetatype):
class OVIfMetatype(OVOpMetatype):
name = "IfOp"
op_names = ["If"]
hw_config_names = [HWConfigOpName.IF]


@OV_OPERATOR_METATYPES.register()
Expand Down
2 changes: 1 addition & 1 deletion nncf/openvino/quantization/quantize_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from nncf.openvino.graph.node_utils import has_if_op
from nncf.openvino.quantization.backend_parameters import BackendParameters
from nncf.openvino.quantization.backend_parameters import is_weight_compression_needed
from nncf.openvino.quantization.quantize_model_if_op import apply_algorithm_if_bodies
from nncf.openvino.quantization.quantize_ifmodel import apply_algorithm_if_bodies
from nncf.openvino.quantization.weights_compression import insert_pre_compression_operations
from nncf.parameters import DropType
from nncf.parameters import ModelType
Expand Down
1 change: 0 additions & 1 deletion nncf/quantization/algorithms/post_training/algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def __init__(
"""
super().__init__()
self.algorithms = []
self.subset_size = subset_size
self.first_stage_algorithms: List[Algorithm] = []

if target_device is TargetDevice.VPU:
Expand Down

0 comments on commit 346951e

Please sign in to comment.