Skip to content

Copy executorch codegen from pytorch torchgen to executorch repo #10939

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
May 16, 2025

Conversation

larryliu0820
Copy link
Contributor

Summary: This is a long due cleanup. When gen_executorch.py was added to torchgen ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Differential Revision: D74865579

@larryliu0820 larryliu0820 requested a review from lucylq as a code owner May 16, 2025 06:49
Copy link

pytorch-bot bot commented May 16, 2025

🔗 Helpful Links

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

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:

✅ You can merge normally! (1 Unrelated Failure)

As of commit 70c8e96 with merge base 9cce48d (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

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

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

facebook-github-bot pushed a commit that referenced this pull request May 16, 2025
)

Summary:

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

1 similar comment
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Reviewed By: manuelcandales

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Reviewed By: manuelcandales

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Reviewed By: manuelcandales

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Reviewed By: manuelcandales

Differential Revision: D74865579
@larryliu0820 larryliu0820 added the release notes: none Do not include this in the release notes label May 16, 2025
@facebook-github-bot
Copy link
Contributor

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

larryliu0820 added a commit that referenced this pull request May 16, 2025
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Reviewed By: manuelcandales

Differential Revision: D74865579
)

Summary:
Pull Request resolved: #10939

This is a long due cleanup. When `gen_executorch.py` was added to `torchgen` ExecuTorch was not open sourced yet. Now is a good time to put the codegen scripts to where they belong.

Reviewed By: manuelcandales

Differential Revision: D74865579
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit f8218d1 into main May 16, 2025
85 of 88 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D74865579 branch May 16, 2025 23:50
hinriksnaer pushed a commit to hinriksnaer/executorch that referenced this pull request May 19, 2025
Differential Revision: D74865579

Pull Request resolved: pytorch#10939
facebook-github-bot pushed a commit that referenced this pull request May 22, 2025
Summary: As a follow up to #10939, we need to add the same coverage to this code.

Differential Revision: D75236020
facebook-github-bot pushed a commit that referenced this pull request May 22, 2025
Summary:

As a follow up to #10939, we need to add the same coverage to this code.

Reviewed By: kirklandsign, manuelcandales

Differential Revision: D75236020
facebook-github-bot pushed a commit that referenced this pull request May 22, 2025
Summary:

As a follow up to #10939, we need to add the same coverage to this code.

Reviewed By: kirklandsign, manuelcandales

Differential Revision: D75236020
larryliu0820 added a commit that referenced this pull request May 23, 2025
…rchgen

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Reviewed By: kirklandsign

Differential Revision: D75307480
larryliu0820 added a commit that referenced this pull request May 23, 2025
…rchgen (#11104)

Summary:
Pull Request resolved: #11104

As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Reviewed By: kirklandsign

Differential Revision: D75307480
facebook-github-bot pushed a commit that referenced this pull request May 23, 2025
…rchgen (#11104)

Summary:

As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Reviewed By: kirklandsign

Differential Revision: D75307480
facebook-github-bot pushed a commit that referenced this pull request May 24, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 24, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 24, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 25, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 25, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 25, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
larryliu0820 added a commit that referenced this pull request May 25, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
larryliu0820 added a commit that referenced this pull request May 25, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 25, 2025
…rchgen (#11104)

Summary: As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 26, 2025
…rchgen (#11104)

Summary:
As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.


Reviewed By: kirklandsign

Differential Revision: D75307480

Pulled By: larryliu0820
facebook-github-bot pushed a commit that referenced this pull request May 26, 2025
…rchgen (#11104)

Summary:
As titled, after #10939 we are able to use `executorch.codegen` APIs instead of `torchgen.executorch` APIs. This PR moves `gen_oplist.py` to use the new `executorch.codgen` API.


Reviewed By: kirklandsign

Differential Revision: D75307480

Pulled By: larryliu0820
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 topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants