Skip to content

Commit

Permalink
Fix SDPA shape inference issue
Browse files Browse the repository at this point in the history
  • Loading branch information
itikhono committed Nov 8, 2024
1 parent b416fb0 commit 59c340d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ std::vector<layout> scaled_dot_product_attention_inst::calc_output_layouts(scale

std::vector<ShapeType> input_shapes;
for (size_t i = 0; i < impl_param.input_layouts.size(); i++) {
input_shapes.push_back(impl_param.get_input_layout(0).get<ShapeType>());
input_shapes.push_back(impl_param.get_input_layout(i).get<ShapeType>());
}

std::vector<ShapeType> output_shapes = ov::intel_gpu::op::shape_infer(&op,
Expand Down

0 comments on commit 59c340d

Please sign in to comment.