Skip to content

Conversation

Sebastian-Larsson
Copy link
Collaborator

@Sebastian-Larsson Sebastian-Larsson commented Sep 17, 2025

  • embedding_support: replace input-count assert with reporter.report_reject + return False
  • index_tensor_support: add explicit rejects for None in indices, rank >= 4 indexing tensors, and int32 overflow of value tensor; previously returned False without explanation
  • minmax_support: add reject when min/max.dim’s argmax output is used
  • ethos_u55_support: replace IndexError raises in view/select checks (invalid dim/index) with reporter.report_reject + return False
  • Improves partition diagnostics and avoids hard crashes

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

- embedding_support: replace input-count assert with
  reporter.report_reject + return False
- index_tensor_support: add explicit rejects for None in indices,
  rank >= 4 indexing tensors, and int32 overflow of value tensor;
  previously returned False without explanation
- minmax_support: add reject when min/max.dim’s argmax output is used
- ethos_u55_support: replace IndexError raises in view/select checks
  (invalid dim/index) with reporter.report_reject + return False
- Improves partition diagnostics and avoids hard crashes

Change-Id: I633e66441de2e3416d0f2b5d06d9ea46c43112fe
Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
@Sebastian-Larsson Sebastian-Larsson added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: arm Changes to the ARM backend delegate labels Sep 17, 2025
Copy link

pytorch-bot bot commented Sep 17, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 1ffa843 with merge base bc18834 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla 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 Sep 17, 2025
# it will be decomposed into ops that can handle it.

if len(node.all_input_nodes) != 2:
self.reporter.report_reject(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is cool!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D

@zingo zingo merged commit 654e722 into pytorch:main Sep 18, 2025
314 checks passed
StrycekSimon pushed a commit to nxp-upstream/executorch that referenced this pull request Sep 23, 2025
)

- embedding_support: replace input-count assert with
reporter.report_reject + return False
- index_tensor_support: add explicit rejects for None in indices, rank
>= 4 indexing tensors, and int32 overflow of value tensor; previously
returned False without explanation
- minmax_support: add reject when min/max.dim’s argmax output is used
- ethos_u55_support: replace IndexError raises in view/select checks
(invalid dim/index) with reporter.report_reject + return False
- Improves partition diagnostics and avoids hard crashes

Signed-off-by: Sebastian Larsson <sebastian.larsson@arm.com>
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 release notes: arm Changes to the ARM backend delegate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants