Skip to content
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

loose unit test atol rtol tolerance to eliminate ut flakiness #3664

Closed
wants to merge 1 commit into from

Conversation

YUNQIUGUO
Copy link
Contributor

Summary:
upon further local testings, detected around 1 out of 10 iterations, the fast_gemv unit test can fail due to a few 0.1%~ 0.2% noisy outputs. Loose the tolerance level to reduce flakiness.

as an example failed test e.g.

Mismatched elements: 1 / 1280 (0.1%)
Greatest absolute difference: 0.001953125 at index (0, 1064) (up to 0.001 allowed)
Greatest relative difference: 0.007415771484375 at index (0, 1064) (up to 0.001 allowed)

Differential Revision: D69208318

Summary:
upon further local testings, detected around 1 out of 10 iterations, the fast_gemv unit test can fail due to a few 0.1%~ 0.2% noisy outputs. Loose the tolerance level to reduce flakiness.


as an example failed test e.g.


```
Mismatched elements: 1 / 1280 (0.1%)
Greatest absolute difference: 0.001953125 at index (0, 1064) (up to 0.001 allowed)
Greatest relative difference: 0.007415771484375 at index (0, 1064) (up to 0.001 allowed)
```

Differential Revision: D69208318
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D69208318

Copy link

netlify bot commented Feb 5, 2025

Deploy Preview for pytorch-fbgemm-docs ready!

Name Link
🔨 Latest commit 5611654
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-fbgemm-docs/deploys/67a3e9c20cf34b00082112b6
😎 Deploy Preview https://deploy-preview-3664--pytorch-fbgemm-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 9a343a0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants