Skip to content

Commit

Permalink
gguf-py : add IQ1_M to GGML_QUANT_SIZES (#6761)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmysl authored and Steven committed Apr 27, 2024
1 parent d3c0f42 commit ccdc5e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gguf-py/gguf/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,7 @@ def get_type(val: Any) -> GGUFValueType:
GGMLQuantizationType.I32: (1, 4),
GGMLQuantizationType.I64: (1, 8),
GGMLQuantizationType.F64: (1, 8),
GGMLQuantizationType.IQ1_M: (256, QK_K // 8 + QK_K // 16 + QK_K // 32),
}


Expand Down

0 comments on commit ccdc5e1

Please sign in to comment.