tensorflow
tensorflow copied to clipboard
FAIL: //tensorflow/python/debug:stepper_test
System Info
Name: Fiji
Vendor: Advanced Micro Devices, Inc.
Device OpenCL C version: OpenCL C 2.0
Driver version: 1912.5 (VM)
Profile: FULL_PROFILE
Version: OpenCL 2.0 AMD-APP (1912.5)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_khr_gl_depth_images cl_ext_atomic_counters_32 cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_subgroups cl_khr_gl_event cl_khr_depth_images cl_khr_mipmap_image cl_khr_mipmap_image_writes
ComputeCpp 0.2.1
To reproduce
bazel test --config=sycl --test_lang_filters=cc,py --action_env=LD_PRELOAD=/usr/lib/libOpenCL.so.1 //tensorflow/python/debug:stepper_test
Error
======================================================================
FAIL: testContToUpdateA (__main__.StepperBackwardRunTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/john/.cache/bazel/_bazel_john/faf7a2b4fd4147997e2225775f497746/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/python/debug/stepper_test.runfiles/org_tensorflow/tensorflow/python/debug/lib/stepper_test.py", line 764, in testContToUpdateA
self.assertAllClose(0.84, self.sess.run(self.a))
File "/home/john/.cache/bazel/_bazel_john/faf7a2b4fd4147997e2225775f497746/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/python/debug/stepper_test.runfiles/org_tensorflow/tensorflow/python/framework/test_util.py", line 687, in assertAllClose
self._assertArrayLikeAllClose(a, b, rtol=rtol, atol=atol)
File "/home/john/.cache/bazel/_bazel_john/faf7a2b4fd4147997e2225775f497746/execroot/org_tensorflow/bazel-out/local_linux-opt/bin/tensorflow/python/debug/stepper_test.runfiles/org_tensorflow/tensorflow/python/framework/test_util.py", line 657, in _assertArrayLikeAllClose
np.testing.assert_allclose(b, a, rtol=rtol, atol=atol, err_msg=msg)
File "/usr/local/lib/python2.7/dist-packages/numpy/testing/utils.py", line 1395, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/usr/local/lib/python2.7/dist-packages/numpy/testing/utils.py", line 778, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-06, atol=1e-06
None
(mismatch 100.0%)
x: array(1.0, dtype=float32)
y: array(0.84)
======================================================================
FAIL: testOverrideThenContToUpdateThenRemoveOverrideThenUpdateAgain (__main__.StepperBackwardRunTest)
----------------------------------------------------------------------
tensorflow/python/debug/lib/stepper_test.py, line 1040,
self.assertAllClose(3.56, self.sess.run(self.c))
...
AssertionError:
(mismatch 100.0%)
x: array(3.5999999046325684, dtype=float32)
y: array(3.56)
======================================================================
FAIL: testSelectiveHandleUsageDependingOnTransitiveCleanliness (__main__.StepperBackwardRunTest)
----------------------------------------------------------------------
tensorflow/python/debug/lib/stepper_test.py, line 935,
self.assertAllClose(1.84, self.sess.run(self.b))
...
AssertionError:
(mismatch 100.0%)
x: array(1.9199997186660767, dtype=float32)
y: array(1.84)
======================================================================
FAIL: testUsingNamesNotUsingIntermediateTensors (__main__.StepperTest)
----------------------------------------------------------------------
tensorflow/python/debug/lib/stepper_test.py, line 107,
self.assertAllClose(24.0, result)
...
(mismatch 100.0%)
x: array(0.0, dtype=float32)
y: array(24.0)
======================================================================
FAIL: testUsingNodesNotUsingIntermediateTensors (__main__.StepperTest)
----------------------------------------------------------------------
tensorflow/python/debug/lib/stepper_test.py, line 148,
self.assertAllClose(24.0, result)
...
(mismatch 100.0%)
x: array(0.0, dtype=float32)
y: array(24.0)
======================================================================
FAIL: testContWithPlaceholders (__main__.StepperTestWithPlaceHolders)
----------------------------------------------------------------------
tensorflow/python/debug/lib/stepper_test.py, line 514
self.assertAllClose([[-1.0], [6.0]], result)
...
(mismatch 50.0%)
x: array([[-1. ],
[ 0.5]], dtype=float32)
y: array([[-1.],
[ 6.]])