bash tools/ci_build/install/install_ci_dependency.sh --quiet DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support python tools/ci_testing/tutorials_test.py 2019-09-26 12:36:07.355310: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 2019-09-26 12:36:14.071773: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2019-09-26 12:36:14.071868: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303) 2019-09-26 12:36:14.071948: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] no NVIDIA GPU device is present: /dev/nvidia0 does not exist 2019-09-26 12:36:14.072838: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-26 12:36:14.111011: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2808000000 Hz 2019-09-26 12:36:14.112892: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x64ca3f0 executing computations on platform Host. Devices: 2019-09-26 12:36:14.112977: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version F2019-09-26 12:36:47.412258: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-26 12:36:47.434457: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2808000000 Hz 2019-09-26 12:36:47.434990: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4c0f340 executing computations on platform Host. Devices: 2019-09-26 12:36:47.435021: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version .2019-09-26 12:37:52.776788: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 2019-09-26 12:38:13.546952: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2019-09-26 12:38:13.546984: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303) 2019-09-26 12:38:13.547005: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] no NVIDIA GPU device is present: /dev/nvidia0 does not exist 2019-09-26 12:38:13.547191: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-26 12:38:13.574701: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2808000000 Hz 2019-09-26 12:38:13.575207: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4a7b5c0 executing computations on platform Host. Devices: 2019-09-26 12:38:13.575239: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version F2019-09-26 12:46:44.327334: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 2019-09-26 12:46:44.701255: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2019-09-26 12:46:44.701325: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303) 2019-09-26 12:46:44.701373: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] no NVIDIA GPU device is present: /dev/nvidia0 does not exist 2019-09-26 12:46:44.701557: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-26 12:46:44.726980: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2808000000 Hz 2019-09-26 12:46:44.727751: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4b7fae0 executing computations on platform Host. Devices: 2019-09-26 12:46:44.727797: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version F2019-09-26 12:47:44.419991: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 2019-09-26 12:47:44.803202: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2019-09-26 12:47:44.803245: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303) 2019-09-26 12:47:44.803275: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] no NVIDIA GPU device is present: /dev/nvidia0 does not exist 2019-09-26 12:47:44.803478: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-26 12:47:44.831010: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2808000000 Hz 2019-09-26 12:47:44.832578: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x4a91940 executing computations on platform Host. Devices: 2019-09-26 12:47:44.832649: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version --------------------- Testing image_ops.ipynb --------------------- ... image_ops FAILED ImportError in cell [2] ----------- !pip install -q tensorflow-gpu==2.0.0rc0 !pip install -q tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np import tensorflow as tf import tensorflow_addons as tfa import matplotlib.pyplot as plt ----------- ----------------- >> begin Traceback << -----------------  ImportErrorTraceback (most recent call last)  in ()  8 import tensorflow_addons as tfa  9  ---> 10 import matplotlib.pyplot as plt  ImportError: No module named matplotlib.pyplot ----------------- >> end Traceback << ----------------- --------------------- Testing layers_normalizations.ipynb --------------------- ... layers_normalizations Passed --------------------- Testing layers_weightnormalization.ipynb --------------------- ... layers_weightnormalization FAILED ImportError in cell [2] ----------- !pip install tensorflow-gpu==2.0.0rc0 !pip install tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf import tensorflow_addons as tfa import numpy as np from matplotlib import pyplot as plt ----------- ----------------- >> begin Traceback << -----------------  ImportErrorTraceback (most recent call last)  in ()  6 import tensorflow_addons as tfa  7 import numpy as np ----> 8 from matplotlib import pyplot as plt  ImportError: No module named matplotlib ----------------- >> end Traceback << ----------------- --------------------- Testing losses_triplet.ipynb --------------------- ... losses_triplet FAILED ImportError in cell [2] ----------- !pip install -q tensorflow-gpu==2.0.0rc0 !pip install -q tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import io import numpy as np import tensorflow as tf import tensorflow_addons as tfa import tensorflow_datasets as tfds from matplotlib import pyplot as plt from google.colab import files ----------- ----------------- >> begin Traceback << -----------------  ImportErrorTraceback (most recent call last)  in ()  7 import tensorflow as tf  8 import tensorflow_addons as tfa ----> 9 import tensorflow_datasets as tfds  10 from matplotlib import pyplot as plt  11 from google.colab import files ImportError: No module named tensorflow_datasets ----------------- >> end Traceback << ----------------- --------------------- Testing optimizers_lazyadam.ipynb --------------------- ... optimizers_lazyadam FAILED ImportError in cell [2] ----------- !pip install tensorflow-gpu==2.0.0rc0 !pip install tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals iF2019-09-26 12:48:07.710274: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcudart.so.10.0 2019-09-26 12:48:07.767621: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2019-09-26 12:48:07.767654: E tensorflow/stream_executor/cuda/cuda_driver.cc:318] failed call to cuInit: UNKNOWN ERROR (303) 2019-09-26 12:48:07.767674: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:163] no NVIDIA GPU device is present: /dev/nvidia0 does not exist 2019-09-26 12:48:07.767865: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA 2019-09-26 12:48:07.790541: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2808000000 Hz 2019-09-26 12:48:07.791402: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x56142f0 executing computations on platform Host. Devices: 2019-09-26 12:48:07.791428: I tensorflow/compiler/xla/service/service.cc:175] StreamExecutor device (0): Host, Default Version F ====================================================================== FAIL: test_image_ops (testipynb.testipynb.NbTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/testipynb/testipynb.py", line 96, in test_func assert passing, msg AssertionError: ... image_ops FAILED ImportError in cell [2] ----------- !pip install -q tensorflow-gpu==2.0.0rc0 !pip install -q tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np import tensorflow as tf import tensorflow_addons as tfa import matplotlib.pyplot as plt ----------- ====================================================================== FAIL: test_layers_weightnormalization (testipynb.testipynb.NbTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/testipynb/testipynb.py", line 96, in test_func assert passing, msg AssertionError: ... layers_weightnormalization FAILED ImportError in cell [2] ----------- !pip install tensorflow-gpu==2.0.0rc0 !pip install tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf import tensorflow_addons as tfa import numpy as np from matplotlib import pyplot as plt ----------- ====================================================================== FAIL: test_losses_triplet (testipynb.testipynb.NbTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/testipynb/testipynb.py", line 96, in test_func assert passing, msg AssertionError: ... losses_triplet FAILED ImportError in cell [2] ----------- !pip install -q tensorflow-gpu==2.0.0rc0 !pip install -q tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import io import numpy as np import tensorflow as tf import tensorflow_addons as tfa import tensorflow_datasets as tfds from matplotlib import pyplot as plt from google.colab import files ----------- ====================================================================== FAIL: test_optimizers_lazyadam (testipynb.testipynb.NbTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/testipynb/testipynb.py", line 96, in test_func assert passing, msg AssertionError: ... optimizers_lazyadam FAILED ImportError in cell [2] ----------- !pip install tensorflow-gpu==2.0.0rc0 !pip install tensorflow-addons~=0.5 from __future__ import absolute_import, division, print_function, unicode_literals import tensorflow as tf import tensorflow_addons as tfa import tensorflow_datasets as tfds import numpy as np from matplotlib import pyplot as plt ----------- ====================================================================== FAIL: test_template (testipynb.testipynb.NbTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/testipynb/testipynb.py", line 96, in test_func assert passing, msg AssertionError: ... template FAILED NameError in cell [5] ----------- result = model(tf.constant(np.random.randn(10,5), dtype = tf.float32)).numpy() print("min:", result.min()) print("max:", result.max()) print("mean:", result.mean()) print("shape:", result.shape) ----------- ---------------------------------------------------------------------- Ran 6 tests in 836.346s FAILED (failures=5) mport tensorflow as tf import tensorflow_addons as tfa import tensorflow_datasets as tfds import numpy as np from matplotlib import pyplot as plt ----------- ----------------- >> begin Traceback << -----------------  ImportErrorTraceback (most recent call last)  in ()  5 import tensorflow as tf  6 import tensorflow_addons as tfa ----> 7 import tensorflow_datasets as tfds  8 import numpy as np  9 from matplotlib import pyplot as plt ImportError: No module named tensorflow_datasets ----------------- >> end Traceback << ----------------- --------------------- Testing template.ipynb --------------------- ... template FAILED NameError in cell [5] ----------- result = model(tf.constant(np.random.randn(10,5), dtype = tf.float32)).numpy() print("min:", result.min()) print("max:", result.max()) print("mean:", result.mean()) print("shape:", result.shape) ----------- ----------------- >> begin Traceback << -----------------  NameErrorTraceback (most recent call last)  in () ----> 1 result = model(tf.constant(np.random.randn(10,5), dtype = tf.float32)).numpy()  2   3 print("min:", result.min())  4 print("max:", result.max())  5 print("mean:", result.mean()) NameError: name 'np' is not defined ----------------- >> end Traceback << ----------------- makefile:35: recipe for target 'tutorials-test' failed make: *** [tutorials-test] Error 1