common : add IQ1_S (ggml/0)

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-02-19 15:27:37 +02:00
parent a4d8f9d559
commit 83afebe872
No known key found for this signature in database
GPG Key ID: BF970631944C16B7

View File

@ -65,6 +65,7 @@ bool ggml_common_quantize_0(
case GGML_FTYPE_MOSTLY_IQ2_XXS:
case GGML_FTYPE_MOSTLY_IQ2_XS:
case GGML_FTYPE_MOSTLY_IQ3_XXS:
case GGML_FTYPE_MOSTLY_IQ1_S:
{
fprintf(stderr, "%s: invalid model type %d\n", __func__, ftype);
return false;
@ -197,6 +198,7 @@ bool ggml_common_quantize_0(
case GGML_TYPE_IQ2_XXS:
case GGML_TYPE_IQ2_XS:
case GGML_TYPE_IQ3_XXS:
case GGML_TYPE_IQ1_S:
case GGML_TYPE_COUNT:
{
fprintf(stderr, "%s: unsupported quantization type %d (%s)\n", __func__, ttype, ggml_type_name((ggml_type) ttype));