Skip to content

Conversation

@pmeier
Copy link
Contributor

@pmeier pmeier commented Nov 7, 2022

Follow-up to #6921. Currently we have a bunch of tests that differ when comparing CPU vs. CUDA. Fortunately, the difference is minimal, i.e. atol=1 for uint8 and atol=1 / 255 for float32 is sufficient.

These errors have not been surfaced before, because we don't have prototype CUDA tests in CI. Together with #6923, there should be no more errors in the test suite regarding CUDA.

cc @vfdev-5 @datumbox @bjuncek

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, the thresholds seem reasonable. @vfdev-5 any concerns?

Copy link
Contributor

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

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

OK to me as well, thanks @pmeier

@pmeier pmeier merged commit 6ad8044 into pytorch:main Nov 7, 2022
@pmeier pmeier deleted the cuda-tol branch November 7, 2022 19:13
facebook-github-bot pushed a commit that referenced this pull request Nov 14, 2022
Reviewed By: NicolasHug

Differential Revision: D41265179

fbshipit-source-id: 718bbcb4d333ecff2533f4ec3b9ecd94c03bc0c5
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.

4 participants