Skip to content

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

add 34b to mem check

Michael Yang304f2b6c96da
diff --git a/llm/llm.go b/llm/llm.go
index db4dcbe7b..0dc862b4c 100644
--- a/llm/llm.go
+++ b/llm/llm.go
@@ -55,7 +55,7 @@ func New(model string, adapters []string, opts api.Options) (LLM, error) {
if totalResidentMemory < 16*1024*1024 {
return nil, fmt.Errorf("model requires at least 16GB of memory")
}
- case ModelType30B:
+ case ModelType30B, ModelType34B:
if totalResidentMemory < 32*1024*1024 {
return nil, fmt.Errorf("model requires at least 32GB of memory")
}