Skip to content
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

to_edge_transform_and_lower #3483

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

to_edge_transform_and_lower #3483

wants to merge 3 commits into from

Conversation

tarun292
Copy link
Contributor

@tarun292 tarun292 commented May 2, 2024

Summary:
This diff introduces the to_edge_transform_and_lower API. The changes introduces are:

  • Adding support to the Parititioner class to register ops that it doesn't want to be composed
  • Changes to _program.py to add the implementation of to_edge_transform_and_lower()
  • Added a basic test case to test that Linear, SDPA & Linear + SDPA are not decomposed when asked and the corresponding backend consumes them.

Differential Revision: D56401086

Copy link

pytorch-bot bot commented May 2, 2024

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 4ec6698 with merge base cc12d9b (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 CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels May 2, 2024
@facebook-github-bot
Copy link
Contributor

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

tarun292 added a commit that referenced this pull request May 2, 2024
Summary:
Pull Request resolved: #3483

This diff introduces the to_edge_transform_and_lower API. The changes introduces are:
- Adding support to the Parititioner class to register ops that it doesn't want to be composed
- Changes to _program.py to add the implementation of to_edge_transform_and_lower()
- Added a basic test case to test that Linear, SDPA & Linear + SDPA are not decomposed when asked and the corresponding backend consumes them.

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

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

tarun292 and others added 3 commits May 2, 2024 09:23
Summary:
Pull Request resolved: #3483

This diff introduces the to_edge_transform_and_lower API. The changes introduces are:
- Adding support to the Parititioner class to register ops that it doesn't want to be composed
- Changes to _program.py to add the implementation of to_edge_transform_and_lower()
- Added a basic test case to test that Linear, SDPA & Linear + SDPA are not decomposed when asked and the corresponding backend consumes them.

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

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants