fix: use symlink to fix error libcuda.so: cannot open shared object file:
This commit is contained in:
parent
34d432c8bd
commit
13416a9cda
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue