Skip to content

Commit

Permalink
fast break
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousPanCake committed Nov 15, 2024
1 parent b6dd010 commit 541b714
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/src/pass/sdpa_to_paged_attention.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ bool ov::pass::SDPAToPagedAttention::run_on_model(const std::shared_ptr<ov::Mode

std::shared_ptr<v0::Parameter> input_ids_node;
for (const auto& name : {"input_ids", "inputs_embeds"}) {
input_ids_node = get_parameter(model, name);
if (input_ids_node = get_parameter(model, name)) {
break;
}
}

if (!input_ids_node) {
Expand Down

0 comments on commit 541b714

Please sign in to comment.