Skip to content

NXP backend: Keep test_cifarnet in the wheel for internal testing. - #22645

Closed
MartinPavella wants to merge 1 commit into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1081-fix-failing-ci
Closed

NXP backend: Keep test_cifarnet in the wheel for internal testing.#22645
MartinPavella wants to merge 1 commit into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1081-fix-failing-ci

Conversation

@MartinPavella

@MartinPavella MartinPavella commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

A recent PR prevented unreferenced modules from being included in the wheel. The test_cifarnet module is however referenced in the NXP internal testing infrastructure, so the internal CI was broken.

This PR adds an exception, ensuring the test_cifarnet is included in the wheel.

Test plan

N/A

cc @robert-kalmar @JakeStevens @digantdesai @rascani

@MartinPavella MartinPavella self-assigned this Sep 9, 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 Sep 9, 2026
@pytorch-bot

pytorch-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 Cancelled Job, 1 Pending

As of commit 7523e89 with merge base 5dc1c72 (image):

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

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 Sep 9, 2026
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@MartinPavella
MartinPavella removed the request for review from shoumikhin September 9, 2026 17:00
@MartinPavella

Copy link
Copy Markdown
Collaborator Author

The internal CI is now passing: https://bamboo3.sw.nxp.com/browse/MLTECE-EXGHSPEC46-JOB1-1

@shoumikhin shoumikhin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some notes inline.

Comment thread setup.py
"executorch.examples.models.muse_glimmer.tests.test_mlx_pipeline",
"executorch.examples.models.muse_glimmer.tests.test_prompt_tokens",
"executorch.extension.pybindings.test.test_pybindings",
"executorch.backends.nxp.tests.generic_tests.test_cifarnet",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This test now ships in the wheel but both of its conftest files do not. Nothing sets the project dir or the runner path, the kernel imports never run, and the outputs folder is never created. A run from the installed wheel fails before the test starts. Either keep the conftest files with the test, or make the test not need them. If the internal setup already covers all of that, please say so next to the entry.

@MartinPavella MartinPavella Sep 10, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the suggestions.
I don't really like the idea of adding these workarounds just so we can import from the test_cifarnet module in our internal integration repo. I have decided to go with an internal fix instead, which renders this PR obsolete.

@MartinPavella
MartinPavella marked this pull request as draft September 10, 2026 07:44
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.

2 participants