Paul Tsochantaris and GitHub
ceebbb5b21
ggml alloc: Fix for null dereference on alloc failure ( #5200 )
...
* Fix for a null pointer dereference if a metal GGML buffer fails to be allocated
* Freeing the allocated buffers rather than the pointer in ggml-alloc.c
* Fixed the fix of the fix
2024-01-29 23:19:29 +01:00
Paul Tsochantaris and GitHub
d2f650cb5b
metal : free metal objects ( #5161 )
...
* Releasing MTLFunction references after Metal pipeline construction
* Keeping the `ggml_metal_kernel` structure
* Spacing fix
* Whitespace fix
2024-01-28 21:50:16 +02:00
Paul Tsochantaris and GitHub
6dd3c28c9c
metal : remove unused n_buffers and buffers ( #5129 )
2024-01-26 14:16:07 +02:00
Paul Tsochantaris and GitHub
1e605f4102
metal : fix memory leak, dangling pointer and unused autorel ( #5007 )
...
* Metal memory: Small memory leak on init, dangling pointer, and unused autorelease pool in graph compute
* SPM header potential fix
* Reverting symlinks
2024-01-18 10:47:24 +02:00
Paul Tsochantaris and GitHub
7563293665
metal : remove unnecessary nil check ( #4986 )
2024-01-17 10:07:24 +02:00
Paul Tsochantaris and GitHub
158f8c9e21
metal : localized logic in ggml_metal_graph_compute ( #4924 )
...
* Metal: Localized logic in `ggml_metal_graph_compute`, minor performance improvement
* Whitespace
* Collecting command buffer completions on single thread
* Whitespace
* Reduce diff noise
2024-01-16 19:05:19 +02:00
Paul Tsochantaris and GitHub
2a7c94db5f
metal : put encoder debug group behind a define ( #4873 )
2024-01-11 16:31:52 +02:00
Paul Tsochantaris and GitHub
a206137f92
Adding Emeltal reference to UI list ( #4629 )
2023-12-25 18:09:53 +02:00