From acccb227fba18aa4ef4536f8774563f63cd596b1 Mon Sep 17 00:00:00 2001 From: Andrii Staikov Date: Wed, 13 Nov 2024 10:54:35 +0100 Subject: [PATCH] [TRANSFORMATIONS | GPU] Add a Validate pass after MoveEltwiseUpThroughDataMovScalar for element type resolution (#27464) [TRANSFORMATIONS | GPU] Add a Validate pass after MoveEltwiseUpThroughDataMovScalar After executing the MoveEltwiseUpThroughDataMovScalar transforamtion some node's element types may appear to be in inconsistent/corrupted state. Fix it by inserting a Validate pass after the transformation for resolving the node's element types. This commit is a workaround until the 141764 is fixed which resolves the issue of Validate passes. Ticket: * CVS-151111 Signed-off-by: Andrii Staikov Signed-off-by: Andrii Staikov --- .../intel_gpu/src/plugin/transformations_pipeline.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp b/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp index 158dee2ee7ac05..db93696865a971 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations_pipeline.cpp @@ -824,6 +824,11 @@ void TransformationsPipeline::apply(std::shared_ptr func) { ov::op::v3::Broadcast::get_type_info_static(), }; manager.register_pass(allowed_data_movement_ops); + // FIXME (151111): this Validate is added as a workaround for resolving element + // types after MoveEltwiseUpThroughDataMovScalar. It has to be removed + // after 141764 is fixed as there's a clear issue with Validate passes + // not working properly. + manager.register_pass(); manager.register_pass(); manager.register_pass();