Skip to content

Conversation

roman-janik-nxp
Copy link
Collaborator

@roman-janik-nxp roman-janik-nxp commented Sep 10, 2025

Summary

Move optimization in keep_one_empty_buffer.py to IR Model builder. This functionality wasn't an optimization, but a required step needed to successfully build a IR model for delegation.

Test plan

All tests where a subgraph is delegated to Neutron.
cc @robert-kalmar @roman-janik-nxp @StrycekSimon @jirioc @MartinPavella

Copy link

pytorch-bot bot commented Sep 10, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure, 2 Cancelled Jobs

As of commit 01d03ca with merge base eec95d0 (image):

NEW FAILURE - The following job has failed:

CANCELLED JOBS - The following jobs were 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 10, 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 Sep 10, 2025
@robert-kalmar robert-kalmar self-requested a review September 11, 2025 07:35
Copy link
Collaborator

@MartinPavella MartinPavella left a comment

Choose a reason for hiding this comment

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

LGTM

@robert-kalmar robert-kalmar force-pushed the feature/nxg11066/EIEX-517-Move-optimization-in-keep_one_empty_buffer.py-to-model-builder branch from be20b38 to aeef112 Compare September 11, 2025 09:54
@roman-janik-nxp roman-janik-nxp changed the title Move optimization in keep_one_empty_buffer.py to Model builder NXP backend: Move optimization in keep_one_empty_buffer.py to Model builder Sep 11, 2025
@robert-kalmar robert-kalmar force-pushed the feature/nxg11066/EIEX-517-Move-optimization-in-keep_one_empty_buffer.py-to-model-builder branch from aeef112 to 72c82db Compare September 11, 2025 16:22
@StrycekSimon
Copy link
Collaborator

There are some lintrunner issues. @roman-janik-nxp, can you fix it?

@roman-janik-nxp roman-janik-nxp force-pushed the feature/nxg11066/EIEX-517-Move-optimization-in-keep_one_empty_buffer.py-to-model-builder branch from 72c82db to 4fa822f Compare September 12, 2025 11:50
@roman-janik-nxp
Copy link
Collaborator Author

There are some lintrunner issues. @roman-janik-nxp, can you fix it?

Done.

…in-keep_one_empty_buffer.py-to-model-builder
@robert-kalmar robert-kalmar merged commit dfd7f2a into pytorch:main Sep 15, 2025
122 of 125 checks passed
@robert-kalmar robert-kalmar deleted the feature/nxg11066/EIEX-517-Move-optimization-in-keep_one_empty_buffer.py-to-model-builder branch September 15, 2025 14:27
StrycekSimon pushed a commit to nxp-upstream/executorch that referenced this pull request Sep 23, 2025
…uilder (pytorch#14163)

### Summary
Move optimization in keep_one_empty_buffer.py to IR Model builder. This
functionality is not an optimization, but a required housekeeping step to 
build a valid IR model for Neutron Converter.

### Test plan
All tests where a subgraph is delegated to Neutron.
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.

4 participants