-
Notifications
You must be signed in to change notification settings - Fork 623
[ET-VK] Using vector for storing ref_mapping_ in GraphBuilder to improve model load time and memory. #10647
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
Conversation
…ove model load time and memory. This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10647
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
…ove model load time and memory. This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/) ghstack-source-id: 281563018 Pull Request resolved: #10647
This pull request was exported from Phabricator. Differential Revision: D73969916 |
…der to improve model load time and memory." This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73969916 |
…der to improve model load time and memory." This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73969916 |
…der to improve model load time and memory." This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D73969916 |
…ove model load time and memory. Pull Request resolved: #10647 This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. ghstack-source-id: 282013578 @exported-using-ghexport Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/)
…ove model load time and memory. (#10689) Pull Request resolved: #10647 This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. ghstack-source-id: 282013578 @exported-using-ghexport Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/)
…ove model load time and memory. (#10689) Pull Request resolved: #10647 This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. ghstack-source-id: 282013578 @exported-using-ghexport Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/)
…ove model load time and memory. (pytorch#10689) Pull Request resolved: pytorch#10647 This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map. ghstack-source-id: 282013578 @exported-using-ghexport Differential Revision: [D73969916](https://our.internmc.facebook.com/intern/diff/D73969916/)
Stack from ghstack (oldest at bottom):
This diff changes GraphBuilder class to store ref id to value mapping as vector instead of unordered map, since maximum id is known and thus vector can be sized to store the map.
Differential Revision: D73969916