Skip to content

NXP backend: Remove optimization in prune_cast_operators.py #13377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

roman-janik-nxp
Copy link
Collaborator

Summary

Remove unnecessary optimization in prune_cast_operators.py in IR optimizer.

Test plan

All tests where a subgraph is delegated to Neutron.

cc @digantdesai @JakeStevens @robert-kalmar @Pop-korn

Copy link

pytorch-bot bot commented Aug 13, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (4 Unrelated Failures)

As of commit 627f084 with merge base ea4a7fa (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 Aug 13, 2025
@roman-janik-nxp
Copy link
Collaborator Author

@pytorchbot label "module: nxp" "release notes: nxp"

@pytorch-bot pytorch-bot bot 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 Aug 13, 2025
@roman-janik-nxp roman-janik-nxp changed the title Remove optimization in prune_cast_operators.py NXP backend: Remove optimization in prune_cast_operators.py Aug 14, 2025
@MartinPavella
Copy link
Contributor

LGTM

@JakeStevens JakeStevens merged commit 7dfaadf into pytorch:main Aug 18, 2025
100 of 106 checks passed
@robert-kalmar robert-kalmar deleted the feature/nxg11066/EIEX-478-remove-optimization-in-prune_cast_operators.py branch August 19, 2025 07:37
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