Skip to content

NXP backend: fixed docs in nxp-quantization.md - #21472

Merged
JacobSzwejbka merged 1 commit into
release/1.4from
cherry-pick-21464-by-pytorch_bot_bot_
Jul 30, 2026
Merged

NXP backend: fixed docs in nxp-quantization.md#21472
JacobSzwejbka merged 1 commit into
release/1.4from
cherry-pick-21464-by-pytorch_bot_bot_

Conversation

@pytorchbot

Copy link
Copy Markdown
Collaborator

Summary

Fixed code snippets in nxp-quantization.md.

  • there was an issue with faulty imports, where some kernels were not registered properly.
  • added missing neutron_target_spec argument.
  • here was another issue with the snippet for QAT. I fixed the code so it can be copy-pasted and run directly. I also removed the optional biasless convolution pass step. It makes the whole snippet quite misleading, since the example MobileNet does not have biasless convolutions, thus the code fails. I think the whole caveat is understandable from the last section about known limitations.
  • fixed invalid link.

Test plan

No need to run tests, these changes affect only docs.

cc @robert-kalmar @JakeStevens @digantdesai @rascani @MartinPavella @roman-janik-nxp

### Summary

Fixed code snippets in `nxp-quantization.md`.

- there was an issue with faulty imports, where some kernels were not
registered properly.
- added missing `neutron_target_spec` argument.
- here was another issue with the snippet for QAT. I fixed the code so
it can be copy-pasted and run directly. I also removed the optional
biasless convolution pass step. It makes the whole snippet quite
misleading, since the example MobileNet does not have biasless
convolutions, thus the code fails. I think the whole caveat is
understandable from the last section about known limitations.
- fixed invalid link.

### Test plan

No need to run tests, these changes affect only docs.

(cherry picked from commit 85a204a)
@pytorch-bot

pytorch-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

✅ No Failures

As of commit b769ece with merge base cd380e7 (image):
💚 Looks good so far! There are no failures yet. 💚

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 Jul 29, 2026
@linux-foundation-easycla

Copy link
Copy Markdown

CLA Not Signed

@JacobSzwejbka
JacobSzwejbka merged commit 8e65a74 into release/1.4 Jul 30, 2026
185 of 187 checks passed
@JacobSzwejbka
JacobSzwejbka deleted the cherry-pick-21464-by-pytorch_bot_bot_ branch July 30, 2026 03:48
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants