Unverified Commit e82fcf30 authored by Michael Yang's avatar Michael Yang Committed by GitHub
Browse files

Merge pull request #420 from jmorganca/mxyng/34b-mem-check

add 34b to mem check
parents 495e8b0a 304f2b6c
......@@ -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")
}
......
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