Skip to main content

int8_matmul_fp16

Function int8_matmul_fp16 

Source
pub fn int8_matmul_fp16(
    m: usize,
    n: usize,
    k: usize,
    group_size: usize,
    weights: &[i8],
    scale_bits: &[u16],
) -> Result<Vec<u8>, QuantizedBuildError>
Expand description

As int4_matmul_fp16, with signed eight-bit constant weights [N,K]. Values are represented exactly; the backend may losslessly use narrower storage when all values fit. This is W8A16, not integer-profile INT8 MATMUL.