Skip to content

Conversation

hsharma35
Copy link
Contributor

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

Copy link

pytorch-bot bot commented Sep 27, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit a778601 with merge base 98c5efa (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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 Sep 27, 2024
@facebook-github-bot
Copy link
Contributor

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

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
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0e5b92d.

@dbort
Copy link
Contributor

dbort commented Oct 10, 2024

@pytorchbot cherry-pick --onto release/0.4 -c fixnewfeature

pytorchbot pushed a commit that referenced this pull request Oct 10, 2024
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)
@pytorchbot
Copy link
Collaborator

Cherry picking #5735

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

Details for Dev Infra team Raised by workflow job

jackzhxng pushed a commit that referenced this pull request Oct 11, 2024
Add OptionalIntArrayRef used by torchgen. (#5735)

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)

Co-authored-by: Matthias Cremon <[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 Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants