Skip to content

[tests] Increase atol/rtol from 1e-6 to 1e-5 for higher test consistency#3578

Merged
tomaarsen merged 3 commits intohuggingface:mainfrom
tomaarsen:tests/rtol_atol
Nov 21, 2025
Merged

[tests] Increase atol/rtol from 1e-6 to 1e-5 for higher test consistency#3578
tomaarsen merged 3 commits intohuggingface:mainfrom
tomaarsen:tests/rtol_atol

Conversation

@tomaarsen
Copy link
Member

Hello!

Pull Request overview

  • Increase atol/rtol from1e-6 to 1e-5 for highest test consistency

Details

With an atol/rtol of 1e-6, 1 out of 100 cases would fail, resulting in test failures. This is not necessary, so I'm trying to lower it to 1e-5 to check if it's more consistent.

  • Tom Aarsen

@tomaarsen tomaarsen enabled auto-merge (squash) November 21, 2025 11:27
@tomaarsen tomaarsen disabled auto-merge November 21, 2025 11:27
@tomaarsen tomaarsen changed the title [tests] Increase atol/rtol from1e-6 to 1e-5 for highest test consistency [tests] Increase atol/rtol from1e-6 to 1e-5 for higher test consistency Nov 21, 2025
@tomaarsen tomaarsen enabled auto-merge (squash) November 21, 2025 11:27
@tomaarsen tomaarsen changed the title [tests] Increase atol/rtol from1e-6 to 1e-5 for higher test consistency [tests] Increase atol/rtol from 1e-6 to 1e-5 for higher test consistency Nov 21, 2025
@tomaarsen tomaarsen merged commit 6aaa53b into huggingface:main Nov 21, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant