Skip to content

NXP backend: Add option to use the new Neutron flow.#18998

Open
MartinPavella wants to merge 1 commit intopytorch:mainfrom
nxp-upstream:nxg01483/EIEX-846-add-option-to-switch-to-the-new-flow-of-neutron-converter
Open

NXP backend: Add option to use the new Neutron flow.#18998
MartinPavella wants to merge 1 commit intopytorch:mainfrom
nxp-upstream:nxg01483/EIEX-846-add-option-to-switch-to-the-new-flow-of-neutron-converter

Conversation

@MartinPavella
Copy link
Copy Markdown
Collaborator

@MartinPavella MartinPavella commented Apr 20, 2026

Summary

The new Neutron C flow is based on MLIR, and it provides improved support for many operators. This PR adds to option to use it.

Test plan

Unit test provided.

cc @robert-kalmar @JakeStevens @digantdesai

@MartinPavella MartinPavella self-assigned this Apr 20, 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 Apr 20, 2026
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented Apr 20, 2026

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 1 New Failure, 1 Cancelled Job, 1 Pending, 2 Unrelated Failures

As of commit 7acffcd with merge base c48ea12 (image):

NEW FAILURE - The following job has failed:

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

FLAKY - The following job failed but was likely due to flakiness present on trunk:

BROKEN TRUNK - The following job failed but was 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.

@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 Apr 20, 2026
@MartinPavella
Copy link
Copy Markdown
Collaborator Author

MartinPavella commented Apr 20, 2026

@novak-vaclav @roman-janik-nxp @StrycekSimon feel free to base the enablement of new operators on this PR.
It will not be merged until we migrate to Neutron SDK 3.1.0. For now, new additions based on this SDK will be stored as draft PRs.

@MartinPavella MartinPavella force-pushed the nxg01483/EIEX-846-add-option-to-switch-to-the-new-flow-of-neutron-converter branch 4 times, most recently from fd82286 to 30a48cc Compare April 23, 2026 05:44
@MartinPavella MartinPavella marked this pull request as ready for review April 23, 2026 05:45
Comment thread backends/nxp/backend/neutron_converter_manager.py Outdated
Comment thread backends/nxp/tests_models/executors.py Outdated
Comment thread examples/nxp/aot_neutron_compile.py
The new Neutron C flow is based on MLIR, and it provides improved support for many operators.
@MartinPavella MartinPavella force-pushed the nxg01483/EIEX-846-add-option-to-switch-to-the-new-flow-of-neutron-converter branch from 30a48cc to 7acffcd Compare April 23, 2026 06:16
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.

3 participants