From b26f5b2e43eb3e8b1f5948f16eafe22b362e6c26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Yusuf=20Sar=C4=B1g=C3=B6z?= Date: Mon, 31 Jul 2023 16:23:54 +0300 Subject: [PATCH] gguf : fix typo in function call --- ggml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index 157199118..33a90f537 100644 --- a/ggml.c +++ b/ggml.c @@ -18545,7 +18545,7 @@ struct gguf_context * gguf_init_from_file(const char * fname, struct gguf_init_p int alignment_idx = gguf_find_key(ctx, "general.alignment"); if (alignment_idx != -1) { - ctx->alignment = gguf_get_u32(ctx, alignment_idx); + ctx->alignment = gguf_get_val_u32(ctx, alignment_idx); } // we require the data section to be aligned, so take into account any padding