Skip to content

ImportError: libcudart.so.10.1: cannot open shared object file: No such file or directory #1874

@rebecajohn

Description

@rebecajohn

2024-09-19 09:09:31.825974: I tensorflow/core/util/port.cc:110] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-09-19 09:09:31.890743: I tensorflow/core/platform/cpu_feature_guard.cc:182] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 AVX512F AVX512_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-09-19 09:09:32.912524: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Could not find TensorRT
Could not find the bitsandbytes CUDA binary at PosixPath('/usr/local/lib/python3.8/dist-packages/bitsandbytes-0.44.0.dev0-py3.8-linux-x86_64.egg/bitsandbytes/libbitsandbytes_cuda102.so')
Could not load bitsandbytes native library: /usr/local/lib/python3.8/dist-packages/bitsandbytes-0.44.0.dev0-py3.8-linux-x86_64.egg/bitsandbytes/libbitsandbytes_cpu.so: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/bitsandbytes-0.44.0.dev0-py3.8-linux-x86_64.egg/bitsandbytes/cextension.py", line 104, in
lib = get_native_library()
File "/usr/local/lib/python3.8/dist-packages/bitsandbytes-0.44.0.dev0-py3.8-linux-x86_64.egg/bitsandbytes/cextension.py", line 91, in get_native_library
dll = ct.cdll.LoadLibrary(str(binary_path))
File "/usr/lib/python3.8/ctypes/init.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /usr/local/lib/python3.8/dist-packages/bitsandbytes-0.44.0.dev0-py3.8-linux-x86_64.egg/bitsandbytes/libbitsandbytes_cpu.so: cannot open shared object file: No such file or directory

CUDA Setup failed despite CUDA being available. Please run the following command to get more information:

python -m bitsandbytes

Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues

Traceback (most recent call last):
File "eval.py", line 35, in
from rvt.mvt.mvt import MVT
File "/RVT/rvt/mvt/mvt.py", line 15, in
from rvt.mvt.renderer import BoxRenderer
File "/RVT/rvt/mvt/renderer.py", line 15, in
from pytorch3d.renderer import (
File "/usr/local/lib/python3.8/dist-packages/pytorch3d/renderer/init.py", line 3, in
from .blending import (
File "/usr/local/lib/python3.8/dist-packages/pytorch3d/renderer/blending.py", line 9, in
from pytorch3d import _C
ImportError: libcudart.so.10.1: cannot open shared object file: No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions