From 334be2da0e469a92b0e46d6a185ec689b00ab493 Mon Sep 17 00:00:00 2001 From: "Kim, Mingyu" Date: Tue, 6 Aug 2024 17:07:11 +0900 Subject: [PATCH] build fix --- src/common/transformations/src/ov_ops/dynamic_quantize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/transformations/src/ov_ops/dynamic_quantize.cpp b/src/common/transformations/src/ov_ops/dynamic_quantize.cpp index bc1ec4c18f0ab1..9bb678c1878b41 100644 --- a/src/common/transformations/src/ov_ops/dynamic_quantize.cpp +++ b/src/common/transformations/src/ov_ops/dynamic_quantize.cpp @@ -58,7 +58,7 @@ std::vector DynamicQuantize::shape_infer(const DynamicQuantize scale_shape[i] = 1; else { scale_shape[i] /= group_sizes[i]; // if group_size is larger than shape, scale_shape will be 1 - scale_shape[i] = std::max(scale_shape[i].get_length(), 1L); + scale_shape[i] = std::max(static_cast(scale_shape[i].get_length()), 1); } } out_shapes.push_back(scale_shape);