Skip to content

Support both old and new model_explorer adapter module names. - #24020

Merged
MartinPavella merged 1 commit into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1151-fix-model-explorer-ci-breaking-issue
Oct 20, 2026
Merged

MartinPavella merged 1 commit into
pytorch:mainfrom
nxp-upstream:nxg01483/EIEX-1151-fix-model-explorer-ci-breaking-issue

Conversation

@MartinPavella

@MartinPavella MartinPavella commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

ai-edge-model-explorer 0.1.34 renamed the internal submodule pytorch_exported_program_adater_impl (typo) to
pytorch_exported_program_adapter_impl (corrected spelling). Since install_requirements.sh has no upper-bound pin, CI installs the latest release and fails with ModuleNotFoundError at test collection time.

Fix by trying the corrected name first (>=0.1.34), then falling back to the old typo name (<=0.1.33), so the code works across all supported versions without requiring a version pin.

Test plan

Tested by all NXP CI jobs.

cc @Gasoonjia

…ames.

ai-edge-model-explorer 0.1.34 renamed the internal submodule
pytorch_exported_program_adater_impl (typo) to
pytorch_exported_program_adapter_impl (corrected spelling).
Since install_requirements.sh has no upper-bound pin, CI installs
the latest release and fails with ModuleNotFoundError at test
collection time.

Fix by trying the corrected name first (>=0.1.34), then falling back
to the old typo name (<=0.1.33), so the code works across all
supported versions without requiring a version pin.
@pytorch-bot

pytorch-bot Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ You can merge normally! (2 Unrelated Failures)

As of commit 5286ce6 with merge base e0692c7 (image):

BROKEN TRUNK - The following jobs failed but were 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 Oct 20, 2026
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@MartinPavella MartinPavella changed the title NXP backend: Support both old and new model_explorer adapter module names. Support both old and new model_explorer adapter module names. Oct 20, 2026
@MartinPavella MartinPavella self-assigned this Oct 20, 2026
@MartinPavella MartinPavella added module: devtools Issues related to developer tools and code under devtools/ release notes: devtools Changes to dev tooling, for example the debugger & profiler labels Oct 20, 2026
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: devtools Issues related to developer tools and code under devtools/ release notes: devtools Changes to dev tooling, for example the debugger & profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants