From d2924073ee9bdd600d22ded4e2d5fe30e69783a7 Mon Sep 17 00:00:00 2001 From: Carolinabanana <140120812+Carolinabanana@users.noreply.github.com> Date: Sun, 7 Apr 2024 15:50:24 +0100 Subject: [PATCH] Type convention Co-authored-by: Georgi Gerganov --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 912a8ca2e..793b67f4c 100644 --- a/ggml.c +++ b/ggml.c @@ -20335,7 +20335,7 @@ size_t ggml_quantize_chunk( int64_t nrows, int64_t n_per_row, const float * imatrix) { - const size_t n = (size_t) nrows * n_per_row; + const int64_t n = (int64_t) nrows * n_per_row; if (ggml_quantize_requires_imatrix(type)) { GGML_ASSERT(imatrix != NULL);