mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-11 16:26:59 +00:00
use osPath in gpu check
This commit is contained in:
@@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user