Skip to content

Conversation

@trivedivivek
Copy link
Contributor

@trivedivivek trivedivivek commented May 2, 2025

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

…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]
@pytorch-bot
Copy link

pytorch-bot bot commented May 2, 2025

🔗 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 SEVs

There 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.

trivedivivek added a commit that referenced this pull request May 2, 2025
…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
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 2, 2025
@facebook-github-bot
Copy link
Contributor

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]
@facebook-github-bot
Copy link
Contributor

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]
@facebook-github-bot
Copy link
Contributor

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]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D73969916

@kirklandsign kirklandsign merged commit 08793d2 into gh/trivedivivek/81/base May 5, 2025
3 of 5 checks passed
@kirklandsign kirklandsign deleted the gh/trivedivivek/81/head branch May 5, 2025 20:23
@kirklandsign kirklandsign temporarily deployed to cherry-pick-bot May 5, 2025 20:23 — with GitHub Actions Inactive
kirklandsign pushed a commit that referenced this pull request May 5, 2025
…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/)
kirklandsign pushed a commit that referenced this pull request May 5, 2025
…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/)
phaiting pushed a commit that referenced this pull request May 6, 2025
…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/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported topic: not user facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants