Closed
Description
System information
- OS Platform and Distribution: Ubuntu 16.04
- TensorFlow version and how it was installed: 2.0.0rc1 (binary)
- TensorFlow-Addons version and how it was installed: 0.5.1 (binary)
- Python version: 3.5.2
- Is GPU used? No
Describe the bug
When using tensorflow-gpu
, importing the tensorflow_addons
package fails if CUDA libraries are missing while importing tensorflow
itself works without issue.
Code to reproduce the issue
On a non-GPU system:
$ pip install tensorflow-addons==0.5.1
$ python
>>> import tensorflow_addons as tfa
Other info / logs
2019-09-20 18:04:16.387041: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libcudart.so.10.0'; dlerror: libcudart.so.10.0: cannot open shared object file: No such file or directory
Segmentation fault