-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[Snippets][DEBUG_CAPS] Add final Linear IR dump capability with subgraph naming #32026
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
Merged
v-Golubev
merged 11 commits into
openvinotoolkit:master
from
aobolensk:snippets=debug-caps-final-lir-dump
Sep 16, 2025
Merged
[Snippets][DEBUG_CAPS] Add final Linear IR dump capability with subgraph naming #32026
v-Golubev
merged 11 commits into
openvinotoolkit:master
from
aobolensk:snippets=debug-caps-final-lir-dump
Sep 16, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
v-Golubev
reviewed
Sep 10, 2025
src/common/snippets/include/snippets/utils/linear_ir_pass_dumper.hpp
Outdated
Show resolved
Hide resolved
src/common/snippets/docs/debug_capabilities/linear_ir_passes_serialization.md
Outdated
Show resolved
Hide resolved
c6001e0
to
bba02b1
Compare
chenhu-wang
reviewed
Sep 11, 2025
src/common/snippets/docs/debug_capabilities/linear_ir_passes_serialization.md
Outdated
Show resolved
Hide resolved
ecbacf8
to
52abb9b
Compare
Add support for dumping final Linear IR right before code generation using the existing OV_SNIPPETS_DUMP_LIR debug capability. - Extend OV_SNIPPETS_DUMP_LIR to support "final" pass name for capturing the final state of Linear IR before code generation - Add name_modifier option to include subgraph friendly names in dump filenames - Sanitize subgraph names by replacing '/' and ':' with '_' for filesystem compatibility - Update LIRPassDump to support optional name prefix for better file identification when multiple subgraphs are present Usage: ```bash OV_SNIPPETS_DUMP_LIR="passes=final name_modifier=subgraph_name" binary ```
v-Golubev
reviewed
Sep 15, 2025
src/common/snippets/include/snippets/utils/linear_ir_pass_dumper.hpp
Outdated
Show resolved
Hide resolved
chenhu-wang
approved these changes
Sep 16, 2025
v-Golubev
approved these changes
Sep 16, 2025
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 job 👍
auto-merge was automatically disabled
September 16, 2025 21:00
Pull Request is not mergeable
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Details:
Add support for dumping final Linear IR right before code generation using the existing OV_SNIPPETS_DUMP_LIR debug capability.
OV_SNIPPETS_DUMP_LIR
to support "final" pass name for capturing the final state of Linear IR before code generationname_modifier
option to include subgraph friendly names in dump filenamesLIRPassDump
to support optional name prefix for better file identification when multiple subgraphs are presentUsage:
OV_SNIPPETS_DUMP_LIR="passes=final name_modifier=subgraph_name" binary
Tickets: