TabbyML / tabby

Self-hosted AI coding assistant
https://tabby.tabbyml.com/
Other
21.26k stars 958 forks source link

ci: add compat ld path for locatinglibcuda.so.1 in docker build #2507

Closed KagurazakaNyaa closed 3 months ago

KagurazakaNyaa commented 3 months ago

When use tabbyml/tabby:latest, we got WARN llama_cpp_server::supervisor: crates/llama-cpp-server/src/supervisor.rs:88: llama-server exited with status code 127, restarting... in container try run llama-server we got llama-server: error while loading shared libraries: libcuda.so.1: cannot open shared object file: No such file or directory So we add environment LD_LIBRARY_PATH to fix this base image bug

wsxiaoys commented 3 months ago

Thanks for the fix