aboutsummaryrefslogtreecommitdiff
path: root/llama.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp')
-rw-r--r--llama.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llama.cpp b/llama.cpp
index 73b932a..98f49ab 100644
--- a/llama.cpp
+++ b/llama.cpp
@@ -1053,6 +1053,8 @@ static void llama_model_load_internal(
fprintf(stderr, "%s: [cublas] total VRAM used: %zu MB\n", __func__, vram_total / 1024 / 1024);
}
+#else
+ (void) n_gpu_layers;
#endif
// loading time will be recalculate after the first eval, so