-
Notifications
You must be signed in to change notification settings - Fork 2.6k
NPUW: Lift logging levels and fix Scalar matching #30778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Helps handle some convoluted IRs where Consts are reused across ops
auto this_const = std::static_pointer_cast<ov::op::v0::Constant>(ov_node); | ||
auto this_type = this_const->get_element_type(); | ||
auto this_shape = ov_node->output(0).get_shape(); | ||
if (this_type == ov::element::i64 && this_shape.size() == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why i64 only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question, I did the initial refactoring to replace this check with "is_tiny()" or smt like that, but decided to reduce the scope for this untangling procedure only to the case where it fires
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but we need to check the impact first
Details:
Tickets: