diff options
| author | Christian Demsar <christian@github.email.demsar.us> | 2023-07-23 07:56:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-23 14:56:34 +0300 |
| commit | a940458e4814e87bd0d3fbdb3f3d2733b4a3ccb1 (patch) | |
| tree | 6427f1c3fcbfd4245713d7f8d53a9bc59be86b88 | |
| parent | 91171b8072f6f0c8ae3a61e23451acb538bb9ece (diff) | |
llama : print max tensor size to stderr (#2336)
| -rw-r--r-- | llama.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2795,7 +2795,7 @@ struct llama_context * llama_new_context_with_model( const size_t max_size = ggml_get_max_tensor_size(ctx->model.ctx); - printf("%s: max tensor size = %8.2f MB\n", __func__, max_size/1024.0/1024.0); + fprintf(stderr, "%s: max tensor size = %8.2f MB\n", __func__, max_size/1024.0/1024.0); #define LLAMA_METAL_CHECK_BUF(result) \ if (!(result)) { \ |
