loeeeee / immich-in-lxc

Install Immich in LXC with optional CUDA support
60 stars 8 forks source link

Error on onnxruntime:Default, libcudnn.so.9: cannot open shared object file: No such file or directory #32

Closed zezhenwang closed 1 month ago

zezhenwang commented 1 month ago

I am running into the following issue when trying to install this on a Ubuntu server:

E:onnxruntime:Default, provider_bridge_ort.cc:1745 TryGetProviderInfo_CUDA] /onnxruntime_src/onnxruntime/core/session/provider_bridge_ort.cc:1426 onnxruntime::Provider& onnxruntime::ProviderLibrary::Get() [ONNXRuntimeError] : 1 : FAIL : Failed to load library libonnxruntime_providers_cuda.so with error: libcudnn.so.9: cannot open shared object file: No such file or directory

loeeeee commented 1 month ago

For Immich machine learning support, we also need to install CuDNN and two additional libraries,

apt install nvidia-cudnn libcublaslt12 libcublas12

Since you are using Ubuntu, can you check if you have these libraries installed?

zezhenwang commented 1 month ago

My bad. I saw it brought up in another issue #7.

loeeeee commented 1 month ago

My bad. I saw it brought up in another issue #7.

Never mind. 😂