We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04f948c commit d29bb10Copy full SHA for d29bb10
src/plugins/intel_npu/src/plugin/npuw/pyramid_attention.cpp
@@ -1,5 +1,6 @@
1
// Copyright (C) 2018-2026 Intel Corporation
2
// SPDX-License-Identifier: Apache-2.0
3
+//
4
5
#include "pyramid_attention.hpp"
6
@@ -275,6 +276,7 @@ std::optional<PyramidValidationResult> validate_and_setup_pyramid_attention(cons
275
276
}
277
278
auto concat_op = std::dynamic_pointer_cast<ov::op::v0::Concat>(concat_node);
279
+ NPUW_ASSERT(concat_op != nullptr);
280
const auto& concat_out_shape = concat_op->get_output_partial_shape(0);
281
const auto concat_axis =
282
ov::util::try_normalize_axis(concat_op->get_axis(), concat_out_shape.rank(), *concat_op);
0 commit comments