From 69ce44b33c49ad7035d75cac6b35a96b1ccc2e33 Mon Sep 17 00:00:00 2001 From: frob Date: Sat, 10 May 2025 20:31:04 +0200 Subject: [PATCH] envconfig: Remove no longer supported max vram var (#10623) Co-authored-by: Richard Lyons --- envconfig/config.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/envconfig/config.go b/envconfig/config.go index b18e93f89..a1f056155 100644 --- a/envconfig/config.go +++ b/envconfig/config.go @@ -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 {