gguf : fix typo in function call
This commit is contained in:
parent
7aa0a0e7f7
commit
b26f5b2e43
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
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");
|
int alignment_idx = gguf_find_key(ctx, "general.alignment");
|
||||||
if (alignment_idx != -1) {
|
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
|
// we require the data section to be aligned, so take into account any padding
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue