examples : update to Q1_0

This commit is contained in:
Georgi Gerganov 2026-05-01 11:53:27 +03:00
parent 320c048724
commit c59a773605
No known key found for this signature in database
GPG Key ID: BF970631944C16B7
1 changed files with 2 additions and 0 deletions

View File

@ -74,6 +74,7 @@ bool ggml_common_quantize_0(
case GGML_FTYPE_MOSTLY_BF16:
case GGML_FTYPE_MOSTLY_MXFP4:
case GGML_FTYPE_MOSTLY_NVFP4:
case GGML_FTYPE_MOSTLY_Q1_0:
{
fprintf(stderr, "%s: invalid model type %d\n", __func__, ftype);
return false;
@ -215,6 +216,7 @@ bool ggml_common_quantize_0(
case GGML_TYPE_TQ2_0:
case GGML_TYPE_MXFP4:
case GGML_TYPE_NVFP4:
case GGML_TYPE_Q1_0:
case GGML_TYPE_COUNT:
{
fprintf(stderr, "%s: unsupported quantization type %d (%s)\n", __func__, ttype, ggml_type_name((ggml_type) ttype));