]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
Plug memory leaks and free resources on shutdown (llama/19315)
authorNikhil Jain <redacted>
Tue, 10 Feb 2026 16:04:00 +0000 (08:04 -0800)
committerGeorgi Gerganov <redacted>
Sat, 14 Feb 2026 22:20:18 +0000 (00:20 +0200)
commita014b1c3d8cc60cba424ab83685fe94d0847ca92
tree860ef9ba25bb166b2ba42ab3ef6ab8fad2682444
parentef8471523234da1caf1a86be61b8505ebcd87b4d
Plug memory leaks and free resources on shutdown (llama/19315)

* Fix memory leaks in shader lib, backend, backend_context, buffer_context, and webgpu_buf_pool

* Free pools

* Cleanup

* More cleanup

* Run clang-format

* Fix arg-parser and tokenizer test errors that free an unallocated buffer

* Fix device lost callback to not print on device teardown

* Fix include and run clang-format

* remove unused unused

* Update binary ops

---------

Co-authored-by: Reese Levine <redacted>
src/ggml-webgpu/ggml-webgpu-shader-lib.hpp
src/ggml-webgpu/ggml-webgpu.cpp