powered by
Returns the block size for a GGML type. Quantized types process data in blocks (e.g., 32 elements for Q4_0).
ggml_blck_size(type)
Integer block size
GGML type constant
Other type_system: ggml_ftype_to_ggml_type(), ggml_is_quantized(), ggml_type_name(), ggml_type_sizef()
ggml_ftype_to_ggml_type()
ggml_is_quantized()
ggml_type_name()
ggml_type_sizef()
ggml_blck_size(GGML_TYPE_F32) # 1 ggml_blck_size(GGML_TYPE_Q4_0) # 32
Run the code above in your browser using DataLab