Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
e82fcf30
Unverified
Commit
e82fcf30
authored
Aug 26, 2023
by
Michael Yang
Committed by
GitHub
Aug 26, 2023
Browse files
Merge pull request #420 from jmorganca/mxyng/34b-mem-check
add 34b to mem check
parents
495e8b0a
304f2b6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
llm/llm.go
llm/llm.go
+1
-1
No files found.
llm/llm.go
View file @
e82fcf30
...
...
@@ -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"
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment