Skip to content

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented Oct 7, 2025

Summary:
Add public merged data map. Module can use this to resolve multiple named data maps.
Creating as a sep dependency rather than inside module/ so it can be used independently of module. (think there may be some other internal usages soon)

Add support for BUCK and CMake. On CMake side, have to add the dep for everyone who uses module ..

Reviewed By: swolchok

Differential Revision: D83527299

Copy link

pytorch-bot bot commented Oct 7, 2025

🔗 Helpful Links

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

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:

❌ 1 New Failure

As of commit 64b0045 with merge base 0bfb61e (image):

NEW FAILURE - The following job has failed:

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

@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 7, 2025
Copy link

meta-codesync bot commented Oct 7, 2025

@lucylq has exported this pull request. If you are a Meta employee, you can view the originating Diff in D83527299.

Copy link

github-actions bot commented Oct 7, 2025

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.

Copy link
Contributor

@swolchok swolchok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

Summary:
Pull Request resolved: pytorch#14861

Add public merged data map. Module can use this to resolve multiple named data maps.
Creating as a sep dependency rather than inside module/ so it can be used independently of module. (think there may be some other internal usages soon)

Add support for BUCK and CMake. On CMake side, have to add the dep for everyone who uses module ..

Reviewed By: swolchok

Differential Revision: D83527299
@meta-codesync meta-codesync bot merged commit bba9d26 into pytorch:main Oct 8, 2025
349 of 354 checks passed
Erik-Lundell added a commit to Erik-Lundell/executorch that referenced this pull request Oct 8, 2025
PR pytorch#14861 introduced the NAMED_DATA_MAP extension which
is required to be on when BUILD_EXTENSION_MODULE is on.
Therefore, turn it on where needed.

Signed-off-by: Erik Lundell <[email protected]>
Change-Id: I34f7cc989e7369883b353d96ccb262b43062a82f
zingo pushed a commit that referenced this pull request Oct 8, 2025
PR #14861 introduced the NAMED_DATA_MAP extension which is required to
be on when BUILD_EXTENSION_MODULE is on. Therefore, turn it on where
needed.

Signed-off-by: Erik Lundell <[email protected]>
larryliu0820 added a commit that referenced this pull request Oct 8, 2025
Since #14861 we need to specify `EXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ON` along with `EXECUTORCH_BUILD_EXTENSION_MODULE=ON`. Adding that.
larryliu0820 added a commit that referenced this pull request Oct 8, 2025
Since #14861 we need to specify
`EXECUTORCH_BUILD_EXTENSION_NAMED_DATA_MAP=ON` along with
`EXECUTORCH_BUILD_EXTENSION_MODULE=ON`. Adding that to fix CUDA CI.
@lucylq
Copy link
Contributor Author

lucylq commented Oct 8, 2025

@pytorchbot cherry-pick --onto release/1.0 -c critical

pytorchbot pushed a commit that referenced this pull request Oct 8, 2025
Differential Revision: D83527299

Pull Request resolved: #14861

(cherry picked from commit bba9d26)
@pytorchbot
Copy link
Collaborator

Cherry picking #14861

The cherry pick PR is at #14899 and it is recommended to link a critical cherry pick PR with an issue. The following tracker issues are updated:

Details for Dev Infra team Raised by workflow job

pytorchbot pushed a commit that referenced this pull request Oct 8, 2025
PR #14861 introduced the NAMED_DATA_MAP extension which is required to
be on when BUILD_EXTENSION_MODULE is on. Therefore, turn it on where
needed.

Signed-off-by: Erik Lundell <[email protected]>
(cherry picked from commit 45bf018)
GregoryComer pushed a commit that referenced this pull request Oct 8, 2025
Differential Revision: D83527299

Pull Request resolved: #14861

(cherry picked from commit bba9d26)
GregoryComer pushed a commit that referenced this pull request Oct 9, 2025
PR #14861 and #14899 introduced the NAMED_DATA_MAP extension which is
required to be on when BUILD_EXTENSION_MODULE is on. Therefore, turn it
on where needed.

cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai

Signed-off-by: Erik Lundell <[email protected]>
Co-authored-by: Erik Lundell <[email protected]>
GregoryComer pushed a commit that referenced this pull request Oct 9, 2025
Differential Revision: D83527299

Pull Request resolved: #14861

(cherry picked from commit bba9d26)
GregoryComer pushed a commit that referenced this pull request Oct 10, 2025
Differential Revision: D83527299

Pull Request resolved: #14861

(cherry picked from commit bba9d26)
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.

4 participants