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

Closed
wants to merge 1 commit into from
Closed

to_edge_transform_and_lower #3483

wants to merge 1 commit 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.

✅ No Failures

As of commit e83342c with merge base c3d1680 (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 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

1 similar comment
@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 pushed a commit that referenced this pull request May 28, 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.

Reviewed By: kimishpatel, mcr229

Differential Revision: D56401086
@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 28, 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.

Reviewed By: kimishpatel, mcr229

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

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

facebook-github-bot pushed a commit that referenced this pull request May 28, 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.

Reviewed By: kimishpatel, mcr229

Differential Revision: D56401086
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.

Reviewed By: kimishpatel, mcr229

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

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

@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 2b91eba.

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.

None yet

3 participants