Skip to content

Commit

Permalink
[TEST] test_cuddn flaky (apache#4846)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored and alexwong committed Feb 26, 2020
1 parent 8e7e7e7 commit ecb3df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/python/contrib/test_cudnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def verify():
c_np = topi.testing.conv2d_nhwc_python(x_np, wt, 1, 1)

f(x, w, y)
tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=1e-5, rtol=1e-3)
tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=3e-5, rtol=1e-3)

verify()

Expand Down Expand Up @@ -149,7 +149,7 @@ def verify():
raise AssertionError("For now, conv3d tensor format only support: 0(NCHW)")

f(x, w, y)
tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=1e-5, rtol=1e-4)
tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=3e-5, rtol=1e-4)

verify()

Expand Down

0 comments on commit ecb3df5

Please sign in to comment.