From c3f42dedd1f446b2e7733ef12c6d93e61a0e5509 Mon Sep 17 00:00:00 2001 From: ddh0 Date: Wed, 11 Feb 2026 14:29:22 -0600 Subject: [PATCH] use 6 characters for tensor dims (cont.) --- 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 60c7fcd050..710a5a1e08 100644 --- a/src/llama-impl.cpp +++ b/src/llama-impl.cpp @@ -109,7 +109,7 @@ std::string llama_format_tensor_shape(const std::vector & ne) { std::string llama_format_tensor_shape(const struct ggml_tensor * t) { char buf[256]; - snprintf(buf, sizeof(buf), "%5" PRId64, t->ne[0]); + snprintf(buf, sizeof(buf), "%6" PRId64, t->ne[0]); for (int i = 1; i < GGML_MAX_DIMS; i++) { snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), ", %6" PRId64, t->ne[i]); }