envconfig: Remove no longer supported max vram var (#10623)

Co-authored-by: Richard Lyons <frob@cloudstaff.com>
This commit is contained in:
frob 2025-05-10 20:31:04 +02:00 committed by Ryan Schumacher
parent d9cf336ade
commit 6faf548d3a
No known key found for this signature in database
1 changed files with 0 additions and 2 deletions

View File

@ -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 {