From 0d22288f001163d5312a33a99ebf9db26c37e344 Mon Sep 17 00:00:00 2001 From: ddh0 Date: Wed, 11 Feb 2026 14:08:01 -0600 Subject: [PATCH] use 6 characters for tensor dims --- src/llama-impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llama-impl.cpp b/src/llama-impl.cpp index 8e3e7b223a..60c7fcd050 100644 --- a/src/llama-impl.cpp +++ b/src/llama-impl.cpp @@ -111,7 +111,7 @@ std::string llama_format_tensor_shape(const struct ggml_tensor * t) { char buf[256]; snprintf(buf, sizeof(buf), "%5" PRId64, t->ne[0]); for (int i = 1; i < GGML_MAX_DIMS; i++) { - snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), ", %5" PRId64, t->ne[i]); + snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), ", %6" PRId64, t->ne[i]); } return buf; }