Skip to content

New util function to print delegation summary #2726

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

pytorchbot
Copy link
Collaborator

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

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)
Copy link

pytorch-bot bot commented Mar 27, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 1fb48c3 with merge base 3aefd56 (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 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 27, 2024
@guangy10 guangy10 force-pushed the release/0.2 branch 2 times, most recently from 4e17c7c to 67f94fb Compare April 3, 2024 04:24
@mergennachin mergennachin force-pushed the release/0.2 branch 2 times, most recently from a90482f to 96a5ff4 Compare April 5, 2024 15:31
@guangy10 guangy10 force-pushed the release/0.2 branch 2 times, most recently from d7a2aae to e111fdf Compare April 6, 2024 18:00
@mcr229 mcr229 closed this Mar 26, 2025
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants