Browse Source

Merge pull request #4316 from dhiltgen/more_buffer

Bump VRAM buffer back up
Daniel Hiltgen 11 months ago
parent
commit
7e2bceceee
2 changed files with 3 additions and 3 deletions
  1. 2 2
      gpu/gpu.go
  2. 1 1
      gpu/gpu_darwin.go

+ 2 - 2
gpu/gpu.go

@@ -31,8 +31,8 @@ type handles struct {
 }
 }
 
 
 const (
 const (
-	cudaMinimumMemory = 256 * format.MebiByte
-	rocmMinimumMemory = 256 * format.MebiByte
+	cudaMinimumMemory = 457 * format.MebiByte
+	rocmMinimumMemory = 457 * format.MebiByte
 )
 )
 
 
 var gpuMutex sync.Mutex
 var gpuMutex sync.Mutex

+ 1 - 1
gpu/gpu_darwin.go

@@ -15,7 +15,7 @@ import (
 )
 )
 
 
 const (
 const (
-	metalMinimumMemory = 384 * format.MebiByte
+	metalMinimumMemory = 512 * format.MebiByte
 )
 )
 
 
 func GetGPUInfo() GpuInfoList {
 func GetGPUInfo() GpuInfoList {