diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-05-13 16:55:14 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-05-13 16:55:14 +0300 |
commit | 5a5aeb1e91009c72bf816400b758bb8a305616d7 (patch) | |
tree | c43b15aa5accf810cc35645a60abeac2bd8852e5 | |
parent | 66841fdb0eaf0cc210757cc7f683d0f4eebadc21 (diff) |
llama : fix unused warning
-rw-r--r-- | llama.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |