Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
no gpu for 70B model
Michael Yang74a5f7e6988a
diff --git a/llama/llama.go b/llama/llama.goindex 86bf0c544..f70326246 100644--- a/llama/llama.go+++ b/llama/llama.go@@ -128,6 +128,11 @@ func New(model string, opts api.Options) (*LLM, error) {C.llama_backend_init(C.bool(llm.UseNUMA))+ // TODO: GQA == 8 suggests 70B model which doesn't support metal+ if llm.NumGQA == 8 {+ llm.NumGPU = 0+ }+params := C.llama_context_default_params()params.seed = C.uint(llm.Seed)params.n_ctx = C.int(llm.NumCtx)