Skip to content

Conversation

@MartinPavella
Copy link
Collaborator

@MartinPavella MartinPavella commented Dec 9, 2025

Summary

This PR enables the utilization of channels last dim order by the Neutron backend, and prohibits the use of unexpected dim orders.

Test plan

As the testing requires the Neutron simulator which is not yet publicly available, the implementation was only tested internally in NXP.

cc @robert-kalmar @JakeStevens @digantdesai

@pytorch-bot
Copy link

pytorch-bot bot commented Dec 9, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures, 8 Pending, 1 Unrelated Failure

As of commit e67d1f2 with merge base d8c9c74 (image):

NEW FAILURES - The following jobs have failed:

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

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 Dec 9, 2025
@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 and removed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Dec 9, 2025
@MartinPavella MartinPavella force-pushed the nxg01483/feature/EIEX-630-prohibit-unexpected-dim-orders-in-the-neutronruntime branch from cb9caa3 to 304fd74 Compare December 9, 2025 09:33
@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 Dec 9, 2025
@MartinPavella MartinPavella requested review from jirioc and robert-kalmar and removed request for robert-kalmar December 9, 2025 09:34
@MartinPavella MartinPavella force-pushed the nxg01483/feature/EIEX-630-prohibit-unexpected-dim-orders-in-the-neutronruntime branch from 304fd74 to a069bba Compare December 9, 2025 12:36
@MartinPavella MartinPavella force-pushed the nxg01483/feature/EIEX-630-prohibit-unexpected-dim-orders-in-the-neutronruntime branch from a069bba to 5971669 Compare December 10, 2025 07:32
@MartinPavella MartinPavella requested a review from jirioc December 11, 2025 07:31
// The input matches the ExecuTorch format, so no transposition is
// needed.

if (!is_contiguous_dim_order(dim_order, arg.dim())) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice!

@MartinPavella MartinPavella force-pushed the nxg01483/feature/EIEX-630-prohibit-unexpected-dim-orders-in-the-neutronruntime branch from 5971669 to e67d1f2 Compare December 15, 2025 11:29
@MartinPavella MartinPavella merged commit d412189 into pytorch:main Dec 15, 2025
138 of 141 checks passed
xingguo01 pushed a commit to xingguo01/executorch that referenced this pull request Dec 18, 2025
### Summary
This PR enables the utilization of channels last dim order by the
Neutron backend, and prohibits the use of unexpected dim orders.

### Test plan
As the testing requires the Neutron simulator which is not yet publicly
available, the implementation was only tested internally in NXP.

cc @robert-kalmar @JakeStevens @digantdesai
jirioc pushed a commit to nxp-upstream/executorch that referenced this pull request Dec 19, 2025
### Summary
This PR enables the utilization of channels last dim order by the
Neutron backend, and prohibits the use of unexpected dim orders.

### Test plan
As the testing requires the Neutron simulator which is not yet publicly
available, the implementation was only tested internally in NXP.

cc @robert-kalmar @JakeStevens @digantdesai
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