mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-26 03:14:35 +00:00
llama : fix unused warning
This commit is contained in:
parent
66841fdb0e
commit
5a5aeb1e91
@ -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);
|
fprintf(stderr, "%s: [cublas] total VRAM used: %zu MB\n", __func__, vram_total / 1024 / 1024);
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void) n_gpu_layers;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// loading time will be recalculate after the first eval, so
|
// loading time will be recalculate after the first eval, so
|
||||||
|
Loading…
Reference in New Issue
Block a user