Skip to content

Commit 5622e3a

Browse files
committed
gguf-py: Add IQ1_M to GGML_QUANT_SIZES
1 parent bca40e9 commit 5622e3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gguf-py/gguf/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ def get_type(val: Any) -> GGUFValueType:
859859
GGMLQuantizationType.I32: (1, 4),
860860
GGMLQuantizationType.I64: (1, 8),
861861
GGMLQuantizationType.F64: (1, 8),
862+
GGMLQuantizationType.IQ1_M: (256, QK_K // 8 + QK_K // 16 + QK_K // 32),
862863
}
863864

864865

0 commit comments

Comments
 (0)