Skip to content

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

fix gpu_info_cuda.c compile warning (#3077)

mofanke51578d857319
diff --git a/gpu/gpu_info_cuda.c b/gpu/gpu_info_cuda.c
index 509bf5c69..36743d7c4 100644
--- a/gpu/gpu_info_cuda.c
+++ b/gpu/gpu_info_cuda.c
@@ -155,8 +155,8 @@ 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.used);
+ LOG(h.verbose, "[%d] CUDA totalMem %llu\n", i, memInfo.total);
+ LOG(h.verbose, "[%d] CUDA usedMem %llu\n", i, memInfo.used);
resp->total += memInfo.total;
resp->free += memInfo.free;