Skip to content

NXP backend: Move Neutron-S restriction from target spec to node converters - #25597

Open
MartinPavella wants to merge 1 commit into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1186-remove-neutrontargetspec-mcu-only-guard
Open

MartinPavella wants to merge 1 commit into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1186-remove-neutrontargetspec-mcu-only-guard

Conversation

@MartinPavella

@MartinPavella MartinPavella commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

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.

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.
@MartinPavella MartinPavella self-assigned this Nov 23, 2026
@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 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/25597

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

❌ 1 New Failure

As of commit b1bb072 with merge base 8a24461 (image):

NEW FAILURE - The following job has failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

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