common : add nvfp4 (ggml/0)

This commit is contained in:
Georgi Gerganov 2026-03-15 19:56:19 +02:00
parent d7926e62d4
commit 81ea958719
1 changed files with 2 additions and 0 deletions

View File

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