minor : fix compile warnings

This commit is contained in:
Georgi Gerganov 2023-05-19 20:14:51 +03:00
parent 5ea4339273
commit 4b7e245adf
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
4 changed files with 12 additions and 10 deletions

View file

@ -941,7 +941,7 @@ static void llama_model_load_internal(
size_t ctx_size;
size_t mmapped_size;
ml->calc_sizes(&ctx_size, &mmapped_size);
fprintf(stderr, "%s: ggml ctx size = %6.2f KB\n", __func__, ctx_size/1024.0);
fprintf(stderr, "%s: ggml ctx size = %6.2f MB\n", __func__, ctx_size/1024.0/1024.0);
// print memory requirements
{