We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afa3bc9 commit d24a6ffCopy full SHA for d24a6ff
StegLLM/linux_mac.sh
@@ -46,6 +46,12 @@ if [ -z "$gguf" ]; then
46
fi
47
# 启动 llama-server
48
llamaServer=$(find "${dataDir}/${name}" -type f -name 'llama-server' | head -n 1)
49
+LIB_DIR="$(dirname "$llamaServer")"
50
+# 添加临时环境变量
51
+export LD_LIBRARY_PATH="$LIB_DIR:$LD_LIBRARY_PATH"
52
+if [ ! -f "$LIB_DIR/libgomp.so.1" ]; then
53
+ sudo apt-get install -y libcurl4-openssl-dev libgomp1
54
+fi
55
port=8090
56
"$llamaServer" \
57
-m "$gguf" \
0 commit comments