-
Notifications
You must be signed in to change notification settings - Fork 2.7k
rewrite StatefulSDPAFusion transformation using new symbolic API #31386
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
Closed
Closed
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
0dcd42c
rewrite StatefulSDPAFusion transformation
evkotov 5d1e51f
code review fix: check axis equality
evkotov b47854d
code review fix
evkotov f24a4d9
code review fixes
evkotov 07a2fe0
code review fixes
evkotov 0382e86
build fixes
evkotov 2f7e852
code review fixes
evkotov 1048efa
use const auto& ctx_manager
evkotov 7f80076
clang fixes
evkotov 3b805c2
fix for ov_tensorflow_frontend_tests CompileModelsTests.NgramCompilation
evkotov 973660b
code review fix
evkotov e632e65
code review fixes
evkotov 27cfca8
clang fixes
evkotov e333df1
clang fixes
evkotov 8bf9d16
restore
evkotov 159eae0
fix symbolic optimizations
evkotov 2555689
cleanup
evkotov b3ca0d9
cleanup
evkotov af39142
cleanup
evkotov 1bd46af
clang
evkotov 5518300
move transformations to main pipeline
evkotov 0a111d0
clang
evkotov f826f34
move back transformations
evkotov 5366bc9
clang fixes
evkotov 7c4e8b2
use Manager to get private PassConfig
evkotov 96890c0
fix SymbolicOptimization
evkotov 0466ad8
clang fixes
evkotov 941de2b
add comment due to code review
evkotov d8f3764
return TODO as comment review fix
evkotov 3e78140
code review fix
evkotov 6ae3a1f
clang fix
evkotov 6ffdc1a
fix ov_cpu_func_tests smoke_RoPETestChatGLMSlice/RoPETestChatGLMSlice…
evkotov 4d04a25
pytorch layer test fix
evkotov f3a5c41
Fix PassConfig State Management in SymbolicOptimizationsFix PassConfi…
evkotov 0b2dfb2
Merge remote-tracking branch 'origin/master' into CVS-170030
evkotov 14ace40
use PassConfig copying constructor
evkotov c645293
clang fix
evkotov 6846eb8
cleanup
evkotov f3af756
Merge branch 'master' into CVS-170030
evkotov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
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.
What about the make a copy of config at L:212:
const auto pass_config = m_manager->get_pass_config();
then disable some passes on this copy, in case of error the restoration of original pass config should not be required.
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.
Unfortunately, there is no method Manager::set_pass_config. Should we add this method?
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.
The set pass should not be require the idea was to refactor like:
but maybe there is something missed and it will not work correctly