Skip to content

release metal buffers when freeing metal context#2062

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
nomic-ai:metalfree-rb
Jul 1, 2023
Merged

release metal buffers when freeing metal context#2062
ggerganov merged 1 commit intoggml-org:masterfrom
nomic-ai:metalfree-rb

Conversation

@apage43
Copy link
Contributor

@apage43 apage43 commented Jun 30, 2023

also actually free the metal context

this allows loading and unloading models without leaking the metal buffers

@ggerganov ggerganov merged commit 2f8cd97 into ggml-org:master Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants