Skip to content

Arm: Support bitwise and, xor, and or ops #8518

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 1 commit into from
Feb 18, 2025

Conversation

Erik-Lundell
Copy link
Collaborator

@Erik-Lundell Erik-Lundell commented Feb 17, 2025

Ops are very similar and thus clumped together.
No quantization since that doesn't make sense for
bitwise ops.

Add a factory for creating simple two input NodeVisitors. This can be extended for future such ops.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Ops are very similar and thus clumped together.
No quantization since that doesn't make sense for
bitwise ops.

Add a factory for creating simple two input NodeVisitors.
This can be extended for future such ops.

Signed-off-by: Erik Lundell <[email protected]>
Change-Id: Ic3615067cd03b8775f4b028f601b6b2366487c9d
@Erik-Lundell Erik-Lundell added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Feb 17, 2025
Copy link

pytorch-bot bot commented Feb 17, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit a90f1aa with merge base a70c6a3 (image):

BROKEN TRUNK - The following job 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 Feb 17, 2025
@zingo
Copy link
Collaborator

zingo commented Feb 18, 2025

MacOS fails unrelated

@zingo zingo merged commit a7b9697 into pytorch:main Feb 18, 2025
108 of 111 checks passed
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

# pyre-unsafe
Copy link
Contributor

Choose a reason for hiding this comment

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

drop this in the future?

dbort added a commit to dbort/executorch that referenced this pull request Feb 19, 2025
Summary:
D69765254 (pytorch#8518) adds a file named `ops_binary.py` which doesn't match the current pattern of `op_*.py` files in this directory.

Update the glob so that this new file will be picked up by the buck2 build, silencing a type-checking issue.

Differential Revision: D69878804
dbort added a commit to dbort/executorch that referenced this pull request Feb 19, 2025
Summary:
D69765254 (pytorch#8518) adds a file named `ops_binary.py` which doesn't match the current pattern of `op_*.py` files in this directory.

Update the glob so that this new file will be picked up by the buck2 build, silencing a type-checking issue.

Differential Revision: D69878804
dbort added a commit to dbort/executorch that referenced this pull request Feb 19, 2025
Summary:
D69765254 (pytorch#8518) adds a file named `ops_binary.py` which doesn't match the current pattern of `op_*.py` files in this directory.

Update the glob so that this new file will be picked up by the buck2 build, silencing a type-checking issue.

Differential Revision: D69878804
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.

4 participants