Skip to content

Commit c1386c9

Browse files
authored
gguf-py : add IQ1_M to GGML_QUANT_SIZES (#6761)
1 parent e8d35f4 commit c1386c9

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
@@ -872,6 +872,7 @@ def get_type(val: Any) -> GGUFValueType:
872872
GGMLQuantizationType.I32: (1, 4),
873873
GGMLQuantizationType.I64: (1, 8),
874874
GGMLQuantizationType.F64: (1, 8),
875+
GGMLQuantizationType.IQ1_M: (256, QK_K // 8 + QK_K // 16 + QK_K // 32),
875876
}
876877

877878

0 commit comments

Comments
 (0)