Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Allocating largest arrays first in GraphExecutor in order to save space. #5161

Closed
wants to merge 1 commit into from

Conversation

tdomhan
Copy link
Contributor

@tdomhan tdomhan commented Feb 27, 2017

Before this change ndarrays were just allocated in the order they are in the graph. This could lead to scenarios where large ndarrays from the shared pool get used for relatively small ndarrays. Trying to allocate the largest ndarrays from the shared pool first will avoid this and save space. #5035

@piiswrong
Copy link
Contributor

@eric-haibin-lin I think this is the same with the sorting method we talked about?

@eric-haibin-lin
Copy link
Member

eric-haibin-lin commented Feb 27, 2017 via email

@piiswrong piiswrong closed this Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants