projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a3c47
)
[TEST] test_cuddn flaky (#4846)
author
Tianqi Chen
<tqchen@users.noreply.github.com>
Sat, 8 Feb 2020 22:05:21 +0000
(14:05 -0800)
committer
GitHub
<noreply@github.com>
Sat, 8 Feb 2020 22:05:21 +0000
(14:05 -0800)
tests/python/contrib/test_cudnn.py
patch
|
blob
|
history
diff --git
a/tests/python/contrib/test_cudnn.py
b/tests/python/contrib/test_cudnn.py
index
a28f433
..
1a22f90
100644
(file)
--- a/
tests/python/contrib/test_cudnn.py
+++ b/
tests/python/contrib/test_cudnn.py
@@
-78,7
+78,7
@@
def verify_conv2d(data_dtype, conv_dtype, tensor_format=0):
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=
1
e-5, rtol=1e-3)
+ tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=
3
e-5, rtol=1e-3)
verify()
@@
-149,7
+149,7
@@
def verify_conv3d(data_dtype, conv_dtype, tensor_format=0):
raise AssertionError("For now, conv3d tensor format only support: 0(NCHW)")
f(x, w, y)
- tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=
1
e-5, rtol=1e-4)
+ tvm.testing.assert_allclose(y.asnumpy(), c_np, atol=
3
e-5, rtol=1e-4)
verify()