10000 Adjust tolerance for quantized XNN conv1d tests by GregoryComer · Pull Request #8093 · pytorch/executorch · GitHub
[go: up one dir, main page]

Skip to content

Adjust tolerance for quantized XNN conv1d tests #8093

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

< 10000 div class="pull-discussion-timeline js-pull-discussion-timeline js-quote-selection-container js-review-state-classes" data-quote-markdown=".js-comment-body" data-discussion-hovercards-enabled data-issue-and-pr-hovercards-enabled data-team-hovercards-enabled data-hpc >
GregoryComer
Copy link
Member
@GregoryComer GregoryComer commented Jan 31, 2025

Summary

Quantized conv1d tests are flaky due to tolerance being too low. This PR bumps the tolerance slightly. This should be safe, as the underlying kernels are believed to be correct and this issue has been observed for some time (not a recent regression in kernel accuracy).

Test plan

Ran tests locally for 1000 iterations and did not observe any failures.

Copy link
pytorch-bot bot commented Jan 31, 2025

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

⏳ No Failures, 1 Pending

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

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 Jan 31, 2025
tester.to_executorch().serialize().run_method_and_compare_outputs(
num_runs=10, atol=0.01, rtol=0.01
)
tester.to_executorch().serialize()
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be ok but feels like sliding under the rug 😄

As an alternative, does it make sense to mark it as flaky (I know this is not the correct use of the flaky tag but..) so the unit-tests won't block CI and create a task to look into it?

Copy link
Contributor

Choose a reason for hiding this comment

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

agreed

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. topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0