Commit 7de30085 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

use `osPath` in gpu check

parent 213ffdb5
...@@ -69,7 +69,7 @@ func initGGML() { ...@@ -69,7 +69,7 @@ func initGGML() {
case "windows": case "windows":
files = []string{"server.exe"} files = []string{"server.exe"}
case "darwin": case "darwin":
if llamaPath == ggmlGPU { if llamaPath == osPath(ggmlGPU) {
files = append(files, "ggml-metal.metal") files = append(files, "ggml-metal.metal")
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment