Skip to content

NXP backend: Add non quantized FP32 model reference - #24898

Open
roman-janik-nxp wants to merge 1 commit into
pytorch:mainfrom
nxp-upstream:feature/nxg11066/EIEX-1137-Add-non-quantized-fp32-model-refrence
Open

roman-janik-nxp wants to merge 1 commit into
pytorch:mainfrom
nxp-upstream:feature/nxg11066/EIEX-1137-Add-non-quantized-fp32-model-refrence

Conversation

@roman-janik-nxp

@roman-janik-nxp roman-janik-nxp commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add non quantized FP32 model reference to nsys_testing.py. Adds the option to evaluate on unchanged FP32 model.

Test plan

Unit tests provided.

cc @robert-kalmar @JakeStevens @digantdesai @rascani

@roman-janik-nxp roman-janik-nxp 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 Nov 11, 2026
@pytorch-bot

pytorch-bot Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

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 Nov 11, 2026
@linux-foundation-easycla

linux-foundation-easycla Bot commented Nov 11, 2026 •

Copy link
Copy Markdown

CLA Not Signed

@roman-janik-nxp
roman-janik-nxp force-pushed the feature/nxg11066/EIEX-1137-Add-non-quantized-fp32-model-refrence branch 2 times, most recently from 71104fc to 36d29b7 Compare November 11, 2026 18:15
@roman-janik-nxp

Copy link
Copy Markdown
Collaborator Author

Dropped the reference debug text generation as it is solved in: #23530.

@roman-janik-nxp
roman-janik-nxp force-pushed the feature/nxg11066/EIEX-1137-Add-non-quantized-fp32-model-refrence branch from 36d29b7 to e9f6d78 Compare November 12, 2026 16:45

@novak-vaclav novak-vaclav left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I've got a few comments, but otherwise good job 😊👍


model_to_delegate = model
reference_model = deepcopy(model)
model_to_export_fp32 = deepcopy(model)

@novak-vaclav novak-vaclav Nov 12, 2026 •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

question:
why is the deepcopy removed? I think it should be preserved to avoid issues with accidental modification of reference_model by its users.

Comment thread backends/nxp/tests/nsys_testing.py Resolved
Comment thread backends/nxp/tests/nsys_testing.py Resolved
@novak-vaclav

Copy link
Copy Markdown
Collaborator

Also please sign the CLA to comply with the rules for contributors.

Comment thread backends/nxp/tests/nsys_testing.py Resolved
@roman-janik-nxp

Copy link
Copy Markdown
Collaborator Author

Didn't manage to finish update before vacation, wait for my return.

@roman-janik-nxp
roman-janik-nxp force-pushed the feature/nxg11066/EIEX-1137-Add-non-quantized-fp32-model-refrence branch 2 times, most recently from dcd94ca to 1af9917 Compare December 2, 2026 14:02
@roman-janik-nxp

Copy link
Copy Markdown
Collaborator Author

Updated PR and resolved the comments, please review again.

@roman-janik-nxp

Copy link
Copy Markdown
Collaborator Author

Noticed some conflicts with @novak-vaclav PR #25002. I think your PR should be merged first and then I will resolve them.

@roman-janik-nxp
roman-janik-nxp force-pushed the feature/nxg11066/EIEX-1137-Add-non-quantized-fp32-model-refrence branch from 1af9917 to d1db156 Compare December 3, 2026 14:22

This branch has not been deployed

No deployments
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