-
Couldn't load subscription status.
- Fork 700
Add MergedDataMap to method #12088
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
Add MergedDataMap to method #12088
Conversation
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/) [ghstack-poisoned]
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/) ghstack-source-id: 293198308 Pull Request resolved: #12088
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/12088
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 2 Unrelated FailuresAs of commit 6e9429a with merge base ba19c75 ( NEW FAILURE - The following job has failed:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D77472917 |
This PR needs a
|
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/) [ghstack-poisoned]
Pull Request resolved: #12088 ghstack-source-id: 293198308 Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
|
This pull request was exported from Phabricator. Differential Revision: D77472917 |
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/) [ghstack-poisoned]
Pull Request resolved: #12088 ghstack-source-id: 293198308 Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
|
This pull request was exported from Phabricator. Differential Revision: D77472917 |
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/) [ghstack-poisoned]
Pull Request resolved: #12088 ghstack-source-id: 294883360 Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
|
This pull request was exported from Phabricator. Differential Revision: D77472917 |
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/) [ghstack-poisoned]
Pull Request resolved: #12088 ghstack-source-id: 294943572 Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
|
This pull request was exported from Phabricator. Differential Revision: D77472917 |
| } | ||
|
|
||
| Error Method::parse_values(const NamedDataMap* named_data_map) { | ||
| Error Method::parse_values(const NamedDataMap* external_data_map) { |
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.
I feel like named was the better name since it possibly contains data embedded in the pte
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.
oops, didn't see this. This data map comes from the PTD file (external), so it shouldn't contain items from the PTE --> that's the pte_data_map
| for (const auto i : c10::irange(n_external_constants_)) { | ||
| external_constants_[i].buffer.~FreeableBuffer(); | ||
| } | ||
| // Free the MergedDataMap. |
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.
I guess this is fine. It doesnt do anything though. The MergedMap is trivially destructable
0b4d3d1
into
gh/lucylq/88/base
This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #12088 by @lucylq ^ Please use this as the source of truth for the PR details, comments, and reviews ghstack PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/88/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/88/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/lucylq/87/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/lucylq/88/orig @diff-train-skip-merge --------- Co-authored-by: lucylq <[email protected]>
Stack from ghstack (oldest at bottom):
Differential Revision: D77472917