From: George Date: Tue, 3 Feb 2026 06:43:39 +0000 (+0200) Subject: ggml: added cleanups in ggml_quantize_free (#19278) X-Git-Tag: upstream/0.0.8067~146 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=e9a859db3cbad0d3dd10deb0527ddfcecce5e78d;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml: added cleanups in ggml_quantize_free (#19278) Add missing cleanup calls for IQ2_S, IQ1_M quantization types and IQ3XS with 512 blocks during quantization cleanup. --- diff --git a/ggml/src/ggml.c b/ggml/src/ggml.c index e1471b540..500cb6b72 100644 --- a/ggml/src/ggml.c +++ b/ggml/src/ggml.c @@ -7517,8 +7517,11 @@ void ggml_quantize_free(void) { iq2xs_free_impl(GGML_TYPE_IQ2_XXS); iq2xs_free_impl(GGML_TYPE_IQ2_XS); + iq2xs_free_impl(GGML_TYPE_IQ2_S); iq2xs_free_impl(GGML_TYPE_IQ1_S); + iq2xs_free_impl(GGML_TYPE_IQ1_M); iq3xs_free_impl(256); + iq3xs_free_impl(512); ggml_critical_section_end(); }