Skip to content

Conversation

@lucylq
Copy link
Contributor

@lucylq lucylq commented Jun 28, 2025

Stack from ghstack (oldest at bottom):

Differential Revision: D77472917

Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)

[ghstack-poisoned]
@lucylq lucylq mentioned this pull request Jun 28, 2025
lucylq added a commit that referenced this pull request Jun 28, 2025
Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)

ghstack-source-id: 293198308
Pull Request resolved: #12088
@pytorch-bot
Copy link

pytorch-bot bot commented Jun 28, 2025

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

As of commit 6e9429a with merge base ba19c75 (image):

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.

@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 Jun 28, 2025
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq changed the title Add MergedDataMap to method [wip] Add MergedDataMap to method Jun 28, 2025
@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

lucylq added a commit that referenced this pull request Jul 2, 2025
Pull Request resolved: #12088


ghstack-source-id: 293198308

Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
@facebook-github-bot
Copy link
Contributor

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

lucylq added a commit that referenced this pull request Jul 2, 2025
Pull Request resolved: #12088


ghstack-source-id: 293198308

Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
@facebook-github-bot
Copy link
Contributor

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

lucylq added a commit that referenced this pull request Jul 8, 2025
Pull Request resolved: #12088


ghstack-source-id: 294883360

Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
@facebook-github-bot
Copy link
Contributor

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

lucylq added a commit that referenced this pull request Jul 8, 2025
Pull Request resolved: #12088


ghstack-source-id: 294943572

Differential Revision: [D77472917](https://our.internmc.facebook.com/intern/diff/D77472917/)
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq changed the title [wip] Add MergedDataMap to method Add MergedDataMap to method Jul 8, 2025
}

Error Method::parse_values(const NamedDataMap* named_data_map) {
Error Method::parse_values(const NamedDataMap* external_data_map) {
Copy link
Contributor

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

Copy link
Contributor Author

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.
Copy link
Contributor

@JacobSzwejbka JacobSzwejbka Jul 9, 2025

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

@facebook-github-bot facebook-github-bot merged commit 0b4d3d1 into gh/lucylq/88/base Jul 9, 2025
97 of 103 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/lucylq/88/head branch July 9, 2025 17:57
lucylq added a commit that referenced this pull request Jul 9, 2025
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]>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants