|
@@ -89,6 +89,7 @@ func NewLlamaServer(gpus gpu.GpuInfoList, model string, ggml *GGML, adapters, pr
|
|
|
|
|
|
cpuRunner = serverForCpu()
|
|
cpuRunner = serverForCpu()
|
|
gpuCount = 0
|
|
gpuCount = 0
|
|
|
|
+ _, _, estimatedTotal = EstimateGPULayers(gpus, ggml, projectors, opts)
|
|
} else {
|
|
} else {
|
|
if gpus[0].Library == "metal" {
|
|
if gpus[0].Library == "metal" {
|
|
memInfo, err := gpu.GetCPUMem()
|
|
memInfo, err := gpu.GetCPUMem()
|