Skip to content

Arm backend: Convert asserts to raise errors in op_minimum #10055

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
Apr 11, 2025

Conversation

Sebastian-Larsson
Copy link
Collaborator

@Sebastian-Larsson Sebastian-Larsson commented Apr 10, 2025

Asserts are converted to proper raises to ensure graph integrity.

Improve error messages and add additional check that both inputs and outputs have the same data type.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Asserts are converted to proper raises to ensure graph integrity.

Improve error messages and add additional check that both inputs and
outputs have the same data type.

Change-Id: I1bc2f001f1a5a75a57468263bc5343de1476b90f
Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
Copy link

pytorch-bot bot commented Apr 10, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 2 Pending

As of commit b234c98 with merge base 91a14f1 (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 Apr 10, 2025
@Sebastian-Larsson Sebastian-Larsson added ciflow/trunk partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm topic: not user facing labels Apr 10, 2025
@zingo zingo merged commit b81e30b into pytorch:main Apr 11, 2025
167 checks passed
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
Asserts are converted to proper raises to ensure graph integrity.

Improve error messages and add additional check that both inputs and
outputs have the same data type.

Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
keyprocedure pushed a commit to keyprocedure/executorch that referenced this pull request Apr 21, 2025
…0055)

Asserts are converted to proper raises to ensure graph integrity.

Improve error messages and add additional check that both inputs and
outputs have the same data type.

Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
@Sebastian-Larsson Sebastian-Larsson deleted the assert_minimum branch May 15, 2025 12:40
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.

3 participants