Skip to content

[CMake] Avoid extension_module have dupe flat_tensor cpp #10735

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

Merged
merged 8 commits into from
May 7, 2025

Conversation

kirklandsign
Copy link
Contributor

Currently, _extension_module__srcs has srcs from flat_tensor. This is bad.

set(_extension_module__srcs
    extension/flat_tensor/flat_tensor_data_map.cpp
    extension/flat_tensor/serialize/flat_tensor_header.cpp
    extension/module/module.cpp
)

We need to update deps. We need to export extension_flat_tensor to install directory.

Currently, _extension_module__srcs has srcs from flat_tensor. This is
bad.

```
set(_extension_module__srcs
    extension/flat_tensor/flat_tensor_data_map.cpp
    extension/flat_tensor/serialize/flat_tensor_header.cpp
    extension/module/module.cpp
)
```

We need to update deps. We need to export extension_flat_tensor to
install directory.
@kirklandsign kirklandsign requested a review from lucylq as a code owner May 6, 2025 21:44
Copy link

pytorch-bot bot commented May 6, 2025

🔗 Helpful Links

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

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 New Failure

As of commit 9bdca39 with merge base 304c567 (image):

NEW FAILURE - The following job has failed:

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 May 6, 2025
@kirklandsign kirklandsign added ciflow/trunk ciflow/binaries and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels May 6, 2025
@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 6, 2025
@kirklandsign kirklandsign added the release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc. label May 6, 2025
@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@lucylq lucylq left a comment

Choose a reason for hiding this comment

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

thanks!

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@kirklandsign has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot merged commit 1984c5f into main May 7, 2025
268 of 269 checks passed
@facebook-github-bot facebook-github-bot deleted the module-avoid-dupe-cpp branch May 7, 2025 05:35
jhelsby pushed a commit to jhelsby/executorch that referenced this pull request May 9, 2025
Differential Revision: D74278030

Pull Request resolved: pytorch#10735
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/binaries ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: build Changes related to build, including dependency upgrades, build flags, optimizations, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants