Skip to content

Commit e9a859d

Browse files
authored
ggml: added cleanups in ggml_quantize_free (ggml-org#19278)
Add missing cleanup calls for IQ2_S, IQ1_M quantization types and IQ3XS with 512 blocks during quantization cleanup.
1 parent 41e3f02 commit e9a859d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ggml/src/ggml.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7517,8 +7517,11 @@ void ggml_quantize_free(void) {
75177517

75187518
iq2xs_free_impl(GGML_TYPE_IQ2_XXS);
75197519
iq2xs_free_impl(GGML_TYPE_IQ2_XS);
7520+
iq2xs_free_impl(GGML_TYPE_IQ2_S);
75207521
iq2xs_free_impl(GGML_TYPE_IQ1_S);
7522+
iq2xs_free_impl(GGML_TYPE_IQ1_M);
75217523
iq3xs_free_impl(256);
7524+
iq3xs_free_impl(512);
75227525

75237526
ggml_critical_section_end();
75247527
}

0 commit comments

Comments
 (0)