Skip to content

Arm backend: Add check to not partition ops with float64 input #10106

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 2 commits into from
Apr 11, 2025

Conversation

YufengShi-dudu
Copy link
Collaborator

@YufengShi-dudu YufengShi-dudu commented Apr 11, 2025

  • Float64 placeholders are not supported in the Arm backend. They will cause a crash when processed in the process_placeholder function. This patch rejects Float64 placeholders early to prevent crashes during the partition.

Change-Id: I7e7c61836a7a50f29c18252819cf5e537f3b595a

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

- Float64 placeholders are not supported in the Arm backend. They
  will cause a crash when processed in the process_placeholder
  function. This patch rejects Float64 placeholders early to prevent
  crashes during the partition.

Change-Id: I7e7c61836a7a50f29c18252819cf5e537f3b595a
Signed-off-by: Yufeng Shi <[email protected]>
@YufengShi-dudu YufengShi-dudu added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk topic: not user facing labels Apr 11, 2025
Copy link

pytorch-bot bot commented Apr 11, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job

As of commit 929d35d with merge base a147346 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

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 Apr 11, 2025
@zingo
Copy link
Collaborator

zingo commented Apr 11, 2025

MacOS fails unrelated

@zingo zingo merged commit a073668 into pytorch:main Apr 11, 2025
166 of 167 checks passed
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
- Float64 placeholders are not supported in the Arm backend. They will
cause a crash when processed in the process_placeholder function. This
patch rejects Float64 placeholders early to prevent crashes during the
partition.


Signed-off-by: Yufeng Shi <[email protected]>
keyprocedure pushed a commit to keyprocedure/executorch that referenced this pull request Apr 21, 2025
…ch#10106)

- Float64 placeholders are not supported in the Arm backend. They will
cause a crash when processed in the process_placeholder function. This
patch rejects Float64 placeholders early to prevent crashes during the
partition.


Signed-off-by: Yufeng Shi <[email protected]>
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.

3 participants