-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
PassManager refactoring and new debug caps #25637
PassManager refactoring and new debug caps #25637
Conversation
96fd022
to
078f168
Compare
…m/itikhono/openvino into itikhono/refactoring/pass_manager
@@ -101,7 +101,7 @@ bool ov::pass::SDPAToPagedAttention::run_on_model(const std::shared_ptr<ov::Mode | |||
auto batch_dim = | |||
std::make_shared<v3::ShapeOf>(position_ids); // it is not always required, so will be disposed if not needed | |||
|
|||
ov::pass::Manager manager; | |||
ov::pass::Manager manager("SDPA to PA"); |
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.
naming style?
|
||
// This checks if we need to skip the graph transformation when the graph pass relies on | ||
// static shape but the model state is dynamic. | ||
if (pass->get_property(PassProperty::REQUIRE_STATIC_SHAPE) && model->is_dynamic()) { |
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.
Do we use it in the project? Asking out of curiosity.
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.
to be honest, I don't know
most probably we don't , I will try to figure it out and might be delete it in the next PR
@@ -23,8 +23,11 @@ class OPENVINO_API Manager { | |||
Manager(); | |||
virtual ~Manager(); | |||
|
|||
//// \brief Construct Manager with a provided name. | |||
explicit Manager(std::string name); |
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 "UnnamedManager" is not used here as well?
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.
We want to collect information about managers/transformations execution time in a separate job. We need this name parameter here to identify manager in debug log
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.
Added another PR #25842 to fix it
Details:
New debug output format:
Tickets: