-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Transformations] Fix vector subscript out of range in transformations #27180
[Transformations] Fix vector subscript out of range in transformations #27180
Conversation
RemoveMultiSubGraphOpDanglingParamsResults
why did this test start crashing? this is not a new test, what changed?
|
...ations/src/transformations/common_optimizations/remove_multi_subgraph_op_dangling_params.cpp
Show resolved
Hide resolved
MSVC in debug mode use additional assert which make additional check e.g. if index in range or check if comparators meets some requirements. Is not visible on gcc builds. |
I'm trying to clarify why we didn't notice this problem earlier. |
Looks here is added and was not detected previously |
We are going to include Win Debug checks in pre-commit scope, previously it was a a part of post-commit checks only and moreover it was built unproperly (as Release build), that is why issue has not been detected earlier |
We agreed to merge this as a temporary solution. |
d96bd7d
@praasz, can we have a test for this case in the precommit please? This problem affects several models from TF. See https://jira.devtools.intel.com/browse/CVS-155711 |
openvinotoolkit#27180) ### Details: - Fix issue reported by MSVC `Assertion failed: vector subscript out of range` by skip accessing not existing parameters in `RemoveMultiSubGraphOpDanglingParamsResults` transformation. ### Tickets: - CVS-155258
Details:
Assertion failed: vector subscript out of range
by skip accessing not existing parameters inRemoveMultiSubGraphOpDanglingParamsResults
transformation.Tickets: