Skip to content

Introduce missing APIs to lower ExportedProgram objects directly #8909

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
Mar 31, 2025

Conversation

mcremon-meta
Copy link
Contributor

Summary: Currently, there is an imbalance in compilation APIs where the export_to_executorch function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Differential Revision: D70529392

@mcremon-meta mcremon-meta requested a review from tarun292 as a code owner March 4, 2025 00:39
Copy link

pytorch-bot bot commented Mar 4, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job

As of commit 68a9d95 with merge base 2aa7748 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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

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

@facebook-github-bot
Copy link
Contributor

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

mcremon-meta added a commit that referenced this pull request Mar 14, 2025
Summary:

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

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

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

mcremon-meta added a commit that referenced this pull request Mar 14, 2025
Summary:
Pull Request resolved: #8909

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Differential Revision: D70529392
mcremon-meta added a commit that referenced this pull request Mar 17, 2025
Summary:

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

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

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

mcremon-meta added a commit that referenced this pull request Mar 17, 2025
Summary:
Pull Request resolved: #8909

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Differential Revision: D70529392
mcremon-meta added a commit that referenced this pull request Mar 26, 2025
Summary:

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

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

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

mcremon-meta added a commit that referenced this pull request Mar 26, 2025
Summary:
Pull Request resolved: #8909

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Differential Revision: D70529392
mcremon-meta added a commit that referenced this pull request Mar 30, 2025
Summary:

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Reviewed By: zonglinpeng

Differential Revision: D70529392
mcremon-meta added a commit that referenced this pull request Mar 30, 2025
Summary:

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Reviewed By: zonglinpeng

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

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

mcremon-meta added a commit that referenced this pull request Mar 30, 2025
Summary:
Pull Request resolved: #8909

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Reviewed By: zonglinpeng

Differential Revision: D70529392
Summary:
Pull Request resolved: #8909

Currently, there is an imbalance in compilation APIs where the `export_to_executorch` function is used on a module, although that module is already from an exported program. This diff introduces APIs to further lower ExportedPrograms directly, without going back to module.

Reviewed By: zonglinpeng

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

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

@facebook-github-bot facebook-github-bot merged commit 5da974a into main Mar 31, 2025
81 of 84 checks passed
@facebook-github-bot facebook-github-bot deleted the export-D70529392 branch March 31, 2025 00:05
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
Differential Revision: D70529392

Pull Request resolved: #8909
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 topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants