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
69ce44b3
Unverified
Commit
69ce44b3
authored
May 10, 2025
by
frob
Committed by
GitHub
May 10, 2025
Browse files
envconfig: Remove no longer supported max vram var (#10623)
Co-authored-by:
Richard Lyons
<
frob@cloudstaff.com
>
parent
5969674c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
envconfig/config.go
envconfig/config.go
+0
-2
No files found.
envconfig/config.go
View file @
69ce44b3
...
...
@@ -209,8 +209,6 @@ var (
MaxRunners
=
Uint
(
"OLLAMA_MAX_LOADED_MODELS"
,
0
)
// MaxQueue sets the maximum number of queued requests. MaxQueue can be configured via the OLLAMA_MAX_QUEUE environment variable.
MaxQueue
=
Uint
(
"OLLAMA_MAX_QUEUE"
,
512
)
// MaxVRAM sets a maximum VRAM override in bytes. MaxVRAM can be configured via the OLLAMA_MAX_VRAM environment variable.
MaxVRAM
=
Uint
(
"OLLAMA_MAX_VRAM"
,
0
)
)
func
Uint64
(
key
string
,
defaultValue
uint64
)
func
()
uint64
{
...
...
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