From: Georgi Gerganov Date: Thu, 9 Jul 2026 11:58:55 +0000 (+0300) Subject: common : adapt to q2_0 (ggml/0) X-Git-Tag: upstream/1.9.2~43 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ade3292d03e2d3a8ac9c24d0abcef4163a007d75;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp common : adapt to q2_0 (ggml/0) --- diff --git a/examples/common-ggml.cpp b/examples/common-ggml.cpp index 3f2eded8..11a5c0a1 100644 --- a/examples/common-ggml.cpp +++ b/examples/common-ggml.cpp @@ -75,6 +75,7 @@ bool ggml_common_quantize_0( case GGML_FTYPE_MOSTLY_MXFP4: case GGML_FTYPE_MOSTLY_NVFP4: case GGML_FTYPE_MOSTLY_Q1_0: + case GGML_FTYPE_MOSTLY_Q2_0: { fprintf(stderr, "%s: invalid model type %d\n", __func__, ftype); return false; @@ -217,6 +218,7 @@ bool ggml_common_quantize_0( case GGML_TYPE_MXFP4: case GGML_TYPE_NVFP4: case GGML_TYPE_Q1_0: + case GGML_TYPE_Q2_0: case GGML_TYPE_COUNT: { fprintf(stderr, "%s: unsupported quantization type %d (%s)\n", __func__, ttype, ggml_type_name((ggml_type) ttype));