Skip to content

Conversation

@lucylq
Copy link
Contributor

@lucylq lucylq commented Oct 16, 2025

Stack from ghstack (oldest at bottom):

Update usages of SegmentInfo::Type::External to reflect the same segments that PTE uses, instead of using External for any part of the PTD . Specifically:

  1. Program: PTD header and flatbuffer portion
  2. Constant: when loading items using the get_data API
  3. Mutable: when loading items using the load_data_into API

Differential Revision: D83671426

Update usages of `SegmentInfo::Type::External` to reflect the same segments that PTE uses, instead of using `External` for any part of the PTD . Specifically:

1. Program: PTD header and flatbuffer portion
2. Constant: when loading items using the `get_data` API
3. Mutable: when loading items using the `load_data_into` API

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

[ghstack-poisoned]
@pytorch-bot
Copy link

pytorch-bot bot commented Oct 16, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15195

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:

✅ No Failures

As of commit 0675426 with merge base f8e199c (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

lucylq added a commit that referenced this pull request Oct 16, 2025
Update usages of `SegmentInfo::Type::External` to reflect the same segments that PTE uses, instead of using `External` for any part of the PTD . Specifically:

1. Program: PTD header and flatbuffer portion
2. Constant: when loading items using the `get_data` API
3. Mutable: when loading items using the `load_data_into` API

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

ghstack-source-id: 313373765
Pull Request resolved: #15195
@meta-cla meta-cla 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 Oct 16, 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.

Update usages of `SegmentInfo::Type::External` to reflect the same segments that PTE uses, instead of using `External` for any part of the PTD . Specifically:

1. Program: PTD header and flatbuffer portion
2. Constant: when loading items using the `get_data` API
3. Mutable: when loading items using the `load_data_into` API

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

[ghstack-poisoned]
lucylq added a commit that referenced this pull request Oct 16, 2025
Pull Request resolved: #15195

Update usages of `SegmentInfo::Type::External` to reflect the same segments that PTE uses, instead of using `External` for all parts of the PTD . Specifically:

1. Program: PTD header and flatbuffer portion
2. Constant: when loading items using the `get_data` API
3. Mutable: when loading items using the `load_data_into` API
ghstack-source-id: 316716581
@exported-using-ghexport

Differential Revision: [D83671426](https://our.internmc.facebook.com/intern/diff/D83671426/)
@meta-codesync meta-codesync bot merged commit 926f728 into gh/lucylq/120/base Oct 20, 2025
147 of 150 checks passed
@meta-codesync meta-codesync bot deleted the gh/lucylq/120/head branch October 20, 2025 21:19
lucylq added a commit that referenced this pull request Oct 24, 2025
This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #15195 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/120/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/lucylq/120/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/lucylq/120/orig
Differential Revision:
[D83671426](https://our.internmc.facebook.com/intern/diff/D83671426/)
@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 meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants