Skip to content

Conversation

@Daksh-Shami
Copy link
Contributor

Summary: We need to add embedded fpu target as well for EthosUBackend as Arm FVP platform can use that for tests for some models.

Differential Revision: D84284543

@pytorch-bot
Copy link

pytorch-bot bot commented Oct 16, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit d0a505d with merge base d588947 (image):

NEW FAILURES - The following jobs have failed:

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 Oct 16, 2025
@meta-codesync
Copy link

meta-codesync bot commented Oct 16, 2025

@Daksh-Shami has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84284543.

@github-actions
Copy link

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Summary:

Explicitly declaring generated libs with exception code off for quantized kernels as executorch does not use exceptions in general, and it can cause downstream errors. Detailed error is P1986979595 but the relevant part is:
```
buck-out/ABC/gen/fbsource/6e53edb0a9a0d828/xplat/executorch/kernels/quantized/__generated_lib_combined__/out/RegisterCodegenUnboxedKernelsEverything.cpp:77:44: error: exception handling disabled, use '-fexceptions' to enable
   77 |             } catch (const std::exception& ex) {
      |
```
This means the existing generated code uses exceptions in its code, so when we use these kernels with -fno-exceptions downstream, the build fails.

After this diff, we can use the exception free kernels with 'no_exceptions' suffix -- 
`//xplat/executorch/kernels/quantized:generated_lib_no_exceptions` or 
`//xplat/executorch/kernels/quantized:generated_lib_aten_no_exceptions` as appropriate. 

We still have `//xplat/executorch/kernels/quantized:generated_lib` and `//xplat/executorch/kernels/quantized:generated_lib_aten` available, same as before, so no downstream side effects are expected.

Reviewed By: swolchok

Differential Revision: D84284541
Summary:

We need to add embedded fpu target as well for EthosUBackend as Arm FVP platform can use that for tests for some models.

Differential Revision: D84284543
Copy link
Contributor

@swolchok swolchok left a comment

Choose a reason for hiding this comment

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

Review automatically exported from Phabricator review in Meta.

@meta-codesync meta-codesync bot merged commit 173b046 into pytorch:main Oct 17, 2025
126 of 129 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants