Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
Fix CPU only builds
Daniel Hiltgenddbfa6fe31c4
diff --git a/llm/llama.cpp/gen_linux.sh b/llm/llama.cpp/gen_linux.shindex 721e20a9f..9616a3bb3 100755--- a/llm/llama.cpp/gen_linux.sh+++ b/llm/llama.cpp/gen_linux.sh@@ -35,6 +35,9 @@ BUILD_DIR="gguf/build/linux/cpu"buildinstall+# Placeholder to keep go embed happy until we start building dynamic CPU lib variants+touch ${BUILD_DIR}/lib/dummy.so+if [ -d /usr/local/cuda/lib64/ ]; thenecho "CUDA libraries detected - building dynamic CUDA library"init_varsdiff --git a/llm/shim_ext_server.go b/llm/shim_ext_server.goindex 961927319..9538796df 100644--- a/llm/shim_ext_server.go+++ b/llm/shim_ext_server.go@@ -147,9 +147,9 @@ func extractDynamicLibs(workDir, glob string) ([]string, error) {if err != nil || len(files) == 0 {return nil, payloadMissing}- libs := make([]string, len(files))+ libs := []string{}- for i, file := range files {+ for _, file := range files {pathComps := strings.Split(file, "/")if len(pathComps) != 7 {log.Printf("unexpected payload components: %v", pathComps)@@ -169,7 +169,7 @@ func extractDynamicLibs(workDir, glob string) ([]string, error) {destFile := filepath.Join(targetDir, filepath.Base(file))if strings.Contains(destFile, "server") {- libs[i] = destFile+ libs = append(libs, destFile)}_, err = os.Stat(destFile)