Arm backend: Add support for torch.remainder#15409
Conversation
Add DecomposeRemainderPass to express tensor remainder via floor div, multiplication, and subtraction. Signed-off-by: Martin Lindström <Martin.Lindstroem@arm.com> Change-Id: I313d0685bc00839cb2b96ec1976722649a27d4b9
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15409
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 2 Unrelated FailuresAs of commit 00258c6 with merge base c85ece4 ( NEW FAILURE - The following job has failed:
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. |
|
@pytorchbot label ciflow/trunk |
|
@pytorchbot label "partner: arm" |
This PR needs a
|
|
tests fails unrelated, added files are already catched by *.py for buck2 |
Add DecomposeRemainderPass to express tensor remainder via floor div, multiplication, and subtraction. Test for the new operator has been added in backends/arm/test/ops/test_remainder.py. Signed-off-by: Martin Lindström <Martin.Lindstroem@arm.com> Co-authored-by: Martin Lindström <Martin.Lindstroem@arm.com>
Add DecomposeRemainderPass to express tensor remainder via floor div, multiplication, and subtraction. ### Test plan Test for the new operator has been added in backends/arm/test/ops/test_remainder.py. Signed-off-by: Martin Lindström <Martin.Lindstroem@arm.com> Co-authored-by: Martin Lindström <Martin.Lindstroem@arm.com>
Add DecomposeRemainderPass to express tensor remainder via floor div, multiplication, and subtraction.
Test plan
Test for the new operator has been added in backends/arm/test/ops/test_remainder.py.
cc @freddan80 @per @zingo @oscarandersson8218 @digantdesai