From 13416a9cda93e6d69e8c0535bc99807ed6199856 Mon Sep 17 00:00:00 2001 From: xynydev <60004820+xynydev@users.noreply.github.com> Date: Wed, 24 Apr 2024 21:00:40 +0300 Subject: [PATCH] fix: use symlink to fix error libcuda.so: cannot open shared object file: --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index fc36c61f..045107d1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,6 +14,9 @@ RUN pip install --no-cache-dir xformers==0.0.23 --no-dependencies RUN curl -fsL -o /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2 https://cdn-media.huggingface.co/frpc-gradio-0.2/frpc_linux_amd64 && \ chmod +x /usr/local/lib/python3.10/dist-packages/gradio/frpc_linux_amd64_v0.2 +# fix Error: libcuda.so: cannot open shared object file: +RUN ln -s /usr/lib64/libcuda.so.550.67 /usr/lib64/libcuda.so + RUN adduser --disabled-password --gecos '' user && \ mkdir -p /content/app /content/data