Skip to content

Arm backend: Add TOSA dialect binary elementwise ops#20277

Merged
SaoirseARM merged 1 commit into
pytorch:mainfrom
SaoirseARM:toupstream/binary
Jun 15, 2026
Merged

Arm backend: Add TOSA dialect binary elementwise ops#20277
SaoirseARM merged 1 commit into
pytorch:mainfrom
SaoirseARM:toupstream/binary

Conversation

@SaoirseARM

@SaoirseARM SaoirseARM commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds TOSA dialect operators for:

  • ADD
  • ARITHMETIC_RIGHT_SHIFT
  • BITWISE_AND
  • BITWISE_OR
  • BITWISE_XOR
  • EQUAL
  • GREATER
  • GREATER_EQUAL
  • INTDIV
  • LOGICAL_AND
  • LOGICAL_LEFT_SHIFT
  • LOGICAL_RIGHT_SHIFT
  • LOGICAL_OR
  • LOGICAL_XOR
  • MAXIMUM
  • MINIMUM
  • MUL
  • POW
  • SUB

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

Signed-off-by: Saoirse Stewart <saoirse.stewart@arm.com>
@SaoirseARM SaoirseARM requested a review from digantdesai as a code owner June 15, 2026 12:30
@pytorch-bot

pytorch-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 4 New Failures, 1 Unrelated Failure, 1 Unclassified Failure

As of commit 806cef6 with merge base e88fd04 (image):

NEW FAILURES - The following jobs have failed:

UNCLASSIFIED FAILURE - DrCI could not classify the following job because the workflow did not run on the merge base. The failure may be pre-existing on trunk or introduced by this PR:

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

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 Jun 15, 2026
@github-actions github-actions Bot added ciflow/trunk module: arm Issues related to arm backend labels Jun 15, 2026
@SaoirseARM

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label ciflow/trunk

@SaoirseARM

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label 'partner: arm'

@pytorch-bot pytorch-bot Bot added the partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm label Jun 15, 2026
@SaoirseARM

Copy link
Copy Markdown
Collaborator Author

@pytorchbot label "release notes: arm"

@pytorch-bot pytorch-bot Bot added the release notes: arm Changes to the ARM backend delegate label Jun 15, 2026

@zingo zingo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

OK to merge if tests are OK and you check that nothing have to be done regarding buck2 for the added files.

@SaoirseARM SaoirseARM merged commit 68ccf9f into pytorch:main Jun 15, 2026
489 of 511 checks passed
@SaoirseARM SaoirseARM deleted the toupstream/binary branch June 15, 2026 15:10
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: arm Changes to the ARM backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants