Skip to content

Conversation

@Sebastian-Larsson
Copy link
Collaborator

@Sebastian-Larsson Sebastian-Larsson commented Jul 4, 2025

The upsample operators get legalized to the RESCALE Tosa operator, which is not supported on U55. By having the operator in ops_to_not_decompose in the Tosa partitioner the operator is both blocked from being delegated to the NPU and blocked from being run on CPU. Therefore, the upsample operators are removed from the ops_to_not_decompose list on U55 in the partitioner, allowing them to fall back to CPU.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

The upsample operators get legalized to the RESCALE Tosa operator, which
is not supported on U55. By having the operator in ops_to_not_decompose
in the Tosa partitioner the operator is both blocked from being
delegated to the NPU and blocked from being run on CPU. Therefore, the
upsample operators are removed from the ops_to_not_decompose list on U55
in the partitioner, allowing them to fall back to CPU.

Signed-off-by: Sebastian Larsson <[email protected]>
Change-Id: I0dbaf9670a6222aa5caa68bc41d38668d55f73af
@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 Jul 4, 2025
@pytorch-bot
Copy link

pytorch-bot bot commented Jul 4, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job, 1 Pending, 2 Unrelated Failures

As of commit 5553c0a with merge base f858e0d (image):

CANCELLED JOB - The following job was cancelled. Please retry:

BROKEN TRUNK - The following jobs 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 the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 4, 2025
@zingo zingo merged commit 851b29b into pytorch:main Jul 4, 2025
195 of 199 checks passed
Tanish2101 pushed a commit to Tanish2101/executorch that referenced this pull request Jul 9, 2025
…torch#12236)

The upsample operators get legalized to the RESCALE Tosa operator, which
is not supported on U55. By having the operator in ops_to_not_decompose
in the Tosa partitioner the operator is both blocked from being
delegated to the NPU and blocked from being run on CPU. Therefore, the
upsample operators are removed from the ops_to_not_decompose list on U55
in the partitioner, allowing them to fall back to CPU.

Signed-off-by: Sebastian Larsson <[email protected]>
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