2022-06-01 04:32:33.762651: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64
2022-06-01 04:32:33.762685: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "/media/yangxilab/DiskA/anaconda3/envs/yuyi/lib/python3.8/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/media/yangxilab/DiskA/anaconda3/envs/yuyi/lib/python3.8/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/init.py", line 17, in
from tensorflow_compression.python import distributions
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/distributions/init.py", line 19, in
from tensorflow_compression.python.distributions.round_adapters import
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/distributions/round_adapters.py", line 22, in
from tensorflow_compression.python.ops import round_ops
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/ops/init.py", line 17, in
from tensorflow_compression.python.ops.gen_ops import
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/ops/gen_ops.py", line 20, in
ops = load_library.load_op_library(resource_loader.get_path_to_datafile(
File "/media/yangxilab/DiskA/anaconda3/envs/yuyi/lib/python3.8/site-packages/tensorflow/python/framework/load_library.py", line 54, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/ops/../../cc/libtensorflow_compression.so: cannot open shared object file: No such file or directory
Does it mean that the compiler version is wrong?Do I need to upgrade my version or replace the libcudart.so.11.0 file?
after running the command
python -m tensorflow_compression.all_tests
python -m tensorflow_compression.all_tests
I got the following error!!!
2022-06-01 04:32:33.762651: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/cuda-10.2/lib64 2022-06-01 04:32:33.762685: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine. Traceback (most recent call last): File "/media/yangxilab/DiskA/anaconda3/envs/yuyi/lib/python3.8/runpy.py", line 185, in _run_module_as_main mod_name, mod_spec, code = _get_module_details(mod_name, _Error) File "/media/yangxilab/DiskA/anaconda3/envs/yuyi/lib/python3.8/runpy.py", line 111, in _get_module_details import(pkg_name) File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/init.py", line 17, in
from tensorflow_compression.python import distributions
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/distributions/init.py", line 19, in
from tensorflow_compression.python.distributions.round_adapters import
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/distributions/round_adapters.py", line 22, in
from tensorflow_compression.python.ops import round_ops
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/ops/init.py", line 17, in
from tensorflow_compression.python.ops.gen_ops import
File "/media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/ops/gen_ops.py", line 20, in
ops = load_library.load_op_library(resource_loader.get_path_to_datafile(
File "/media/yangxilab/DiskA/anaconda3/envs/yuyi/lib/python3.8/site-packages/tensorflow/python/framework/load_library.py", line 54, in load_op_library
lib_handle = py_tf.TF_LoadLibrary(library_filename)
tensorflow.python.framework.errors_impl.NotFoundError: /media/yangxilab/DiskB/zjn/compression-master/tensorflow_compression/python/ops/../../cc/libtensorflow_compression.so: cannot open shared object file: No such file or directory
Does it mean that the compiler version is wrong?Do I need to upgrade my version or replace the libcudart.so.11.0 file?