|
ember.cpp 0.1.0
C++ inference engine for Llama-family and paperkiln models (CPU, CUDA, WebAssembly)
|
6-bit K-quantized block structure More...
#include <quantization.h>

Public Attributes | |
| uint8_t | ql [GGML_QK_K/2] |
| uint8_t | qh [GGML_QK_K/4] |
| int8_t | scales [GGML_QK_K/16] |
| uint16_t | d |
6-bit K-quantized block structure
Stores weights quantized to 6 bits with block-wise scaling. Provides better precision than Q4_K at the cost of more storage.
Definition at line 88 of file quantization.h.
| uint16_t block_q6_K::d |
Block scale
Definition at line 92 of file quantization.h.
Upper 2 bits of quantized values
Definition at line 90 of file quantization.h.
Lower 4 bits of quantized values
Definition at line 89 of file quantization.h.
Referenced by quantize_q6_k().
Sub-block scales
Definition at line 91 of file quantization.h.