From 7de300856b74110e5f885868fe0026a2b03cfee9 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Tue, 5 Sep 2023 21:52:21 -0400 Subject: [PATCH] use `osPath` in gpu check --- llm/ggml_llama.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/ggml_llama.go b/llm/ggml_llama.go index 8af62157..44f0e259 100644 --- a/llm/ggml_llama.go +++ b/llm/ggml_llama.go @@ -69,7 +69,7 @@ func initGGML() { case "windows": files = []string{"server.exe"} case "darwin": - if llamaPath == ggmlGPU { + if llamaPath == osPath(ggmlGPU) { files = append(files, "ggml-metal.metal") } }