From: Georgi Gerganov Date: Fri, 28 Apr 2023 14:58:44 +0000 (+0300) Subject: ggml : add helper debug printf in soft_max X-Git-Tag: gguf-v0.4.0~856 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=11d902364b0e3b503a02a4e757ee2dc38aacb68f;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : add helper debug printf in soft_max --- diff --git a/ggml.c b/ggml.c index 33fb1681..44293dac 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 {