Skip to content

Arm backend: Add LUT-based leaky_relu lowering#20837

Merged
robell merged 1 commit into
pytorch:mainfrom
oscarandersson8218:leaky_relu_table_decomp
Jul 13, 2026
Merged

Arm backend: Add LUT-based leaky_relu lowering#20837
robell merged 1 commit into
pytorch:mainfrom
oscarandersson8218:leaky_relu_table_decomp

Conversation

@oscarandersson8218

@oscarandersson8218 oscarandersson8218 commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator

Add option to lower quantized leaky_relu through TOSA TABLE instead of decomposing it into clamp, mul, and add. Add an Arm pass pipeline config switch so callers can enable the table-based lowering rather than the old decomposition.

cc @digantdesai @freddan80 @per @zingo @mansnils @Sebastian-Larsson @robell @rascani

Add option to lower quantized leaky_relu through TOSA TABLE  instead of
decomposing it into clamp, mul, and add. Add an Arm pass pipeline config
switch so callers can enable the table-based lowering rather than the
old decomposition.

Signed-off-by: Oscar Andersson <oscar.andersson@arm.com>
Change-Id: I6d157cc338d124ea7716c484166e423e68245e76
@pytorch-bot

pytorch-bot Bot commented Jul 10, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

✅ You can merge normally! (2 Unrelated Failures)

As of commit 6c98ce8 with merge base ec52125 (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following job failed but was 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.

@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 Jul 10, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Jul 10, 2026
@oscarandersson8218 oscarandersson8218 added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes labels Jul 10, 2026
@robell

robell commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Arm Backend only changes. As Oscar is on PTO I'll merge these.

@robell
robell merged commit abd2b54 into pytorch:main Jul 13, 2026
509 of 523 checks passed
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. module: arm Issues related to arm backend partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants