Skip to content

New util function to print delegation summary #2611

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

Closed
wants to merge 1 commit into from

Conversation

Olivia-liu
Copy link
Contributor

Summary:
Because what happened to the graph in to_backend() is pretty opaque to the users, the existing print_delegated_graph() is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph.
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

Note: The added import pandas shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

Differential Revision: D55239751

Copy link

pytorch-bot bot commented Mar 23, 2024

🔗 Helpful Links

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

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 07ddbb6 with merge base 08b644f (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 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 Mar 23, 2024
@facebook-github-bot
Copy link
Contributor

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

Olivia-liu added a commit to Olivia-liu/executorch-1 that referenced this pull request Mar 23, 2024
Summary:

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. 
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

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

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

Olivia-liu added a commit to Olivia-liu/executorch-1 that referenced this pull request Mar 25, 2024
Summary:

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. 
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

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

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

Olivia-liu added a commit to Olivia-liu/executorch-1 that referenced this pull request Mar 25, 2024
Summary:

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. 
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

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

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

Olivia-liu added a commit to Olivia-liu/executorch-1 that referenced this pull request Mar 26, 2024
Summary:

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. 
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

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

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

Olivia-liu added a commit to Olivia-liu/executorch-1 that referenced this pull request Mar 26, 2024
Summary:

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. 
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

Reviewed By: dbort

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

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

Summary:

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph. 
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

Reviewed By: dbort

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in a19a32b.

@Olivia-liu
Copy link
Contributor Author

@pytorchbot cherry-pick --onto release/0.2 -c critical

pytorchbot pushed a commit that referenced this pull request Mar 27, 2024
Summary:
bypass-github-export-checks
bypass-github-pytorch-ci-checks
bypass-github-executorch-ci-checks

Pull Request resolved: #2611

Because what happened to the graph in to_backend() is pretty opaque to the users, the existing [print_delegated_graph()](https://fburl.com/code/4xa5oewv) is good but might be too much for new users, so implemented this new util function to give a more lightweight summary for the delegated graph.
Original design doc:
https://docs.google.com/document/d/19ZSDddm23MnGvFUrkV9clwHwLvXzAo2IZtbkr9VChjE/edit?usp=sharing

**Note:** The added `import pandas` shouldn't be an issue because we already have pandas in the install requirement is executorch oss: https://fburl.com/code/p55654r2

Reviewed By: dbort

Differential Revision: D55239751

fbshipit-source-id: 81000953b51d87f6d509a6589685fe677a8eec5b
(cherry picked from commit a19a32b)
@pytorchbot
Copy link
Collaborator

Cherry picking #2611

The cherry pick PR is at #2726 and it is recommended to link a critical cherry pick PR with an issue

Details for Dev Infra team Raised by workflow job

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.

4 participants