Skip to content

#ggml.q8_1_x4 encoding

← Encoding reference

GGML Vulkan Q8_1 x4 block storage schema.

Property Value
Role storage schema
Implicit shaped attachment no

Fixed storage geometry

Logical elements Storage bytes Required alignment
128 144 16

Logical fields

Role Level Format Elements Bits per element
scale 0 f16 4 16
sum_correction 0 f16 4 16
payload 0 quant_i8 128 8

Bit projections

Field Record bit offset Record bit stride Field element offset Elements Field bit offset Bits
scale[0] 0 32 0 4 0 16
sum_correction[0] 16 32 0 4 0 16
payload[0] 128 8 0 128 0 8

Required auxiliary values

Key Description
scale —
sum_correction —