Add MLX op handler for aten.bitwise_or#18984
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18984
Note: Links to docs will display an error until the docs builds have been completed.
|
This PR needs a
|
|
@claude review |
|
Claude finished @nil-is-all's task in 4m 22s —— View job Review of PR #18984 — Add MLX op handler for
|
| # logical | ||
| {"op_name": "logical_and", "op_fn": torch.logical_and, "shapes": [(2, 3, 4), (10,), (4, 8)], "dtypes": [torch.bool], "input_fn_a": _bool_input_fn(), "input_fn_b": _bool_input_fn()}, | ||
| {"op_name": "logical_or", "op_fn": torch.logical_or, "shapes": [(2, 3, 4), (10,), (4, 8)], "dtypes": [torch.bool], "input_fn_a": _bool_input_fn(), "input_fn_b": _bool_input_fn()}, | ||
| {"op_name": "bitwise_or", "op_fn": torch.bitwise_or, "shapes": [(2, 3, 4), (10,), (4, 8)], "dtypes": [torch.int32, torch.int64], "input_fn_a": _int_input_fn(-100, 100), "input_fn_b": _int_input_fn(-100, 100)}, |
There was a problem hiding this comment.
@Jah-yee do these pass? I'm a bit surprised if they do, because I don't see a handler in backends/mlx/ops.py?
|
Hi @Jah-yee, thanks for the PR! A couple notes:
|
|
Hi @Jah-yee, could you address the review? |
Good day
Add MLX op handler for aten.bitwise_or (issue #18926).
Changes
Testing
References
aten.bitwise_or#18926Thank you for your attention. If there are any issues or suggestions, please leave a comment and I will address them promptly.
Warmly,
RoomWithOutRoof
cc @metascroy