mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-17 08:19:49 +02:00
fix for macos asserting on exit
This commit is contained in:
@@ -604,6 +604,12 @@ void ggml_metal_rsets_free(ggml_metal_rsets_t rsets) {
|
||||
return;
|
||||
}
|
||||
|
||||
if([rsets->data count] != 0)
|
||||
{
|
||||
//kcpp try fix for assert below
|
||||
return;
|
||||
}
|
||||
|
||||
// note: if you hit this assert, most likely you haven't deallocated all Metal resources before exiting
|
||||
GGML_ASSERT([rsets->data count] == 0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user