Skip to content

Arm backend: use dbg_fail when node visitors raise exceptions #9268

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 3 commits into from
Mar 18, 2025

Conversation

oscarandersson8218
Copy link
Collaborator

@oscarandersson8218 oscarandersson8218 commented Mar 14, 2025

Adds a try-expect around the node_visitor call to be able to call dbg_fail() when an error/exception is raised.

cc @digantdesai @freddan80 @per @zingo

Copy link

pytorch-bot bot commented Mar 14, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 1 Pending

As of commit 62b7b40 with merge base 8c32da7 (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 14, 2025
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Mar 14, 2025
@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 14, 2025
Adds a try-expect around the node_visitor call to be able to call
dbg_fail() when an error/exception is raised.

Signed-off-by: Oscar Andersson <[email protected]>
Change-Id: I3b633e1ff255fa5b3a5257016acfe2e9dc03b033
Signed-off-by: Oscar Andersson <[email protected]>
Change-Id: Id7f44c539682a55e06564c7b3294988c122c00b3
@zingo zingo merged commit 622b79e into pytorch:main Mar 18, 2025
162 of 163 checks passed
@larryliu0820
Copy link
Contributor

This broke our internal tests and we need to revert it first. Could you please re-submit the PR, and wait for us to import and run internal CI, and paste the error message?

@oscarandersson8218
Copy link
Collaborator Author

@larryliu0820 I've re-submitted the PR in #9391

oscarandersson8218 added a commit to oscarandersson8218/executorch that referenced this pull request Mar 21, 2025
…h#9268)

Adds a try-expect around the node_visitor call to be able to call
dbg_fail() when an error/exception is raised.

Signed-off-by: Oscar Andersson <[email protected]>
oscarandersson8218 pushed a commit to oscarandersson8218/executorch that referenced this pull request Mar 21, 2025
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
…h#9268)

Adds a try-expect around the node_visitor call to be able to call
dbg_fail() when an error/exception is raised.

Signed-off-by: Oscar Andersson <[email protected]>
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants