Skip to content

Add OptionalIntArrayRef used by torchgen. #6145

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 1 commit into from
Oct 11, 2024

Conversation

pytorchbot
Copy link
Collaborator

Summary:
Adds OptionalIntArrayRef for generated cpp using torchgen.

Generated code with torchgen.api.types.CppSignatureGroup uses additional aliases that are not currently defined in exec_aten.h. This diff adds support for OptionalIntArrayRef.

Example: aten::mean.dim uses an optional int array that would end up using OptionalIntArrayRef.

Differential Revision: D63568016

Summary:
Pull Request resolved: #5735

Adds OptionalIntArrayRef for generated cpp using torchgen.

Generated code with torchgen.api.types.CppSignatureGroup uses additional aliases that are not currently defined in exec_aten.h. This diff adds support for OptionalIntArrayRef.

Example: aten::mean.dim uses an optional int array that would end up using `OptionalIntArrayRef`.

Reviewed By: zonglinpeng

Differential Revision: D63568016

fbshipit-source-id: fc87338632c5d2e84f1dd9b088d69ad304a13d1c
(cherry picked from commit 0e5b92d)
Copy link

pytorch-bot bot commented Oct 10, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit e4796cd with merge base eecf74f (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 Oct 10, 2024
@jackzhxng jackzhxng merged commit e0fcdd4 into release/0.4 Oct 11, 2024
33 of 34 checks passed
@jackzhxng jackzhxng deleted the cherry-pick-5735-by-pytorch_bot_bot_ branch October 11, 2024 01:26
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants