]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ggml-alloc : remove buffer_id from leaf_alloc (ggml/987)
authorDaniel Bevenius <redacted>
Wed, 9 Oct 2024 14:40:35 +0000 (16:40 +0200)
committerGeorgi Gerganov <redacted>
Wed, 16 Oct 2024 08:28:01 +0000 (11:28 +0300)
commitcd60b88bf7ad7785fb6ac9864e360cf10e42faad
treeeb39dfa20163149edf6d3f68b360000351658075
parentbecfd387f6919d99ec34b76c2522f90ac250c489
ggml-alloc : remove buffer_id from leaf_alloc (ggml/987)

This commit removes the buffer_id field from the leaf_alloc struct.

The motivation for is that this field is only written to and never
read/used as far as I can tell. Each tensor_alloc has a buffer_id field
and this is what caused me to look into this more closely, to
understand what the buffer_id in leaf_alloc was used for.
ggml/src/ggml-alloc.c