Update ggml.c
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
This commit is contained in:
parent
97110251b9
commit
5c19dd3eef
1 changed files with 1 additions and 1 deletions
2
ggml.c
2
ggml.c
|
@ -4535,10 +4535,10 @@ static struct ggml_object * ggml_new_object( struct ggml_context * ctx, enum ggm
|
|||
}
|
||||
|
||||
*obj_new = (struct ggml_object) {
|
||||
.type = type,
|
||||
.offs = cur_end + GGML_OBJECT_SIZE,
|
||||
.size = size_needed,
|
||||
.next = NULL,
|
||||
.type = type,
|
||||
};
|
||||
|
||||
ggml_assert_aligned(mem_buffer + obj_new->offs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue