From 11d902364b0e3b503a02a4e757ee2dc38aacb68f Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 28 Apr 2023 17:58:44 +0300 Subject: [PATCH] ggml : add helper debug printf in soft_max --- ggml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ggml.c b/ggml.c index 33fb1681e..44293dac9 100644 --- a/ggml.c +++ b/ggml.c @@ -9257,6 +9257,7 @@ static void ggml_compute_forward_soft_max_f32( uint16_t scvt; for (int i = 0; i < nc; i++) { + //printf("p[%3d] = %8.4f\n", i, p[i]); if (p[i] == -INFINITY) { p[i] = 0.0f; } else {