Skip to content

Conversation

Sebastian-Larsson
Copy link
Collaborator

@Sebastian-Larsson Sebastian-Larsson commented Jun 10, 2025

Replace all assert statements in the quantizer module with appropriate exceptions (ValueError/TypeError) so misuse raises clear errors instead of AssertionError.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218

Replace all assert statements in the quantizer module with
appropriate exceptions (ValueError/TypeError) so misuse raises
clear errors instead of AssertionError.

Change-Id: I31e1e3575a30e23750705ed3b81a9d457ef58561
@Sebastian-Larsson Sebastian-Larsson added partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm ciflow/trunk release notes: none Do not include this in the release notes labels Jun 10, 2025
Copy link

pytorch-bot bot commented Jun 10, 2025

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit 45c02ba with merge base 77f16dc (image):

BROKEN TRUNK - The following job 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.

@facebook-github-bot facebook-github-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 Jun 10, 2025
@zingo
Copy link
Collaborator

zingo commented Jun 10, 2025

Test fail in cortex-m is unrelated

@zingo zingo merged commit ed486c2 into pytorch:main Jun 10, 2025
191 of 194 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. partner: arm For backend delegation, kernels, demo, etc. from the 3rd-party partner, Arm release notes: none Do not include this in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants