Skip to content

NXP backend: Support Neutron-S targets in imperative lowering functions - #25599

Open
MartinPavella wants to merge 2 commits into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1187-support-neutron-s-targets-in-the-imperative-lowering-functions
Open

MartinPavella wants to merge 2 commits into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1187-support-neutron-s-targets-in-the-imperative-lowering-functions

Conversation

@MartinPavella

@MartinPavella MartinPavella commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add a target parameter to to_quantized_executorch_program() and the
nsys testing helpers (lower_run_compare(), lower_run_compare_ptq_qat(),
_run_delegated_executorch_program()) and pass it through the lowering
pipeline. This enables lowering for i.MX95 and i.MX943.

Test plan

pytest -c /dev/null backends/nxp/tests/generic_tests/test_neutron_s.py

cc @robert-kalmar @JakeStevens @digantdesai @rascani

…erters

Remove the check in `NeutronTargetSpec.__init__()` which rejected all
subsystem (Neutron-S) targets. Each node converter now refuses delegation
on Neutron-S in its `_is_supported_on_target()` method instead, so support
can be enabled per operator as it gets verified.

Add `test_neutron_s.py`, which tests the target info selection and
  checks that a subsystem target is no longer rejected.
Add a `target` parameter to `to_quantized_executorch_program()` and the
nsys testing helpers (`lower_run_compare()`, `lower_run_compare_ptq_qat()`,
`_run_delegated_executorch_program()`) and pass it through the lowering
pipeline. This enables lowering for i.MX95 and i.MX943.
@MartinPavella MartinPavella self-assigned this Nov 23, 2026
@MartinPavella MartinPavella added module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate labels Nov 23, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 1dc07d7 with merge base 8a24461 (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 Nov 23, 2026
@MartinPavella

Copy link
Copy Markdown
Collaborator Author

This PR includes #25597, which has to be merged first.

This branch has not been deployed

No deployments
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. module: nxp Issues related to NXP Neutron NPU delegation and code under backends/nxp/ release notes: nxp Changes to the NXP Neutron backend delegate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant