Skip to content

Conversation

@MartinPavella
Copy link
Collaborator

@MartinPavella MartinPavella commented Sep 1, 2025

Summary

Fix 2 bugs related to quantization parameters that are shared between multiple tensors/nodes:

  • Turn off bias tensor reuse in Convolution converter
  • Fix _has_shared_q_params_if_quantized in Node converter

Test plan

No direct unit tests are provided. Correct functionality is tested by all tests with quantized nodes.

cc @robert-kalmar @roman-janik-nxp @StrycekSimon @jirioc

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 1, 2025

🔗 Helpful Links

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

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

❌ 5 New Failures, 1 Cancelled Job

As of commit 30316cd with merge base 2a06efb (image):

NEW FAILURES - The following jobs have failed:

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 1, 2025
@MartinPavella
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 1, 2025
@MartinPavella MartinPavella force-pushed the upstream/main-nxp/EIEX-518-upstream-fixed-shared-quantization-bugs branch from ed65598 to 17a6004 Compare September 3, 2025 09:32
@robert-kalmar robert-kalmar self-requested a review September 4, 2025 11:58
@robert-kalmar robert-kalmar force-pushed the upstream/main-nxp/EIEX-518-upstream-fixed-shared-quantization-bugs branch from 17a6004 to 30316cd Compare September 9, 2025 20:45
Copy link
Collaborator

@robert-kalmar robert-kalmar left a comment

Choose a reason for hiding this comment

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

The failures are unrelated to this PR.

@robert-kalmar robert-kalmar merged commit 03333c5 into pytorch:main Sep 10, 2025
269 of 275 checks passed
@robert-kalmar robert-kalmar deleted the upstream/main-nxp/EIEX-518-upstream-fixed-shared-quantization-bugs branch September 10, 2025 14:24
StrycekSimon pushed a commit to nxp-upstream/executorch that referenced this pull request Sep 23, 2025
### Summary
Fix 2 bugs related to quantization parameters that are shared between
multiple tensors/nodes:
- Turn off bias tensor reuse in Convolution converter
- Fix _has_shared_q_params_if_quantized in Node converter

### Test plan
No direct unit tests are provided. Correct functionality is tested by
all tests with quantized nodes.

---
Co-authored-by: Roman Janik <[email protected]>
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