]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
metal : remove memory pools (#15966)
authorGeorgi Gerganov <redacted>
Sun, 14 Sep 2025 19:02:32 +0000 (22:02 +0300)
committerGitHub <redacted>
Sun, 14 Sep 2025 19:02:32 +0000 (22:02 +0300)
commit9dcd200d57bc6f05a59a6a8df361d5d183af4124
tree3f71b0410c1462c597b9d3895bef77b1f455d914
parent0fa154e3502e940df914f03b41475a2b80b985b0
metal : remove memory pools (#15966)

* metal : remove mem pool usage

ggml-ci

* metal : remove mem pool implementation

ggml-ci

* metal : take into account the actual allocated memory of the tensor

ggml-ci

* cont : use ggml_backend_buft_get_alloc_size

ggml-ci

* cont : improve, comments

ggml-ci

* cont : add functions for the extra tensor sizes

* metal : add comments

ggml-ci

* metal : implement .get_alloc_size for the rest of the buffer types

ggml-ci

* metal : remove ggml_metal_heap

ggml-ci
ggml/src/ggml-metal/ggml-metal-common.cpp
ggml/src/ggml-metal/ggml-metal.m