Skip to content

Conversation

@olpipi
Copy link
Contributor

@olpipi olpipi commented Nov 4, 2025

Details:

  • FuseMOEExperts. Check if all inputs of postponed_constant are constants

Tickets:

  • ticket-id

@olpipi olpipi requested a review from a team as a code owner November 4, 2025 11:35
@olpipi olpipi requested review from CuriousPanCake and removed request for a team November 4, 2025 11:35
@github-actions github-actions bot added the category: transformations OpenVINO Runtime library - Transformations label Nov 4, 2025
@mryzhov mryzhov requested a review from a team November 4, 2025 11:35

auto fused = std::make_shared<ov::op::v0::Concat>(inputs, 0);
fused->get_rt_info()["postponed_constant"] = true;
if (std::all_of(inputs.begin(), inputs.end(), [](const Output<Node>& input) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it impact on some tests?
Or there should be one to fail without new code.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a fix for potential corner case. Right now semantically guarantied that all inputs are constants. But if for example current transformation (or some others) will be changed, behavior can be changed and we gets error on serialization step.
So no tests are affected right now

@olpipi olpipi added this to the 2026.0 milestone Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: transformations OpenVINO Runtime library - Transformations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants