Skip to content

Dtype selective build: enable in fbcode #11016

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 5 commits into from
May 23, 2025

Conversation

lucylq
Copy link
Contributor

@lucylq lucylq commented May 20, 2025

Stack from ghstack (oldest at bottom):

^
By removing header_namespace and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

Differential Revision: D75082395

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented May 20, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 9a72503 with merge base 5268b24 (image):
💚 Looks good so far! There are no failures yet. 💚

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 20, 2025
lucylq added a commit that referenced this pull request May 20, 2025
^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

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

ghstack-source-id: 285203336
Pull Request resolved: #11016
@facebook-github-bot
Copy link
Contributor

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

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

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

[ghstack-poisoned]
lucylq added a commit that referenced this pull request May 20, 2025
Pull Request resolved: #11016

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

Differential Revision: [D75082395](https://our.internmc.facebook.com/intern/diff/D75082395/)
ghstack-source-id: 285224490
@facebook-github-bot
Copy link
Contributor

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

@lucylq lucylq added the release notes: none Do not include this in the release notes label May 21, 2025
^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

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

[ghstack-poisoned]
lucylq added a commit that referenced this pull request May 22, 2025
Pull Request resolved: #11016

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).
ghstack-source-id: 285662532

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

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

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

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

[ghstack-poisoned]
lucylq added a commit that referenced this pull request May 22, 2025
Pull Request resolved: #11016

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).
ghstack-source-id: 285663028

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

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

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).

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

[ghstack-poisoned]
lucylq added a commit that referenced this pull request May 22, 2025
Pull Request resolved: #11016

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).
ghstack-source-id: 285663278

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

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

@facebook-github-bot facebook-github-bot merged commit 3046c3b into gh/lucylq/81/base May 23, 2025
89 of 90 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/lucylq/81/head branch May 23, 2025 03:05
kirklandsign pushed a commit that referenced this pull request May 23, 2025
Pull Request resolved: #11016

^
By removing `header_namespace` and depending on #include "selected_op_variants.h" instead of the full path #include <executorch/kernels/portable/cpu/selected_op_variants.h>

Note:
expose_operator_symbols=False only works in xplat, so add a failure message for that too. I don't think we should recommend for users to set it to true, as it prevents a library from linking multiple executorch_generated_libs (symbols will clash).
ghstack-source-id: 285663278

Differential Revision: [D75082395](https://our.internmc.facebook.com/intern/diff/D75082395/)
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 release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants