Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

fix: print usedMemory size right (#2827)

tylinuxfa2f2b356384
diff --git a/gpu/gpu_info_cuda.c b/gpu/gpu_info_cuda.c
index d877ff0c5..a64b45877 100644
--- a/gpu/gpu_info_cuda.c
+++ b/gpu/gpu_info_cuda.c
@@ -156,7 +156,7 @@ void cuda_check_vram(cuda_handle_t h, mem_info_t *resp) {
}
LOG(h.verbose, "[%d] CUDA totalMem %ld\n", i, memInfo.total);
- LOG(h.verbose, "[%d] CUDA usedMem %ld\n", i, memInfo.free);
+ LOG(h.verbose, "[%d] CUDA usedMem %ld\n", i, memInfo.used);
resp->total += memInfo.total;
resp->free += memInfo.free;