Functiondecode_attnSingle-query attention over valid KV positions, batched. q: [b, num_heads, head_dim] K, V: [b, num_kv_heads, max_len, head_dim] pos: int
deepspeed/module_inject/kernel_reference.py:50
Methoddequantize(cls, fp_out, input_q, scale, group_size, q_mantisa_bits, q_exponent_bits)
op_builder/hpu/fp_quantizer.py:56