llama : fix unused warning

This commit is contained in:
Georgi Gerganov 2023-05-13 16:55:14 +03:00
parent 66841fdb0e
commit 5a5aeb1e91
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -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