Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix atol for test_preloaded_multi_sgd (#16356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Caenorst authored and anirudh2290 committed Oct 2, 2019
1 parent 480b50c commit 8136d49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/gpu/test_operator_gpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def _assert_all_almost_equal(lhs_list, rhs_list, rtol, atol):
assert_almost_equal(lhs.asnumpy(), rhs.asnumpy(), rtol=rtol, atol=atol)
if dtype == 'float16':
rtol = 1e-3
atol = 1e-3
atol = 1e-2
else:
rtol = 1e-5
atol = 1e-6
Expand Down

0 comments on commit 8136d49

Please sign in to comment.