Skip to content

Commit a940458

Browse files
author
Christian Demsar
authored
llama : print max tensor size to stderr (#2336)
1 parent 91171b8 commit a940458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2795,7 +2795,7 @@ struct llama_context * llama_new_context_with_model(
27952795

27962796
const size_t max_size = ggml_get_max_tensor_size(ctx->model.ctx);
27972797

2798-
printf("%s: max tensor size = %8.2f MB\n", __func__, max_size/1024.0/1024.0);
2798+
fprintf(stderr, "%s: max tensor size = %8.2f MB\n", __func__, max_size/1024.0/1024.0);
27992799

28002800
#define LLAMA_METAL_CHECK_BUF(result) \
28012801
if (!(result)) { \

0 commit comments

Comments
 (0)