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 GitHub
parent 5969674cf1
commit 69ce44b33c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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 {