Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Load all layers on `arm64` macOS if model is small enough (#2149)

Jeffrey Morgan4458efb73afe
diff --git a/llm/llm.go b/llm/llm.go
index 8b043f380..8e2f07146 100644
--- a/llm/llm.go
+++ b/llm/llm.go
@@ -70,7 +70,8 @@ func New(workDir, model string, adapters, projectors []string, opts api.Options)
break
}
- opts.NumGPU = 1
+ // TODO: implement layer splitting on macOS
+ opts.NumGPU = 999
default:
if info.Library == "cpu" {
slog.Info("GPU not available, falling back to CPU")