Guest User

Untitled

a guest
Feb 19th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.40 KB | None | 0 0
  1. 14:55:15 =================================== FAILURES ===================================
  2. 14:55:15 ___________________ TestMatmulLarge_param_5.test_cupy_matmul ___________________
  3. 14:55:15 cupy/testing/parameterized.py:58: in wrap
  4. 14:55:15 six.raise_from(e_new.with_traceback(e.__traceback__), None)
  5. 14:55:15 cupy/testing/parameterized.py:43: in wrap
  6. 14:55:15 return method(*args, **kwargs)
  7. 14:55:15 cupy/testing/helper.py:513: in test_func
  8. 14:55:15 impl(self, *args, **kw)
  9. 14:55:15 cupy/testing/helper.py:513: in test_func
  10. 14:55:15 impl(self, *args, **kw)
  11. 14:55:15 cupy/testing/helper.py:131: in test_func
  12. 14:55:15 check_func(cupy_result, numpy_result)
  13. 14:55:15 cupy/testing/helper.py:189: in check_func
  14. 14:55:15 array.assert_allclose(c, n, rtol, atol, err_msg, verbose)
  15. 14:55:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  16. 14:55:15
  17. 14:55:15 actual = array([[[[ 1.10000000e+001, 1.40000000e+001, 1.70000000e+001,
  18. 14:55:15 2.00000000e+001],
  19. 14:55:15 [ 2.3000000... 0.00000000e+000],
  20. 14:55:15 [ 0.00000000e+000, 0.00000000e+000, 0.00000000e+000,
  21. 14:55:15 0.00000000e+000]]]])
  22. 14:55:15 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  23. 14:55:15 2.00000000e+01],
  24. 14:55:15 [ 2.30000000e+0... 1.30920000e+04],
  25. 14:55:15 [ 1.38670000e+04, 1.39260000e+04, 1.39850000e+04,
  26. 14:55:15 1.40440000e+04]]]])
  27. 14:55:15 rtol = 0.001, atol = 0.001, err_msg = '', verbose = True
  28. 14:55:15
  29. 14:55:15 def assert_allclose(actual, desired, rtol=1e-7, atol=0, err_msg='',
  30. 14:55:15 verbose=True):
  31. 14:55:15 """Raises an AssertionError if objects are not equal up to desired tolerance.
  32. 14:55:15
  33. 14:55:15 Args:
  34. 14:55:15 actual(numpy.ndarray or cupy.ndarray): The actual object to check.
  35. 14:55:15 desired(numpy.ndarray or cupy.ndarray): The desired, expected object.
  36. 14:55:15 rtol(float): Relative tolerance.
  37. 14:55:15 atol(float): Absolute tolerance.
  38. 14:55:15 err_msg(str): The error message to be printed in case of failure.
  39. 14:55:15 verbose(bool): If ``True``, the conflicting
  40. 14:55:15 values are appended to the error message.
  41. 14:55:15
  42. 14:55:15 .. seealso:: :func:`numpy.testing.assert_allclose`
  43. 14:55:15
  44. 14:55:15 """
  45. 14:55:15 numpy.testing.assert_allclose(
  46. 14:55:15 cupy.asnumpy(actual), cupy.asnumpy(desired),
  47. 14:55:15 > rtol=rtol, atol=atol, err_msg=err_msg, verbose=verbose)
  48. 14:55:15 E AssertionError: Parameterized test failed.
  49. 14:55:15 E
  50. 14:55:15 E Base test method: TestMatmulLarge.test_cupy_matmul
  51. 14:55:15 E Test parameters:
  52. 14:55:15 E shape_pair: ((1, 5, 3, 2), (6, 5, 2, 4))
  53. 14:55:15 E
  54. 14:55:15 E AssertionError:
  55. 14:55:15 E Not equal to tolerance rtol=0.001, atol=0.001
  56. 14:55:15 E
  57. 14:55:15 E (mismatch 83.33333333333333%)
  58. 14:55:15 E x: array([[[[ 1.100000e+001, 1.400000e+001, 1.700000e+001,
  59. 14:55:15 E 2.000000e+001],
  60. 14:55:15 E [ 2.300000e+001, 3.000000e+001, 3.700000e+001,...
  61. 14:55:15 E y: array([[[[ 1.100000e+01, 1.400000e+01, 1.700000e+01, 2.000000e+01],
  62. 14:55:15 E [ 2.300000e+01, 3.000000e+01, 3.700000e+01, 4.400000e+01],
  63. 14:55:15 E [ 3.500000e+01, 4.600000e+01, 5.700000e+01, 6.800000e+01]],...
  64. 14:55:15
  65. 14:55:15 actual = array([[[[ 1.10000000e+001, 1.40000000e+001, 1.70000000e+001,
  66. 14:55:15 2.00000000e+001],
  67. 14:55:15 [ 2.3000000... 0.00000000e+000],
  68. 14:55:15 [ 0.00000000e+000, 0.00000000e+000, 0.00000000e+000,
  69. 14:55:15 0.00000000e+000]]]])
  70. 14:55:15 atol = 0.001
  71. 14:55:15 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  72. 14:55:15 2.00000000e+01],
  73. 14:55:15 [ 2.30000000e+0... 1.30920000e+04],
  74. 14:55:15 [ 1.38670000e+04, 1.39260000e+04, 1.39850000e+04,
  75. 14:55:15 1.40440000e+04]]]])
  76. 14:55:15 err_msg = ''
  77. 14:55:15 rtol = 0.001
  78. 14:55:15 verbose = True
  79. 14:55:15
  80. 14:55:15 cupy/testing/array.py:26: AssertionError
  81. 14:55:15 ----------------------------- Captured stdout call -----------------------------
  82. 14:55:15 dtype2 is <class 'numpy.float64'>
  83. 14:55:15 dtype1 is <class 'numpy.float64'>
  84. 14:55:15 ___________________ TestMatmulLarge_param_2.test_cupy_matmul ___________________
  85. 14:55:15 cupy/testing/parameterized.py:58: in wrap
  86. 14:55:15 six.raise_from(e_new.with_traceback(e.__traceback__), None)
  87. 14:55:15 cupy/testing/parameterized.py:43: in wrap
  88. 14:55:15 return method(*args, **kwargs)
  89. 14:55:15 cupy/testing/helper.py:513: in test_func
  90. 14:55:15 impl(self, *args, **kw)
  91. 14:55:15 cupy/testing/helper.py:513: in test_func
  92. 14:55:15 impl(self, *args, **kw)
  93. 14:55:15 cupy/testing/helper.py:131: in test_func
  94. 14:55:15 check_func(cupy_result, numpy_result)
  95. 14:55:15 cupy/testing/helper.py:189: in check_func
  96. 14:55:15 array.assert_allclose(c, n, rtol, atol, err_msg, verbose)
  97. 14:55:15 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  98. 14:55:15
  99. 14:55:15 actual = array([[[[ 1.10000000e+001, 1.40000000e+001, 1.70000000e+001,
  100. 14:55:15 2.00000000e+001],
  101. 14:55:15 [ 2.3000000... 1.21464257e-302],
  102. 14:55:15 [ 7.67663191e-303, 9.21177829e-303, 1.07469247e-302,
  103. 14:55:15 1.22831585e-302]]]])
  104. 14:55:15 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  105. 14:55:15 2.00000000e+01],
  106. 14:55:15 [ 2.30000000e+0... 1.34920000e+04],
  107. 14:55:15 [ 1.25670000e+04, 1.29260000e+04, 1.32850000e+04,
  108. 14:55:15 1.36440000e+04]]]])
  109. 14:55:15 rtol = 0.001, atol = 0.001, err_msg = '', verbose = True
  110. 14:55:15
  111. 14:55:15 def assert_allclose(actual, desired, rtol=1e-7, atol=0, err_msg='',
  112. 14:55:15 verbose=True):
  113. 14:55:15 """Raises an AssertionError if objects are not equal up to desired tolerance.
  114. 14:55:15
  115. 14:55:15 Args:
  116. 14:55:15 actual(numpy.ndarray or cupy.ndarray): The actual object to check.
  117. 14:55:15 desired(numpy.ndarray or cupy.ndarray): The desired, expected object.
  118. 14:55:15 rtol(float): Relative tolerance.
  119. 14:55:15 atol(float): Absolute tolerance.
  120. 14:55:15 err_msg(str): The error message to be printed in case of failure.
  121. 14:55:15 verbose(bool): If ``True``, the conflicting
  122. 14:55:15 values are appended to the error message.
  123. 14:55:15
  124. 14:55:15 .. seealso:: :func:`numpy.testing.assert_allclose`
  125. 14:55:15
  126. 14:55:15 """
  127. 14:55:15 numpy.testing.assert_allclose(
  128. 14:55:15 cupy.asnumpy(actual), cupy.asnumpy(desired),
  129. 14:55:15 > rtol=rtol, atol=atol, err_msg=err_msg, verbose=verbose)
  130. 14:55:15 E AssertionError: Parameterized test failed.
  131. 14:55:15 E
  132. 14:55:15 E Base test method: TestMatmulLarge.test_cupy_matmul
  133. 14:55:15 E Test parameters:
  134. 14:55:15 E shape_pair: ((6, 5, 3, 2), (1, 5, 2, 4))
  135. 14:55:15 E
  136. 14:55:15 E AssertionError:
  137. 14:55:15 E Not equal to tolerance rtol=0.001, atol=0.001
  138. 14:55:15 E
  139. 14:55:15 E (mismatch 83.33333333333333%)
  140. 14:55:15 E x: array([[[[ 1.100000e+001, 1.400000e+001, 1.700000e+001,
  141. 14:55:15 E 2.000000e+001],
  142. 14:55:15 E [ 2.300000e+001, 3.000000e+001, 3.700000e+001,...
  143. 14:55:15 E y: array([[[[ 1.100000e+01, 1.400000e+01, 1.700000e+01, 2.000000e+01],
  144. 14:55:15 E [ 2.300000e+01, 3.000000e+01, 3.700000e+01, 4.400000e+01],
  145. 14:55:15 E [ 3.500000e+01, 4.600000e+01, 5.700000e+01, 6.800000e+01]],...
  146. 14:55:15
  147. 14:55:15 actual = array([[[[ 1.10000000e+001, 1.40000000e+001, 1.70000000e+001,
  148. 14:55:15 2.00000000e+001],
  149. 14:55:15 [ 2.3000000... 1.21464257e-302],
  150. 14:55:15 [ 7.67663191e-303, 9.21177829e-303, 1.07469247e-302,
  151. 14:55:15 1.22831585e-302]]]])
  152. 14:55:15 atol = 0.001
  153. 14:55:15 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  154. 14:55:15 2.00000000e+01],
  155. 14:55:15 [ 2.30000000e+0... 1.34920000e+04],
  156. 14:55:15 [ 1.25670000e+04, 1.29260000e+04, 1.32850000e+04,
  157. 14:55:15 1.36440000e+04]]]])
  158. 14:55:15 err_msg = ''
  159. 14:55:15 rtol = 0.001
  160. 14:55:15 verbose = True
  161. 14:55:15
  162. 14:55:15 cupy/testing/array.py:26: AssertionError
  163. 14:55:15 ----------------------------- Captured stdout call -----------------------------
  164. 14:55:16 dtype2 is <class 'numpy.float64'>
  165. 14:55:16 dtype1 is <class 'numpy.float64'>
  166. 14:55:16 ___________________ TestMatmulLarge_param_4.test_cupy_matmul ___________________
  167. 14:55:16 cupy/testing/parameterized.py:58: in wrap
  168. 14:55:16 six.raise_from(e_new.with_traceback(e.__traceback__), None)
  169. 14:55:16 cupy/testing/parameterized.py:43: in wrap
  170. 14:55:16 return method(*args, **kwargs)
  171. 14:55:16 cupy/testing/helper.py:513: in test_func
  172. 14:55:16 impl(self, *args, **kw)
  173. 14:55:16 cupy/testing/helper.py:513: in test_func
  174. 14:55:16 impl(self, *args, **kw)
  175. 14:55:16 cupy/testing/helper.py:131: in test_func
  176. 14:55:16 check_func(cupy_result, numpy_result)
  177. 14:55:16 cupy/testing/helper.py:189: in check_func
  178. 14:55:16 array.assert_allclose(c, n, rtol, atol, err_msg, verbose)
  179. 14:55:16 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  180. 14:55:16
  181. 14:55:16 actual = array([[[[ 11., 14., 17., 20.],
  182. 14:55:16 [ 23., 30., 37., 44.],
  183. 14:55:16 [ 35., 46., 57....707., 710., 713., 716.],
  184. 14:55:16 [ 1647., 1654., 1661., 1668.],
  185. 14:55:16 [ 2587., 2598., 2609., 2620.]]]])
  186. 14:55:16 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  187. 14:55:16 2.00000000e+01],
  188. 14:55:16 [ 2.30000000e+0... 1.59480000e+04],
  189. 14:55:16 [ 1.66870000e+04, 1.67580000e+04, 1.68290000e+04,
  190. 14:55:16 1.69000000e+04]]]])
  191. 14:55:16 rtol = 0.001, atol = 0.001, err_msg = '', verbose = True
  192. 14:55:16
  193. 14:55:16 def assert_allclose(actual, desired, rtol=1e-7, atol=0, err_msg='',
  194. 14:55:16 verbose=True):
  195. 14:55:16 """Raises an AssertionError if objects are not equal up to desired tolerance.
  196. 14:55:16
  197. 14:55:16 Args:
  198. 14:55:16 actual(numpy.ndarray or cupy.ndarray): The actual object to check.
  199. 14:55:16 desired(numpy.ndarray or cupy.ndarray): The desired, expected object.
  200. 14:55:16 rtol(float): Relative tolerance.
  201. 14:55:16 atol(float): Absolute tolerance.
  202. 14:55:16 err_msg(str): The error message to be printed in case of failure.
  203. 14:55:16 verbose(bool): If ``True``, the conflicting
  204. 14:55:16 values are appended to the error message.
  205. 14:55:16
  206. 14:55:16 .. seealso:: :func:`numpy.testing.assert_allclose`
  207. 14:55:16
  208. 14:55:16 """
  209. 14:55:16 numpy.testing.assert_allclose(
  210. 14:55:16 cupy.asnumpy(actual), cupy.asnumpy(desired),
  211. 14:55:16 > rtol=rtol, atol=atol, err_msg=err_msg, verbose=verbose)
  212. 14:55:16 E AssertionError: Parameterized test failed.
  213. 14:55:16 E
  214. 14:55:16 E Base test method: TestMatmulLarge.test_cupy_matmul
  215. 14:55:16 E Test parameters:
  216. 14:55:16 E shape_pair: ((6, 1, 3, 2), (6, 5, 2, 4))
  217. 14:55:16 E
  218. 14:55:16 E AssertionError:
  219. 14:55:16 E Not equal to tolerance rtol=0.001, atol=0.001
  220. 14:55:16 E
  221. 14:55:16 E (mismatch 83.33333333333333%)
  222. 14:55:16 E x: array([[[[ 11., 14., 17., 20.],
  223. 14:55:16 E [ 23., 30., 37., 44.],
  224. 14:55:16 E [ 35., 46., 57., 68.]],...
  225. 14:55:16 E y: array([[[[ 1.100000e+01, 1.400000e+01, 1.700000e+01, 2.000000e+01],
  226. 14:55:16 E [ 2.300000e+01, 3.000000e+01, 3.700000e+01, 4.400000e+01],
  227. 14:55:16 E [ 3.500000e+01, 4.600000e+01, 5.700000e+01, 6.800000e+01]],...
  228. 14:55:16
  229. 14:55:16 actual = array([[[[ 11., 14., 17., 20.],
  230. 14:55:16 [ 23., 30., 37., 44.],
  231. 14:55:16 [ 35., 46., 57....707., 710., 713., 716.],
  232. 14:55:16 [ 1647., 1654., 1661., 1668.],
  233. 14:55:16 [ 2587., 2598., 2609., 2620.]]]])
  234. 14:55:16 atol = 0.001
  235. 14:55:16 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  236. 14:55:16 2.00000000e+01],
  237. 14:55:16 [ 2.30000000e+0... 1.59480000e+04],
  238. 14:55:16 [ 1.66870000e+04, 1.67580000e+04, 1.68290000e+04,
  239. 14:55:16 1.69000000e+04]]]])
  240. 14:55:16 err_msg = ''
  241. 14:55:16 rtol = 0.001
  242. 14:55:16 verbose = True
  243. 14:55:16
  244. 14:55:16 cupy/testing/array.py:26: AssertionError
  245. 14:55:16 ----------------------------- Captured stdout call -----------------------------
  246. 14:55:16 dtype2 is <class 'numpy.float64'>
  247. 14:55:16 dtype1 is <class 'numpy.float64'>
  248. 14:55:16 ___________________ TestMatmulLarge_param_1.test_cupy_matmul ___________________
  249. 14:55:16 cupy/testing/parameterized.py:58: in wrap
  250. 14:55:16 six.raise_from(e_new.with_traceback(e.__traceback__), None)
  251. 14:55:16 cupy/testing/parameterized.py:43: in wrap
  252. 14:55:16 return method(*args, **kwargs)
  253. 14:55:16 cupy/testing/helper.py:513: in test_func
  254. 14:55:16 impl(self, *args, **kw)
  255. 14:55:16 cupy/testing/helper.py:513: in test_func
  256. 14:55:16 impl(self, *args, **kw)
  257. 14:55:16 cupy/testing/helper.py:131: in test_func
  258. 14:55:16 check_func(cupy_result, numpy_result)
  259. 14:55:16 cupy/testing/helper.py:189: in check_func
  260. 14:55:16 array.assert_allclose(c, n, rtol, atol, err_msg, verbose)
  261. 14:55:16 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  262. 14:55:16
  263. 14:55:16 actual = array([[[[ 11., 14., 17., 20.],
  264. 14:55:16 [ 23., 30., 37., 44.],
  265. 14:55:16 [ 35., 46., 57....055., 1406., 1757., 2108.],
  266. 14:55:16 [ 1067., 1422., 1777., 2132.],
  267. 14:55:16 [ 1079., 1438., 1797., 2156.]]]])
  268. 14:55:16 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  269. 14:55:16 2.00000000e+01],
  270. 14:55:16 [ 2.30000000e+0... 1.63320000e+04],
  271. 14:55:16 [ 1.54390000e+04, 1.57980000e+04, 1.61570000e+04,
  272. 14:55:16 1.65160000e+04]]]])
  273. 14:55:16 rtol = 0.001, atol = 0.001, err_msg = '', verbose = True
  274. 14:55:16
  275. 14:55:16 def assert_allclose(actual, desired, rtol=1e-7, atol=0, err_msg='',
  276. 14:55:16 verbose=True):
  277. 14:55:16 """Raises an AssertionError if objects are not equal up to desired tolerance.
  278. 14:55:16
  279. 14:55:16 Args:
  280. 14:55:16 actual(numpy.ndarray or cupy.ndarray): The actual object to check.
  281. 14:55:16 desired(numpy.ndarray or cupy.ndarray): The desired, expected object.
  282. 14:55:16 rtol(float): Relative tolerance.
  283. 14:55:16 atol(float): Absolute tolerance.
  284. 14:55:16 err_msg(str): The error message to be printed in case of failure.
  285. 14:55:16 verbose(bool): If ``True``, the conflicting
  286. 14:55:16 values are appended to the error message.
  287. 14:55:16
  288. 14:55:16 .. seealso:: :func:`numpy.testing.assert_allclose`
  289. 14:55:16
  290. 14:55:16 """
  291. 14:55:16 numpy.testing.assert_allclose(
  292. 14:55:16 cupy.asnumpy(actual), cupy.asnumpy(desired),
  293. 14:55:16 > rtol=rtol, atol=atol, err_msg=err_msg, verbose=verbose)
  294. 14:55:16 E AssertionError: Parameterized test failed.
  295. 14:55:16 E
  296. 14:55:16 E Base test method: TestMatmulLarge.test_cupy_matmul
  297. 14:55:16 E Test parameters:
  298. 14:55:16 E shape_pair: ((6, 5, 3, 2), (6, 1, 2, 4))
  299. 14:55:16 E
  300. 14:55:16 E AssertionError:
  301. 14:55:16 E Not equal to tolerance rtol=0.001, atol=0.001
  302. 14:55:16 E
  303. 14:55:16 E (mismatch 83.33333333333333%)
  304. 14:55:16 E x: array([[[[ 11., 14., 17., 20.],
  305. 14:55:16 E [ 23., 30., 37., 44.],
  306. 14:55:16 E [ 35., 46., 57., 68.]],...
  307. 14:55:16 E y: array([[[[ 1.100000e+01, 1.400000e+01, 1.700000e+01, 2.000000e+01],
  308. 14:55:16 E [ 2.300000e+01, 3.000000e+01, 3.700000e+01, 4.400000e+01],
  309. 14:55:16 E [ 3.500000e+01, 4.600000e+01, 5.700000e+01, 6.800000e+01]],...
  310. 14:55:16
  311. 14:55:16 actual = array([[[[ 11., 14., 17., 20.],
  312. 14:55:16 [ 23., 30., 37., 44.],
  313. 14:55:16 [ 35., 46., 57....055., 1406., 1757., 2108.],
  314. 14:55:16 [ 1067., 1422., 1777., 2132.],
  315. 14:55:16 [ 1079., 1438., 1797., 2156.]]]])
  316. 14:55:16 atol = 0.001
  317. 14:55:16 desired = array([[[[ 1.10000000e+01, 1.40000000e+01, 1.70000000e+01,
  318. 14:55:16 2.00000000e+01],
  319. 14:55:16 [ 2.30000000e+0... 1.63320000e+04],
  320. 14:55:16 [ 1.54390000e+04, 1.57980000e+04, 1.61570000e+04,
  321. 14:55:16 1.65160000e+04]]]])
  322. 14:55:16 err_msg = ''
  323. 14:55:16 rtol = 0.001
  324. 14:55:16 verbose = True
  325. 14:55:16
  326. 14:55:16 cupy/testing/array.py:26: AssertionError
  327. 14:55:16 ----------------------------- Captured stdout call -----------------------------
  328. 14:55:16 dtype2 is <class 'numpy.float64'>
  329. 14:55:16 dtype1 is <class 'numpy.float64'>
  330. 14:55:16 ============================= 13 tests deselected ==============================
Add Comment
Please, Sign In to add comment