From 7c199801227dd067304ba46d6920076421853871 Mon Sep 17 00:00:00 2001 From: Nikita Malinin Date: Thu, 22 Aug 2024 16:29:15 +0200 Subject: [PATCH] Revert Slice as agnostic (#2905) ### Changes - Reverts adding Slice as agnostic. ### Reason for changes - Performance degradations. - Lack of the support on the LPT side (https://github.com/openvinotoolkit/openvino/pull/26182). ### Related tickets - 149909 - 149011 ### Tests - N/A --- nncf/openvino/graph/metatypes/groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nncf/openvino/graph/metatypes/groups.py b/nncf/openvino/graph/metatypes/groups.py index 806b3d93367..799b6ce92bd 100644 --- a/nncf/openvino/graph/metatypes/groups.py +++ b/nncf/openvino/graph/metatypes/groups.py @@ -22,7 +22,6 @@ ov_metatypes.OVTransposeMetatype, ov_metatypes.OVTileMetatype, ov_metatypes.OVStridedSliceMetatype, - ov_metatypes.OVSliceMetatype, ov_metatypes.OVShuffleChannelsMetatype, ov_metatypes.OVBroadcastMetatype, ov_metatypes.OVPadMetatype, @@ -39,6 +38,7 @@ ov_metatypes.OVSpaceToDepthMetatype, ov_metatypes.OVBatchToSpaceMetatype, ov_metatypes.OVSpaceToBatchMetatype, + # ov_metatypes.OVSliceMetatype removed from the agnostic list cause of 149909 ticket. # OVReluMetatype is not considered to be QUANTIZATION_AGNOSTIC, because: # 1. Runtime doesn't provide performance benefits by quantizing the stand-alone RELU's (ticket: 59548) # 2. It's frequently better for the end accuracy to have quantizers set up after the RELU