-
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
[CPU] Enable memory reuse for nested graphs #27521
[CPU] Enable memory reuse for nested graphs #27521
Conversation
da1d1a0
to
18563de
Compare
4734e61
to
e140018
Compare
@maxnick Ready for review. Could you please take a look? |
e140018
to
d5bda07
Compare
Added a fix for Convolution + Sum fallback graph. |
src/plugins/intel_cpu/tests/functional/cmake/target_per_test.cmake
Outdated
Show resolved
Hide resolved
408e748
to
11a5115
Compare
7f3fadf
to
9e170ae
Compare
This PR will be closed in a week because of 2 weeks of no activity. |
This PR will be closed in a week because of 2 weeks of no activity. |
ed7ca84
to
467ef3b
Compare
m_auxiliaryNetworkMemoryControl(std::make_shared<NetworkMemoryControl>()), | ||
m_memoryControl(m_auxiliaryNetworkMemoryControl->createMemoryControlUnit()) { |
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.
@dmitry-gorokhov I decided to not create a wrapper around m_auxiliaryNetworkMemoryControl and m_memoryControl.
Instead, it is redesigned, so m_memoryControl is just one memory control instance of m_auxiliaryNetworkMemoryControl
if (memoryControl->allocated()) { | ||
return; // memory is already allocated globally |
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 problem here is the way the legacy graph pipeline stages are implemented.
With a proper pipeline such situation will not be possible.
9ac1226
to
2497eb3
Compare
if (memoryControl->allocated()) { | ||
return; // memory is already allocated globally |
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.
Are there any plans of implementing the proper pipeline? How it should look like?
src/plugins/intel_cpu/tests/unit/graph/merge_transpose_reorder_test.cpp
Outdated
Show resolved
Hide resolved
c1d5f75
to
482a180
Compare
@maxnick Could you please check one more time? |
@dmitry-gorokhov , could you please make the final review? |
5f112c1
to
aa3a98b
Compare
Rebased to fix merge conflict |
Sync node indexes must be registered to global allocation context in order.
aa3a98b
to
3c5620c
Compare
Details:
Tickets: