Download build/webgpu/test.json from webgpu-kernels/com.microsoft.MatMulNBits: direct link, hf CLI and curl.
- Browser
- Download file 304 kB
-
https://huggingface.co/kernels/webgpu-kernels/com.microsoft.MatMulNBits/resolve/v1/build/webgpu/test.json
- Command line
-
hf download hf://webgpu-kernels/com.microsoft.MatMulNBits@v1/build/webgpu/test.json
-
curl -L -o test.json https://huggingface.co/kernels/webgpu-kernels/com.microsoft.MatMulNBits/resolve/v1/build/webgpu/test.json
304 kB
{
"fixtureArrays": {
"narrow_q4_activation_cycle": [-127, -61, 0, 7, 63, 127, 19, -5, 43, -89, 101],
"narrow_q4_weight_cycle": [171, 205, 46, 251, 218, 201, 31, 186, 237, 220, 154],
"narrow_q4_scale_cycle": [0.03125, 0.0625, 0.125, 0.25],
"q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT": [16, 50, 84, 118, 152, 186, 220, 254, 135, 119, 102, 85, 68, 51, 34, 17],
"q4_weight_cycle_b_t": [16, 50, 84, 118, 152, 186, 220, 254, 33, 67, 101, 135, 169, 203, 237, 15],
"quant_scale_cycle_t": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085],
"mixed_weight_cycle_b_t": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188, 121],
"q8_zero_bias_gemv_m1_tail_n5_input_bT": [19, 56, 93, 130, 167, 204, 241, 22, 59, 96, 133, 170, 207, 244, 25, 62],
"ort_f16_large_k_accumulator_cancellation_m1_k8192_n8_input_scalesT": [16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16],
"q2_half_native_mixed_n_tile_ranges_m65_k256_n128_output_yT": [-1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625],
"q4_default_full_dequant_m9_k16_n8_a": [7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"q4_default_full_dequant_m9_k16_n8_b": [253, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136],
"q4_default_full_dequant_m9_k16_n8_scales": [0.04, 0.125],
"q4_default_full_dequant_m9_k16_n8_zero_exact_expected": [0, 0.875, 0, 0.875, 0, 0.875, 0, 0.875, 0, 1.75, 0, 1.75, 0, 1.75, 0, 1.75],
"q4_default_full_dequant_m9_k16_n8_bias_exact_expected": [0, 1, 0.25, 0.75, 0, 1, 0.25, 0.75, 0, 1.875, 0.25, 1.625, 0, 1.875, 0.25, 1.625],
"q4_default_full_dequant_m64_k64_n64_a": [7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"q4_default_full_dequant_m64_k64_n64_b": [253, 136, 136, 136, 136, 136, 136, 136, 253, 136, 136, 136, 136, 136, 136, 136, 253, 136, 136, 136, 136, 136, 136, 136, 253, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136],
"q4_default_full_dequant_m64_k64_n64_scales": [0.04, 0.04, 0.04, 0.04, 0.125, 0.125, 0.125, 0.125],
"q4_default_full_dequant_m64_k64_n64_zero_exact_expected": [0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7],
"q4_default_full_dequant_m64_k64_n64_bias_exact_expected": [0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875],
"q4_preclass_row16_tail_activation_boundary_m17_k16_n80_aT": [0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"q4_preclass_row16_tail_activation_boundary_m17_k16_n80_yT": [0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32],
"q4_preclass_col64_tail_scale_boundary_m17_k16_n80_scalesT": [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 8192, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5],
"q4_preclass_col64_tail_scale_boundary_m17_k16_n80_yT": [-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -32768, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2],
"q4_local_compensated_segment_tail_m17_k528_n80_aT": [1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -0.5, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -0.75, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -0.875],
"q4_local_compensated_segment_tail_m17_k528_n80_scalesT": [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
"q4_two_part_infinite_activation_nonzero_weight_m9_input_aT": ["Infinity", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
"cases": [
{
"name": "q4_zero_bias_prefill_tile4x4_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "block_size": 32 }
},
{
"name": "q4_zero_bias_prefill_tile4x4_small_m8",
"provenance": {
"notes": "M=8 rows of 4-bit quantized MatMulNBits with K=128, N=64, block_size=32, explicit zero points [6,7,8,9], and bias check correct dequantization and bias addition at a small row count."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_tile4x4_small_m8",
"provenance": {
"notes": "Eight rows against 8-bit weights (K=128, N=64, block_size=32) with per-block zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "ort_projection_q4_block16_tail_zero_bias",
"provenance": {
"source": "onnxruntime/test/contrib_ops/matmul_4bits_test.cc",
"test": "MatMulNBits.Float32_4b_Accuracy0",
"notes": "Rank-2 projection of ORT q4 block-size coverage with per-block zero points and bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [2, 17],
"data": { "kind": "fillFloat32", "sinStep": 0.19, "cosStep": 0.37 }
},
"bT": {
"dtype": "uint8",
"shape": [2, 2, 8],
"data": {
"kind": "values",
"values": [16, 50, 84, 118, 152, 186, 220, 254, 33, 0, 0, 0, 0, 0, 0, 0, 255, 238, 221, 204, 187, 170, 153, 136, 240, 0, 0, 0, 0, 0, 0, 0]
}
},
"scalesT": {
"dtype": "float32",
"shape": [2, 2],
"data": { "kind": "values", "values": [0.04, 0.08, 0.06, 0.12] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [2, 2],
"data": { "kind": "values", "values": [7.0, 1.0, 8.0, 0.0] }
},
"biasT": { "dtype": "float32", "shape": [2], "data": { "kind": "values", "values": [0.5, -1.0] } }
},
"outputs": { "yT": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.00001 } },
"attrs": { "K": 17, "N": 2, "bits": 4, "block_size": 16 }
},
{
"name": "ort_projection_q4_block32_tail_no_zero",
"provenance": {
"source": "onnxruntime/test/contrib_ops/matmul_4bits_test.cc",
"test": "MatMulNBits.Float32_4b_Accuracy0",
"notes": "Rank-2 deterministic projection of ORT q4 coverage with blockSize=32 and tail K."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [2, 33],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.75 }
},
"bT": {
"dtype": "uint8",
"shape": [2, 2, 16],
"data": {
"kind": "values",
"values": [16, 50, 84, 118, 152, 186, 220, 254, 16, 50, 84, 118, 152, 186, 220, 254, 135, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 255, 238, 221, 204, 187, 170, 153, 136, 119, 102, 85, 68, 51, 34, 17, 0, 248, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
}
},
"scalesT": {
"dtype": "float32",
"shape": [2, 2],
"data": { "kind": "values", "values": [0.03, 0.06, 0.04, 0.07] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [2, 2], "tolerance": 0.00001 } },
"attrs": { "K": 33, "N": 2, "bits": 4, "block_size": 32 }
},
{
"name": "q4_block512_schema_legal_cpu_provider_gap_exact",
"provenance": {
"source": "onnxruntime/test/contrib_ops/matmul_4bits_test.cc",
"test": "MatMulNBits.UnsupportedBlockSize_512",
"notes": "The schema permits power-of-two block sizes of at least 16, including 512. With A=1, q4 code 9, default zero point 8, and scale 0.25, the result is exactly `512 * (9 - 8) * 0.25 = 128`."
},
"inputs": {
"aT": { "dtype": "float32", "shape": [1, 512], "data": { "kind": "constant", "value": 1.0 } },
"bT": { "dtype": "uint8", "shape": [1, 1, 256], "data": { "kind": "constant", "value": 153 } },
"scalesT": { "dtype": "float32", "shape": [1, 1], "data": { "kind": "constant", "value": 0.25 } }
},
"outputs": {
"yT": { "dtype": "float32", "shape": [1, 1], "tolerance": 0, "data": { "kind": "values", "values": [128.0] } }
},
"attrs": { "K": 512, "N": 1, "bits": 4, "block_size": 512 }
},
{
"name": "q4_no_zero_prefill_sgmat_large",
"inputs": {
"aT": {
"shape": [769, 128],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [256, 4, 16],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [256, 4],
"dtype": "float32",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [769, 256], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 256, "bits": 4, "block_size": 32 }
},
{
"name": "q4_no_zero_prefill_sgmat_m32_storage_floor",
"provenance": {
"notes": "M=32, K=32 (one 32-wide quantization block) and N=64 with 4-bit weights, the default zero point and no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.0001 } },
"attrs": { "K": 32, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_zero_bias_prefill_sgmat_m32_storage_floor",
"provenance": {
"notes": "M=32, K=32 (one 32-wide quantization block) and N=64 with 4-bit weights, explicit zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [7.0, 8.0, 6.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.0001 } },
"attrs": { "K": 32, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_no_zero_prefill_g64_sgmat",
"provenance": {
"notes": "A compact q4 prefill with block_size=64 (K=128, so two blocks per column), N=64, M=64 and the default zero point."
},
"inputs": {
"aT": {
"shape": [64, 128],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [64, 2, 32],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [64, 2],
"dtype": "float32",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [64, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 64 }
},
{
"name": "q8_no_zero_prefill_sgmat_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_sgmat_m32_storage_floor",
"provenance": {
"notes": "M=32, K=32 (one 32-wide quantization block) and N=64 with 8-bit weights, the default zero point and no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.001 } },
"attrs": { "K": 32, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_sgmat_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_reg_vec4_splitk_m128_k1024_n1024",
"provenance": {
"notes": "M=128, K=1024 (thirty-two 32-wide blocks) and N=1024 with 8-bit weights, the default zero point and no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 32, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 1024], "tolerance": 0.005 } },
"attrs": { "K": 1024, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_reg_vec4_splitk_m128_k1024_n1024",
"provenance": {
"notes": "Zero points affect the complete reduction, and bias is added exactly once to the final output."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 32, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 32],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 1024], "tolerance": 0.005 } },
"attrs": { "K": 1024, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_only_prefill_reg_vec4_splitk_m128_k1024_n1024",
"provenance": { "notes": "Zero points affect the complete reduction without an output bias." },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 32, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 32],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 1024], "tolerance": 0.005 } },
"attrs": { "K": 1024, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_bias_only_prefill_reg_vec4_splitk_m128_k1024_n1024",
"provenance": {
"notes": "With a bias and the default zero point over the K=1024 reduction, the bias must be added exactly once to each output."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 32, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 1024], "tolerance": 0.005 } },
"attrs": { "K": 1024, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_sgmat_m32_storage_floor",
"provenance": {
"notes": "M=32, K=32 (one 32-wide quantization block) and N=64 with 8-bit weights, explicit zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.001 } },
"attrs": { "K": 32, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_tile4x4_unaligned",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 64],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [12, 2, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [12, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 12], "tolerance": 0.001 } },
"attrs": { "K": 64, "N": 12, "bits": 8, "block_size": 32 }
},
{
"name": "q4_f16_zero_points_prefill_sgmat",
"inputs": {
"aT": {
"dtype": "float16",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [7.0, 8.0, 9.0, 6.0] }
},
"biasT": { "dtype": "float16", "shape": [64], "data": { "kind": "constant", "value": 0.0 } }
},
"outputs": { "yT": { "dtype": "float16", "shape": [128, 64], "tolerance": 0.05 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_no_zero_prefill_sgmat_unaligned_n72",
"inputs": {
"aT": {
"shape": [128, 128],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [72, 4, 16],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [72, 4],
"dtype": "float32",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 72], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 72, "bits": 4, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_sgmat_unaligned_n72",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [72, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [72, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 72], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 72, "bits": 8, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_sgmat_unaligned_n72_m32",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [72, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [72, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 72], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 72, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_sgmat_unaligned_n72",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [72, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [72, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [72, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [72],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 72], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 72, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_sgmat_unaligned_n65_m33",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [65, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [65, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [65, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [65],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 65], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 65, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_sgmat_unaligned_n72_m32_bs16",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [72, 8, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [72, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [72, 8],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [72],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 72], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 72, "bits": 8, "block_size": 16 }
},
{
"name": "empty_zero_dim",
"provenance": {
"notes": "Zero-length M (rows) axis of A (empty input). With M=0 the N/K-driven packed uint8 B[4,1,16] and scales[4,1] stay normal and Y=[0,N] is empty. K=32,N=4,bits=4,block_size=32."
},
"inputs": {
"aT": { "dtype": "float32", "shape": [0, 32], "data": { "kind": "values", "values": [] } },
"bT": { "dtype": "uint8", "shape": [4, 1, 16], "data": { "kind": "constant", "value": 17 } },
"scalesT": { "dtype": "float32", "shape": [4, 1], "data": { "kind": "constant", "value": 0.05 } }
},
"outputs": {
"yT": { "dtype": "float32", "shape": [0, 4], "tolerance": 0, "data": { "kind": "values", "values": [] } }
},
"attrs": { "K": 32, "N": 4, "bits": 4, "block_size": 32 }
},
{
"name": "empty_zero_dim_f16",
"provenance": { "notes": "f16 variant of the empty zero-M-axis case." },
"inputs": {
"aT": { "dtype": "float16", "shape": [0, 32], "data": { "kind": "values", "values": [] } },
"bT": { "dtype": "uint8", "shape": [4, 1, 16], "data": { "kind": "constant", "value": 17 } },
"scalesT": { "dtype": "float16", "shape": [4, 1], "data": { "kind": "constant", "value": 0.05 } }
},
"outputs": {
"yT": { "dtype": "float16", "shape": [0, 4], "tolerance": 0, "data": { "kind": "values", "values": [] } }
},
"attrs": { "K": 32, "N": 4, "bits": 4, "block_size": 32 }
},
{
"name": "q4_no_zero_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"shape": [512, 128],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [1024, 4, 16],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [1024, 4],
"dtype": "float32",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 1024, "bits": 4, "block_size": 32 }
},
{
"name": "q4_f16_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"shape": [512, 128],
"dtype": "float16",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [1024, 4, 16],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [1024, 4],
"dtype": "float16",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [512, 1024], "tolerance": 0.0001, "relTolerance": 0.001 } },
"provenance": {
"notes": "Float16 activations and scales with M=512, K=128 and N=1024, 4-bit weights, the default zero point and no bias."
},
"attrs": { "K": 128, "N": 1024, "bits": 4, "block_size": 32 }
},
{
"name": "q4_zero_bias_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 1024, "bits": 4, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_f16_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float16",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [512, 1024], "tolerance": 0.0001, "relTolerance": 0.001 } },
"provenance": {
"notes": "Float16 activations and scales against 8-bit weights, whose dequantized values span the widest range of the supported bit widths. M=512, K=128, N=1024."
},
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q4_no_zero_prefill_tile4x4_partial_row_tile_m6",
"provenance": {
"notes": "M=6 rows of 4-bit MatMulNBits (K=64, N=8, block_size=32, default zero point, no bias) check a row count that is not a multiple of four."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [6, 64],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [8, 2, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [8, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [6, 8], "tolerance": 0.0001 } },
"attrs": { "K": 64, "N": 8, "bits": 4, "block_size": 32 }
},
{
"name": "q4_gemv_default_zero_m1_tail_n7",
"provenance": {
"notes": "M=1 and N=7 leave three live columns in the final four-column output group. The guarded stores must write those columns without accessing the eighth column; zero points are omitted."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [7, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [7, 1],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 7], "tolerance": 0.00001 } },
"attrs": { "K": 32, "N": 7, "bits": 4, "block_size": 32 }
},
{
"name": "q4_gemv_default_zero_m1_odd_k33_n5",
"provenance": {
"notes": "With K=33, the last stored byte of the second q4 block contains one live nibble and one beyond K. The GEMV must guard the out-of-range activation."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 33],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 2, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.00001 } },
"attrs": { "K": 33, "N": 5, "bits": 4, "block_size": 32 }
},
{
"name": "q2_gemv_default_zero_m1_k18_n5",
"provenance": {
"notes": "Four q2 codes share each byte, and K=18 leaves two codes in the final byte beyond K. The GEMV must unpack the live codes and guard both out-of-range activations."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 18],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 2, 4],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.00001 } },
"attrs": { "K": 18, "N": 5, "bits": 2, "block_size": 16 }
},
{
"name": "q4_gemv_default_zero_m1_n13_ncols8",
"tunables": { "GEMV_N_COLS": 8 },
"provenance": {
"notes": "N=13 with M=1, K=32, block_size=32, 4-bit weights and the default zero point checks a column count that is not a multiple of eight."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [13, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [13, 1],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 13], "tolerance": 0.00001 } },
"attrs": { "K": 32, "N": 13, "bits": 4, "block_size": 32 }
},
{
"name": "q4_gemv_default_zero_m1_tail_n7_ncols8",
"tunables": { "GEMV_N_COLS": 8 },
"provenance": {
"notes": "N=7 with M=1, K=32, block_size=32, 4-bit weights and the default zero point checks that all seven output columns are dequantized and written correctly."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [7, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [7, 1],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 7], "tolerance": 0.00001 } },
"attrs": { "K": 32, "N": 7, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_bias_gemv_m1_tail_n5",
"provenance": {
"notes": "M=1 and N=5 leave one live column in the final four-column output group. The case combines guarded tail stores with q8 unpacking, explicit zero points, and the bias epilogue."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 16],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0] }
},
"biasT": {
"dtype": "float32",
"shape": [5],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.00001 } },
"attrs": { "K": 16, "N": 5, "bits": 8, "block_size": 16 }
},
{
"name": "q8_zero_only_gemv_m1_tail_n5",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "M=1, K=16, N=5 with 8-bit weights, explicit per-block zero points and no bias, so only the zero-point decoding differs from the default."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 16],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.00001 } },
"attrs": { "K": 16, "N": 5, "bits": 8, "block_size": 16 }
},
{
"name": "q8_bias_only_gemv_m1_tail_n5",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "M=1, K=16, N=5 with 8-bit weights, a bias and the schema-default zero point, so only the bias addition differs from the plain case."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 16],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06] }
},
"biasT": {
"dtype": "float32",
"shape": [5],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.00001 } },
"attrs": { "K": 16, "N": 5, "bits": 8, "block_size": 16 }
},
{
"name": "q8_zero_bias_gemv_m1_tail_n5_ncols8",
"tunables": { "GEMV_N_COLS": 8 },
"provenance": {
"notes": "N=5 with M=1, K=16, block_size=16, 8-bit weights, explicit per-block zero points and a bias checks that all five output columns are dequantized and written correctly."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 16],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [5, 1],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0] }
},
"biasT": {
"dtype": "float32",
"shape": [5],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.00001 } },
"attrs": { "K": 16, "N": 5, "bits": 8, "block_size": 16 }
},
{
"name": "q8_zero_bias_naive_fallback_tailK_m3_n6",
"provenance": {
"notes": "K=17 with block size 16 leaves a partial quantization block. M=3 and N=6 check q8 unpacking, per-block zero points, bias, and the K tail."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [3, 17],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.75 }
},
"bT": {
"dtype": "uint8",
"shape": [6, 2, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [6, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [6, 2],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0] }
},
"biasT": {
"dtype": "float32",
"shape": [6],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [3, 6], "tolerance": 0.001 } },
"attrs": { "K": 17, "N": 6, "bits": 8, "block_size": 16 }
},
{
"name": "q4_prefill_tiled_reg_tailk_m32_k33_n4096",
"provenance": {
"notes": "A 33-element reduction leaves a partial final quantization block; padded weights must not contribute to the result or read past the activation input."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 33],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [4096, 2, 16],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT" }
}
},
"scalesT": {
"dtype": "float32",
"shape": [4096, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 4096], "tolerance": 0.001 } },
"attrs": { "K": 33, "N": 4096, "bits": 4, "block_size": 32 }
},
{
"name": "q4_prefill_tiled_reg_aligned_m32_k32_n4096_at_workgroup_floor",
"provenance": {
"source": "synthetic",
"notes": "Aligned shape: M=32, K=32 (one whole 32-wide block) and N=4096 with 4-bit weights and the default zero point."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [4096, 1, 16],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT" }
}
},
"scalesT": {
"dtype": "float32",
"shape": [4096, 1],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 4096], "tolerance": 0.001 } },
"attrs": { "K": 32, "N": 4096, "bits": 4, "block_size": 32 }
},
{
"name": "q4_prefill_tiled_reg_tailk_m32_k33_n512_below_wide_n_floor",
"provenance": {
"notes": "K=33 leaves a one-element partial final quantization block; M=32 and N=512 with 4-bit weights and the default zero point."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 33],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [512, 2, 16],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT" }
}
},
"scalesT": {
"dtype": "float32",
"shape": [512, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 512], "tolerance": 0.001 } },
"attrs": { "K": 33, "N": 512, "bits": 4, "block_size": 32 }
},
{
"name": "q4_f16_prefill_reg_tailk_m32_k33_n4096",
"provenance": {
"notes": "Float16 activations with K=33 (a one-element partial final quantization block), M=32 and N=4096."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [32, 33],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [4096, 2, 16],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT" }
}
},
"scalesT": {
"dtype": "float16",
"shape": [4096, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [32, 4096], "tolerance": 0.0001, "relTolerance": 0.001 } },
"attrs": { "K": 33, "N": 4096, "bits": 4, "block_size": 32 }
},
{
"name": "q8_no_zero_prefill_odd_n_fallback",
"provenance": {
"notes": "An eight-row q8 projection with N=17 and no zero points or bias checks the final odd output column."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 64],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [17, 2, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [17, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 17], "tolerance": 0.001 } },
"attrs": { "K": 64, "N": 17, "bits": 8, "block_size": 32 }
},
{
"name": "q4_zero_only_prefill_sgmat_m32_storage_floor",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [7.0, 8.0, 6.0, 9.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.0001 } },
"attrs": { "K": 32, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_bias_only_prefill_sgmat_m32_storage_floor",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.0001 } },
"attrs": { "K": 32, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_only_prefill_sgmat_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_bias_only_prefill_sgmat_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q4_zero_only_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.0001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"attrs": { "K": 128, "N": 1024, "bits": 4, "block_size": 32 }
},
{
"name": "q4_bias_only_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.0001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"attrs": { "K": 128, "N": 1024, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_only_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_bias_only_prefill_reg_m512_n1024",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q4_zero_only_prefill_tile4x4_small_m8",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_bias_only_prefill_tile4x4_small_m8",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_only_prefill_tile4x4_small_m8",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0, 126.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_bias_only_prefill_tile4x4_small_m8",
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q4_zero_only_prefill_tile4x4_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is zeroPointsT; the expected output isolates explicit zero-point decoding from bias handling."
},
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_bias_only_prefill_tile4x4_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc",
"test": "independent has_zero_points/has_bias epilogues",
"notes": "The only optional input is biasT; zero-point decoding uses the schema default, isolating the bias epilogue."
},
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q4_dp4a_prefill_al4_m64_k256_n64_b32",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [64, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.013, "cosStep": 0.021 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 8, 16],
"data": {
"kind": "cycle",
"values": [37, 201, 116, 88, 250, 13, 164, 95, 142, 7, 233, 60, 178, 121, 44, 209, 86, 155]
}
},
"scalesT": { "dtype": "float32", "shape": [64, 8], "data": { "kind": "linspace", "start": 0.01, "end": 0.05 } }
},
"outputs": { "yT": { "dtype": "float32", "shape": [64, 64], "tolerance": 0.03 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "accuracy_level=4 int8 activation quantization (DP4AMatMulQuantize + DP4AMatMulNBits)",
"notes": "Accuracy level 4 quantizes A per 128-element block using `max_abs / 127` and signed-normalized rounding, then multiplies q4 weights with packed integer dots. Tolerances account for the permitted activation-quantization error."
},
"attrs": { "K": 256, "N": 64, "bits": 4, "block_size": 32, "accuracy_level": 4 }
},
{
"name": "q4_dp4a_prefill_al4_m48_k128_n16_b64",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [48, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.017, "cosStep": 0.027 }
},
"bT": {
"dtype": "uint8",
"shape": [16, 2, 32],
"data": { "kind": "cycle", "values": [171, 205, 46, 251, 218, 201, 31, 186, 237, 220, 154] }
},
"scalesT": { "dtype": "float32", "shape": [16, 2], "data": { "kind": "linspace", "start": 0.02, "end": 0.06 } }
},
"outputs": { "yT": { "dtype": "float32", "shape": [48, 16], "tolerance": 0.03 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "accuracy_level=4 int8 activation quantization (DP4AMatMulQuantize + DP4AMatMulNBits)",
"notes": "Diverges from the upstream test's inputs (inputs.bT cycle [37, 201, 116, 88, 250, 13, 164, 95, 142, 7, 233] -> cycle [171, 205, 46, 251, 218, 201, 31, 186, 237, 220, 154]); the expected output is recomputed by the CPU reference for the new inputs. Accuracy level 4 quantizes A per 128-element block using `max_abs / 127` and signed-normalized rounding, then multiplies q4 weights with packed integer dots. Tolerances account for the permitted activation-quantization error, so the weight codes sit mostly above the default zero point: a near-zero-mean code cycle cancels the product down to the magnitude of that error, leaving no tolerance that can see a scale mistake."
},
"attrs": { "K": 128, "N": 16, "bits": 4, "block_size": 64, "accuracy_level": 4 }
},
{
"name": "q2_zero_bias_prefill_tile4x4_small_m8",
"provenance": {
"notes": "2-bit weights pack four codes per stored byte, low codes first along K. Eight rows (K=128, N=64, block_size=32) with explicit zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [1.0, 2.0, 3.0, 0.0, 2.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 2, "block_size": 32 }
},
{
"name": "q2_no_zero_prefill_sgmat_large",
"provenance": {
"notes": "2-bit weights pack four codes per stored byte, low codes first along K, with a default zero point of 2. M=128, K=128, N=64, no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 2, "block_size": 32 }
},
{
"name": "q2_zero_bias_prefill_sgmat_m32_storage_floor",
"provenance": {
"notes": "2-bit weights pack four codes per stored byte, low codes first along K. M=32, K=32 (one 32-wide block), N=64 with explicit zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 1, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 1],
"data": { "kind": "cycle", "values": [1.0, 2.0, 3.0, 0.0, 2.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 64], "tolerance": 0.001 } },
"attrs": { "K": 32, "N": 64, "bits": 2, "block_size": 32 }
},
{
"name": "q2_no_zero_prefill_reg_m512_n1024",
"provenance": {
"notes": "2-bit weights pack four codes per stored byte, low codes first along K, with a default zero point of 2. M=512, K=128, N=1024, no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 2, "block_size": 32 }
},
{
"name": "q2_zero_bias_prefill_reg_m512_n1024",
"provenance": {
"notes": "2-bit weights pack four codes per stored byte, low codes first along K. M=512, K=128, N=1024 with explicit zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [512, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": [1.0, 2.0, 3.0, 0.0, 2.0] }
},
"biasT": {
"dtype": "float32",
"shape": [1024],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [512, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 2, "block_size": 32 }
},
{
"name": "q8_rank3_prefill_tile4x4",
"provenance": {
"notes": "Rank-3 activations [2,4,128] fold to eight rows against 8-bit weights (N=64, block_size=32) with zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [2, 4, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 32],
"data": { "kind": "cycle", "values": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188] }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [2, 4, 64], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 64, "bits": 8, "block_size": 32 }
},
{
"name": "q8_zero_only_naive_fallback_tailk_m3_n6",
"provenance": {
"notes": "K=17 with block_size=16 leaves one element in a partial final quantization block (M=3, N=6, 8-bit, explicit per-block zero points, no bias); checks that the partial block is weighted correctly without bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [3, 17],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.75 }
},
"bT": {
"dtype": "uint8",
"shape": [6, 2, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [6, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [6, 2],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [3, 6], "tolerance": 0.001 } },
"attrs": { "K": 17, "N": 6, "bits": 8, "block_size": 16 }
},
{
"name": "q8_bias_only_naive_fallback_tailk_m3_n6",
"provenance": {
"notes": "K=17 with block_size=16 leaves one element in a partial final quantization block (M=3, N=6, 8-bit, default zero point, explicit bias); checks that the partial block and bias combine correctly."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [3, 17],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.75 }
},
"bT": {
"dtype": "uint8",
"shape": [6, 2, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q8_zero_bias_gemv_m1_tail_n5_input_bT" } }
},
"scalesT": {
"dtype": "float32",
"shape": [6, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075] }
},
"biasT": {
"dtype": "float32",
"shape": [6],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.2 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [3, 6], "tolerance": 0.001 } },
"attrs": { "K": 17, "N": 6, "bits": 8, "block_size": 16 }
},
{
"name": "q4_prefill_tile4x4_m4_k128_n4100_column_groups_partial_group",
"provenance": {
"notes": "M=4, K=128 (four 32-wide blocks) and N=4100 with 4-bit weights and the default zero point. N=4100 is 256 x 16 + 4, so the final four output columns are a remainder after whole multiples of 16."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [4, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [4100, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [4100, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [4, 4100], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 4100, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_tile4x4_m5_k64_n300_column_groups",
"provenance": {
"notes": "8-bit weights with M=5, K=64 (two 32-wide blocks) and N=300, explicit per-block zero points and a bias. N=300 is 18 x 16 + 12 and M=5 is one past a multiple of four, so partial row and column groups occur together."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [5, 64],
"data": { "kind": "fillFloat32", "sinStep": 0.09, "cosStep": 0.27, "scale": 0.4 }
},
"bT": {
"dtype": "uint8",
"shape": [300, 2, 32],
"data": { "kind": "cycle", "values": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188] }
},
"scalesT": {
"dtype": "float32",
"shape": [300, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [300, 2],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0] }
},
"biasT": {
"dtype": "float32",
"shape": [300],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [5, 300], "tolerance": 0.001 } },
"attrs": { "K": 64, "N": 300, "bits": 8, "block_size": 32 }
},
{
"name": "q4_gemv_default_zero_m1_k2080_n6_two_vector_trips",
"provenance": {
"notes": "M=1, K=2080 (sixty-five 32-wide blocks, one past 64) and N=6 with 4-bit weights and the default zero point, so the last block's scale must be applied."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 2080],
"data": { "kind": "fillFloat32", "sinStep": 0.017, "cosStep": 0.031 }
},
"bT": {
"dtype": "uint8",
"shape": [6, 65, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [6, 65],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 6], "tolerance": 0.0001 } },
"attrs": { "K": 2080, "N": 6, "bits": 4, "block_size": 32 }
},
{
"name": "q8_gemv_zero_bias_m1_k48_block16_word_vectors",
"provenance": {
"notes": "M=1, K=48 (three 16-wide blocks) and N=9 with 8-bit weights, block_size=16, explicit zero points and a bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 48],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29 }
},
"bT": {
"dtype": "uint8",
"shape": [9, 3, 16],
"data": { "kind": "cycle", "values": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188] }
},
"scalesT": {
"dtype": "float32",
"shape": [9, 3],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [9, 3],
"data": { "kind": "cycle", "values": [120.0, 132.0, 128.0, 140.0, 135.0, 118.0, 144.0] }
},
"biasT": {
"dtype": "float32",
"shape": [9],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 9], "tolerance": 0.0001 } },
"attrs": { "K": 48, "N": 9, "bits": 8, "block_size": 16 }
},
{
"name": "q4_gemv_default_zero_m1_block16_single_word_vectors_k40",
"provenance": {
"notes": "M=1, N=5 with 4-bit weights at block_size=16 and K=40, which ends 8 elements into the third block: the codes of that block past K must contribute zero."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 40],
"data": { "kind": "fillFloat32", "sinStep": 0.19, "cosStep": 0.37 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 3, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 3],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.0001 } },
"attrs": { "K": 40, "N": 5, "bits": 4, "block_size": 16 }
},
{
"name": "q2_gemv_default_zero_m1_k320_n5_block64_f16",
"provenance": {
"notes": "M=1, N=5 with 2-bit codes against float16 activations at block_size=64. K=320 is five blocks, and the default zero point is 2."
},
"attrs": { "K": 320, "N": 5, "bits": 2, "block_size": 64 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [1, 320],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 5, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [5, 5],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [1, 5], "tolerance": 0.01, "relTolerance": 0.005 } }
},
{
"name": "q2_gemv_default_zero_m1_k256_n5_block64",
"provenance": {
"notes": "M=1, N=5 with 2-bit codes against float32 activations at block_size=64. K=256 is four blocks, and the default zero point is 2."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.21, "cosStep": 0.43 }
},
"bT": {
"dtype": "uint8",
"shape": [5, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [5, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 5], "tolerance": 0.0001 } },
"attrs": { "K": 256, "N": 5, "bits": 2, "block_size": 64 }
},
{
"name": "ort_f16_large_k_accumulator_cancellation_m1_k8192_n8",
"provenance": {
"notes": "Transcribed from ORT MatMulNBits.Float16_LargeK_AccumulatorOverflow (M=1 arm). A = 8 everywhere; the dequantized weight is +112 over the first half of K and -112 over the second, so the exact result is 0 while the running partial sum crosses the f16 ceiling (65504) at 114688 in any kernel that walks K in one accumulator. ORT puts the sign on B's codes (0xFF then 0x11); this package puts it on the block scale instead (+16 then -16) with every code 15, which yields a bit-identical dequantized weight matrix and lets B be one constant instead of a 4096-long cycle."
},
"attrs": { "K": 8192, "N": 8, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [1, 8192], "data": { "kind": "constant", "value": 8.0 } },
"bT": { "dtype": "uint8", "shape": [8, 256, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": {
"dtype": "float16",
"shape": [8, 256],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/ort_f16_large_k_accumulator_cancellation_m1_k8192_n8_input_scalesT" }
}
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [1, 8], "tolerance": 0.05 } }
},
{
"name": "ort_f16_large_k_accumulator_cancellation_m8_k8192_n8",
"provenance": {
"notes": "Transcribed from ORT MatMulNBits.Float16_LargeK_AccumulatorOverflow (M=8 arm). The same cancellation construction as the M=1 case checks float32 accumulation for eight output rows."
},
"attrs": { "K": 8192, "N": 8, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [8, 8192], "data": { "kind": "constant", "value": 8.0 } },
"bT": { "dtype": "uint8", "shape": [8, 256, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": {
"dtype": "float16",
"shape": [8, 256],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/ort_f16_large_k_accumulator_cancellation_m1_k8192_n8_input_scalesT" }
}
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [8, 8], "tolerance": 0.05 } }
},
{
"name": "f16_full_k_accumulator_cancellation_prefill_m64_k4096_n64",
"provenance": {
"notes": "Adapted from ORT MatMulNBits.Float16_LargeK_AccumulatorOverflow. With K=4,096, partial sums rise above the float16 finite ceiling (peak 1,835,008) before cancelling to an exact zero output."
},
"attrs": { "K": 4096, "N": 64, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 4096], "data": { "kind": "constant", "value": 8.0 } },
"bT": { "dtype": "uint8", "shape": [64, 128, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": {
"dtype": "float16",
"shape": [64, 128],
"data": {
"kind": "cycle",
"values": [16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, 16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0, -16.0]
}
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [64, 64], "tolerance": 0.05 } }
},
{
"name": "ort_f16_decode_bias_m1_k1024_n128_b32",
"provenance": {
"notes": "Transcribed from ORT MatMulNBits.Float16_AccumulatorPrecisionOption_AllPaths, case {M=1, N=128, K=1024, block 32, accuracy_level 0, bias}. The provider option is not applicable here. Weight and scale data are cyclic patterns shared with other cases in this file."
},
"attrs": { "K": 1024, "N": 128, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [1, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 32, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [128, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float16",
"shape": [128],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.125 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [1, 128], "tolerance": 0.01, "relTolerance": 0.005 } }
},
{
"name": "ort_f16_prefill_bias_m8_k1024_n128_b32",
"provenance": {
"notes": "Transcribed from ORT MatMulNBits.Float16_AccumulatorPrecisionOption_AllPaths, case {M=8, N=128, K=1024, block 32, accuracy_level 0, bias} (ORT's wide-tile arm)."
},
"attrs": { "K": 1024, "N": 128, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [8, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 32, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [128, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float16",
"shape": [128],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.125 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [8, 128], "tolerance": 0.01, "relTolerance": 0.005 } }
},
{
"name": "q2_block128_f16_zero1_prefill_m128_k1024_n1024",
"provenance": {
"notes": "M=128, K=1024, N=1024 with 2-bit weights in 128-value quantization blocks, a uniform explicit zero point of 1, and float16 operands check dequantization at a full-size projection shape."
},
"attrs": { "K": 1024, "N": 1024, "bits": 2, "block_size": 128 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [128, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 8, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [1024, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": { "dtype": "float16", "shape": [1024, 8], "data": { "kind": "constant", "value": 1.0 } }
},
"outputs": { "yT": { "dtype": "float16", "shape": [128, 1024], "tolerance": 0.01, "relTolerance": 0.01 } }
},
{
"name": "ort_f16_accuracy_level4_m8_k4096_n128_generic_route",
"provenance": {
"notes": "Transcribed from ORT MatMulNBits.Float16_AccumulatorPrecisionOption_AllPaths: M=8, N=128, K=4,096, block size 32, accuracy_level 4. The float16 inputs check float32 accumulation independently of provider-specific execution choices."
},
"attrs": { "K": 4096, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [8, 4096],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 128, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [128, 128],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [8, 128], "tolerance": 0.02, "relTolerance": 0.01 } }
},
{
"name": "q4_k_slices_uneven_bias_zero_m70_k1184_n96",
"provenance": {
"notes": "K=1184 is thirty-seven 32-wide blocks; M=70 and N=96 are not multiples of 64. Explicit zero points and a bias that must be added exactly once."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [70, 1184],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [96, 37, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [96, 37],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [96, 37],
"data": { "kind": "cycle", "values": [7.0, 9.0, 8.0, 6.0, 10.0, 8.0, 5.0] }
},
"biasT": {
"dtype": "float32",
"shape": [96],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [70, 96], "tolerance": 0.005 } },
"attrs": { "K": 1184, "N": 96, "bits": 4, "block_size": 32 }
},
{
"name": "q4_packed_matrix_k_slices_m64_k2048_n128",
"provenance": {
"notes": "Float32 rows (M=64) against 4-bit codes in 32-wide blocks over a K=2048 reduction (64 blocks), N=128, default zero point and no bias; each weight decodes as (code - 8) * scale."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [64, 2048],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 64, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [128, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [64, 128], "tolerance": 0.005 } },
"attrs": { "K": 2048, "N": 128, "bits": 4, "block_size": 32 }
},
{
"name": "q4_packed_matrix_block64_m128_k1024_n192",
"provenance": {
"notes": "Float32 rows (M=128) against 4-bit codes in 64-wide blocks (K=1024, N=192), so each scale covers 64 consecutive codes of its row. Default zero point, no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.19, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [192, 16, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [192, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 192], "tolerance": 0.005 } },
"attrs": { "K": 1024, "N": 192, "bits": 4, "block_size": 64 }
},
{
"name": "q4_half_register_tile_deep_m47",
"provenance": {
"notes": "Float32 rows with M=47 (not a multiple of 4, 8 or 16) over a deep K=4096 reduction (128 blocks of 32), N=4096, 4-bit weights, default zero point and no bias."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [47, 4096],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [4096, 128, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [4096, 128],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [47, 4096], "tolerance": 0.005 } },
"attrs": { "K": 4096, "N": 4096, "bits": 4, "block_size": 32 }
},
{
"name": "q4_vec4_partial_tiles_m65_k132_n1025",
"inputs": {
"aT": {
"shape": [65, 132],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [1025, 5, 16],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [1025, 5],
"dtype": "float32",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [65, 1025], "tolerance": 0.0001 } },
"attrs": { "K": 132, "N": 1025, "bits": 4, "block_size": 32 },
"provenance": {
"notes": "M=65, K=132 and N=1025 with 4-bit weights at block_size=32: K=132 leaves a four-element partial final block, and M and N are each one past a multiple of 64. Padded codes must not reach the output."
}
},
{
"name": "q4_f16_vec4_partial_tiles_m65_k132_n1025",
"inputs": {
"aT": {
"shape": [65, 132],
"dtype": "float16",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [1025, 3, 32],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [1025, 3],
"dtype": "float16",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [65, 1025], "tolerance": 0.0001, "relTolerance": 0.001 } },
"provenance": {
"notes": "M=65, K=132 and N=1025 with 4-bit weights at block_size=64: K=132 leaves a four-element partial final block, and M and N are each one past a multiple of 64. Padded codes must not reach the output."
},
"attrs": { "K": 132, "N": 1025, "bits": 4, "block_size": 64 }
},
{
"name": "q4_zero_bias_vec4_partial_tiles_m65_k132_n1025",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [65, 132],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 3, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 3],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1025, 3],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [1025],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [65, 1025], "tolerance": 0.0001 } },
"attrs": { "K": 132, "N": 1025, "bits": 4, "block_size": 64 },
"provenance": {
"notes": "M=65, K=132 and N=1025 with 4-bit weights at block_size=64: K=132 leaves a four-element partial final block, and M and N are each one past a multiple of 64. Padded codes must not reach the output."
}
},
{
"name": "q2_vec4_partial_tiles_m65_k132_n1025",
"provenance": {
"notes": "M=65, K=132 and N=1025 with 2-bit weights at block_size=32: K=132 leaves a four-element partial final block, and M and N are each one past a multiple of 64. Padded codes must not reach the output."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [65, 132],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 5, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 5],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [65, 1025], "tolerance": 0.001 } },
"attrs": { "K": 132, "N": 1025, "bits": 2, "block_size": 32 }
},
{
"name": "q8_vec4_partial_tiles_m65_k132_n1025",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [65, 132],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 5, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 5],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [65, 1025], "tolerance": 0.001 } },
"attrs": { "K": 132, "N": 1025, "bits": 8, "block_size": 32 },
"provenance": {
"notes": "M=65, K=132 and N=1025 with 8-bit weights at block_size=32: K=132 leaves a four-element partial final block, and M and N are each one past a multiple of 64. Padded codes must not reach the output."
}
},
{
"name": "q2_scalar_register_partial_tiles_m33_k65_n1025",
"provenance": {
"notes": "K=65 is odd and leaves a one-element partial final block (2-bit weights, block_size=32); M=33 and N=1025 are each one past a multiple of 32."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 65],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 3, 8],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 3],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 1025], "tolerance": 0.001 } },
"attrs": { "K": 65, "N": 1025, "bits": 2, "block_size": 32 }
},
{
"name": "q4_scalar_register_partial_tiles_m33_k65_n1025_zero_bias",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 65],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 3, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 3],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [1025, 3],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [1025],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 1025], "tolerance": 0.0001 } },
"attrs": { "K": 65, "N": 1025, "bits": 4, "block_size": 32 },
"provenance": {
"notes": "K=65 is odd and leaves a one-element partial final block (4-bit weights, block_size=32); M=33 and N=1025 are each one past a multiple of 32."
}
},
{
"name": "q8_scalar_register_partial_tiles_m33_k65_n1025",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 65],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 3, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 3],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 1025], "tolerance": 0.001 } },
"attrs": { "K": 65, "N": 1025, "bits": 8, "block_size": 32 },
"provenance": {
"notes": "K=65 is odd and leaves a one-element partial final block (8-bit weights, block_size=32); M=33 and N=1025 are each one past a multiple of 32."
}
},
{
"name": "q4_scalar_register_quant_block_smaller_than_tile_m129_k65_n1025",
"provenance": {
"notes": "4-bit weights at block_size=16 with K=65 (four whole blocks and a one-element partial block); M=129 and N=1025 are each one past a multiple of 64."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [129, 65],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 5, 8],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT" }
}
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 5],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [129, 1025], "tolerance": 0.001 } },
"attrs": { "K": 65, "N": 1025, "bits": 4, "block_size": 16 }
},
{
"name": "q4_scalar_register_quant_block_smaller_than_tile_m129_k64_n1025",
"provenance": {
"notes": "4-bit weights at block_size=16 with K=64 (four whole blocks, no reduction tail); M=129 and N=1025 are each one past a multiple of 64."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [129, 64],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1025, 4, 8],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT" }
}
},
"scalesT": {
"dtype": "float32",
"shape": [1025, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [129, 1025], "tolerance": 0.001 } },
"attrs": { "K": 64, "N": 1025, "bits": 4, "block_size": 16 }
},
{
"name": "q8_complete_reduction_row_column_tail_m48_k2561_n1021",
"provenance": {
"notes": "8-bit weights with M=48, K=2561 and N=1021 at block_size=32: K leaves a one-element partial final block (2561 = 80 x 32 + 1) and N=1021 is odd; float32 outputs."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [48, 2561],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.29, "scale": 0.2 }
},
"bT": {
"dtype": "uint8",
"shape": [1021, 81, 32],
"data": { "kind": "cycle", "values": [0, 255, 128, 1, 127, 129, 254, 17] }
},
"scalesT": {
"dtype": "float32",
"shape": [1021, 81],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [48, 1021], "tolerance": 0.001 } },
"attrs": { "K": 2561, "N": 1021, "bits": 8, "block_size": 32 }
},
{
"name": "q8_register_row_boundary_m255",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [255, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [255, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_register_row_boundary_m256",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [256, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [256, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "q8_register_row_boundary_m257",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [257, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [1024, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [1024, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [257, 1024], "tolerance": 0.001 } },
"attrs": { "K": 128, "N": 1024, "bits": 8, "block_size": 32 }
},
{
"name": "gemv_folded_odd_columns_float32_n262145",
"provenance": {
"notes": "M=1, K=32 and N=262145 (one past 2^18, an odd width) with 4-bit weights and float32 activations."
},
"attrs": { "K": 32, "N": 262145, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [1, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31, "scale": 0.2 }
},
"bT": {
"dtype": "uint8",
"shape": [262145, 1, 16],
"data": { "kind": "cycle", "values": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188] }
},
"scalesT": {
"dtype": "float32",
"shape": [262145, 1],
"data": { "kind": "fillFloat32", "sinStep": 0.011, "cosStep": 0.023, "scale": 0.04 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [1, 262145], "tolerance": 0.00002 } }
},
{
"name": "gemv_folded_odd_columns_float16_n262145",
"provenance": {
"notes": "M=1, K=32 and N=262145 (one past 2^18, an odd width) with 4-bit weights and float16 activations."
},
"attrs": { "K": 32, "N": 262145, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [1, 32],
"data": { "kind": "fillFloat32", "sinStep": 0.17, "cosStep": 0.31, "scale": 0.2 }
},
"bT": {
"dtype": "uint8",
"shape": [262145, 1, 16],
"data": { "kind": "cycle", "values": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188] }
},
"scalesT": {
"dtype": "float16",
"shape": [262145, 1],
"data": { "kind": "fillFloat32", "sinStep": 0.011, "cosStep": 0.023, "scale": 0.04 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [1, 262145], "tolerance": 0.002 } }
},
{
"name": "q4_dp4a_prefill_al4_m33_k512_n48_b64_group_sums",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 512],
"data": { "kind": "fillFloat32", "sinStep": 0.017, "cosStep": 0.027 }
},
"bT": {
"dtype": "uint8",
"shape": [48, 8, 32],
"data": { "kind": "cycle", "values": [171, 205, 46, 251, 218, 201, 31, 186, 237, 220, 154] }
},
"scalesT": { "dtype": "float32", "shape": [48, 8], "data": { "kind": "linspace", "start": 0.02, "end": 0.06 } }
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 48], "tolerance": 0.03 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "accuracy_level=4 int8 activation quantization (DP4AMatMulQuantize + DP4AMatMulNBits)",
"notes": "Partial output tiles span several activation and weight scale blocks with packed signed products."
},
"attrs": { "K": 512, "N": 48, "bits": 4, "block_size": 64, "accuracy_level": 4 }
},
{
"name": "ort_narrow_dp4a_m32_k1024_n16_b32",
"attrs": { "K": 1024, "N": 16, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [32, 1024],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_activation_cycle" } }
},
"bT": {
"dtype": "uint8",
"shape": [16, 32, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_weight_cycle" } }
},
"scalesT": {
"dtype": "float32",
"shape": [16, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_scale_cycle" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [32, 16], "tolerance": 0.00001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "Narrow-output K-parallel DP4A boundary coverage",
"notes": "Integer activations from -127 to 127 reach magnitude 127 in every 128-value group, so the int8 activation quantization permitted at accuracy level 4 is exact, and power-of-two scales (2^-5 to 2^-2) add no rounding. Expected values come from a CPU reference."
}
},
{
"name": "ort_narrow_dp4a_m33_k1152_n17_b64",
"attrs": { "K": 1152, "N": 17, "bits": 4, "block_size": 64, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 1152],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_activation_cycle" } }
},
"bT": {
"dtype": "uint8",
"shape": [17, 18, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_weight_cycle" } }
},
"scalesT": {
"dtype": "float32",
"shape": [17, 18],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_scale_cycle" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 17], "tolerance": 0.00001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "Narrow-output K-parallel DP4A boundary coverage",
"notes": "Integer activations from -127 to 127 reach magnitude 127 in every 128-value group, so the int8 activation quantization permitted at accuracy level 4 is exact, and power-of-two scales (2^-5 to 2^-2) add no rounding. Expected values come from a CPU reference."
}
},
{
"name": "ort_narrow_dp4a_m35_k2048_n32_b128",
"attrs": { "K": 2048, "N": 32, "bits": 4, "block_size": 128, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [35, 2048],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_activation_cycle" } }
},
"bT": {
"dtype": "uint8",
"shape": [32, 16, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_weight_cycle" } }
},
"scalesT": {
"dtype": "float32",
"shape": [32, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_scale_cycle" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [35, 32], "tolerance": 0.00001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "Narrow-output K-parallel DP4A boundary coverage",
"notes": "Integer activations from -127 to 127 reach magnitude 127 in every 128-value group, so the int8 activation quantization permitted at accuracy level 4 is exact, and power-of-two scales (2^-5 to 2^-2) add no rounding. Expected values come from a CPU reference."
}
},
{
"name": "ort_narrow_dp4a_m33_k4096_n48_b256",
"attrs": { "K": 4096, "N": 48, "bits": 4, "block_size": 256, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 4096],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_activation_cycle" } }
},
"bT": {
"dtype": "uint8",
"shape": [48, 16, 128],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_weight_cycle" } }
},
"scalesT": {
"dtype": "float32",
"shape": [48, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_scale_cycle" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 48], "tolerance": 0.00001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "Narrow-output K-parallel DP4A boundary coverage",
"notes": "Integer activations from -127 to 127 reach magnitude 127 in every 128-value group, so the int8 activation quantization permitted at accuracy level 4 is exact, and power-of-two scales (2^-5 to 2^-2) add no rounding. Expected values come from a CPU reference."
}
},
{
"name": "ort_narrow_dp4a_m33_k1024_n63_b32",
"attrs": { "K": 1024, "N": 63, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 1024],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_activation_cycle" } }
},
"bT": {
"dtype": "uint8",
"shape": [63, 32, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_weight_cycle" } }
},
"scalesT": {
"dtype": "float32",
"shape": [63, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/narrow_q4_scale_cycle" } }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 63], "tolerance": 0.00001 } },
"provenance": {
"source": "onnxruntime/contrib_ops/webgpu/quantization/dp4a_matmul_nbits.cc",
"test": "Narrow-output K-parallel DP4A boundary coverage",
"notes": "Integer activations from -127 to 127 reach magnitude 127 in every 128-value group, so the int8 activation quantization permitted at accuracy level 4 is exact, and power-of-two scales (2^-5 to 2^-2) add no rounding. Expected values come from a CPU reference."
}
},
{
"name": "ort_narrow_dp4a_exact_quant_overflow",
"attrs": { "K": 4096, "N": 17, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": { "dtype": "float32", "shape": [33, 4096], "data": { "kind": "cycle", "values": [127.0] } },
"bT": { "dtype": "uint8", "shape": [17, 128, 16], "data": { "kind": "cycle", "values": [255, 240, 15, 17] } },
"scalesT": { "dtype": "float32", "shape": [17, 128], "data": { "kind": "cycle", "values": [1.0, 2.0, 4.0] } }
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 17], "tolerance": 0.00001 } }
},
{
"name": "ort_narrow_dp4a_exact_quant_cancellation",
"attrs": { "K": 4096, "N": 17, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 4096],
"data": { "kind": "cycle", "values": [127.0, -127.0, 127.0, -127.0, 127.0] }
},
"bT": { "dtype": "uint8", "shape": [17, 128, 16], "data": { "kind": "cycle", "values": [255, 240, 15, 17] } },
"scalesT": { "dtype": "float32", "shape": [17, 128], "data": { "kind": "cycle", "values": [1.0, 2.0, 4.0] } }
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 17], "tolerance": 0.00001 } }
},
{
"name": "vec4_activation_k_tail_row_isolation_nan_float32",
"attrs": { "K": 132, "N": 1025, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [65, 132],
"data": { "kind": "constant", "value": 0.0, "nanStart": 132.0, "nanCount": 1.0 }
},
"bT": { "dtype": "uint8", "shape": [1025, 5, 16], "data": { "kind": "constant", "value": 136 } },
"scalesT": { "dtype": "float32", "shape": [1025, 5], "data": { "kind": "constant", "value": 1.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [65, 1025],
"data": { "kind": "constant", "value": 0.0, "nanStart": 1025.0, "nanCount": 1025.0 },
"allowNaN": true,
"tolerance": 0,
"relTolerance": 0
}
},
"provenance": {
"source": "Independent row-isolation calculation for block-quantized matrix multiplication.",
"notes": "Every code equals the default zero point 8, so every dequantized weight is zero. Row 1 holds the only nonfinite activation (NaN or +Infinity), so every output in row 1 is NaN and all other outputs are exactly zero. K=132 and K=133 leave a partial last 32-wide block, and K=133 is not a multiple of four."
}
},
{
"name": "vec4_activation_k_tail_row_isolation_inf_float32",
"attrs": { "K": 132, "N": 1025, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [65, 132],
"data": {
"kind": "values",
"values": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0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.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
},
"bT": { "dtype": "uint8", "shape": [1025, 5, 16], "data": { "kind": "constant", "value": 136 } },
"scalesT": { "dtype": "float32", "shape": [1025, 5], "data": { "kind": "constant", "value": 1.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [65, 1025],
"data": { "kind": "constant", "value": 0.0, "nanStart": 1025.0, "nanCount": 1025.0 },
"allowNaN": true,
"tolerance": 0,
"relTolerance": 0
}
},
"provenance": {
"source": "Independent row-isolation calculation for block-quantized matrix multiplication.",
"notes": "Every code equals the default zero point 8, so every dequantized weight is zero. Row 1 holds the only nonfinite activation (NaN or +Infinity), so every output in row 1 is NaN and all other outputs are exactly zero. K=132 and K=133 leave a partial last 32-wide block, and K=133 is not a multiple of four."
}
},
{
"name": "vec4_activation_k_tail_row_isolation_nan_float16",
"attrs": { "K": 132, "N": 1025, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [65, 132],
"data": { "kind": "constant", "value": 0.0, "nanStart": 132.0, "nanCount": 1.0 }
},
"bT": { "dtype": "uint8", "shape": [1025, 5, 16], "data": { "kind": "constant", "value": 136 } },
"scalesT": { "dtype": "float16", "shape": [1025, 5], "data": { "kind": "constant", "value": 1.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [65, 1025],
"data": { "kind": "constant", "value": 0.0, "nanStart": 1025.0, "nanCount": 1025.0 },
"allowNaN": true,
"tolerance": 0,
"relTolerance": 0
}
},
"provenance": {
"source": "Independent row-isolation calculation for block-quantized matrix multiplication.",
"notes": "Every code equals the default zero point 8, so every dequantized weight is zero. Row 1 holds the only nonfinite activation (NaN or +Infinity), so every output in row 1 is NaN and all other outputs are exactly zero. K=132 and K=133 leave a partial last 32-wide block, and K=133 is not a multiple of four."
}
},
{
"name": "scalar_activation_k_tail_row_isolation_nan_float32",
"attrs": { "K": 133, "N": 1025, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [65, 133],
"data": { "kind": "constant", "value": 0.0, "nanStart": 133.0, "nanCount": 1.0 }
},
"bT": { "dtype": "uint8", "shape": [1025, 5, 16], "data": { "kind": "constant", "value": 136 } },
"scalesT": { "dtype": "float32", "shape": [1025, 5], "data": { "kind": "constant", "value": 1.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [65, 1025],
"data": { "kind": "constant", "value": 0.0, "nanStart": 1025.0, "nanCount": 1025.0 },
"allowNaN": true,
"tolerance": 0,
"relTolerance": 0
}
},
"provenance": {
"source": "Independent row-isolation calculation for block-quantized matrix multiplication.",
"notes": "Every code equals the default zero point 8, so every dequantized weight is zero. Row 1 holds the only nonfinite activation (NaN or +Infinity), so every output in row 1 is NaN and all other outputs are exactly zero. K=132 and K=133 leave a partial last 32-wide block, and K=133 is not a multiple of four."
}
},
{
"name": "scalar_activation_k_tail_row_isolation_nan_float16",
"attrs": { "K": 133, "N": 1025, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [65, 133],
"data": { "kind": "constant", "value": 0.0, "nanStart": 133.0, "nanCount": 1.0 }
},
"bT": { "dtype": "uint8", "shape": [1025, 5, 16], "data": { "kind": "constant", "value": 136 } },
"scalesT": { "dtype": "float16", "shape": [1025, 5], "data": { "kind": "constant", "value": 1.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [65, 1025],
"data": { "kind": "constant", "value": 0.0, "nanStart": 1025.0, "nanCount": 1025.0 },
"allowNaN": true,
"tolerance": 0,
"relTolerance": 0
}
},
"provenance": {
"source": "Independent row-isolation calculation for block-quantized matrix multiplication.",
"notes": "Every code equals the default zero point 8, so every dequantized weight is zero. Row 1 holds the only nonfinite activation (NaN or +Infinity), so every output in row 1 is NaN and all other outputs are exactly zero. K=132 and K=133 leave a partial last 32-wide block, and K=133 is not a multiple of four."
}
},
{
"name": "q4_f16_packed_zero_only_tails_m77_k256_n72_b32",
"provenance": {
"notes": "Half activations with float16 zero points from 6 to 10 over 32-wide blocks: M=77 and N=72 leave a 13-row tail and an 8-column tail past 64, and nothing beyond row 77 or column 72 may leak into the stored output."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [77, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [72, 8, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [72, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [72, 8],
"data": { "kind": "cycle", "values": [7.0, 8.0, 9.0, 6.0, 10.0] }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [77, 72], "tolerance": 0.05 } },
"attrs": { "K": 256, "N": 72, "bits": 4, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_bias_rank3_m130_k512_n200_b128",
"provenance": {
"notes": "Rank-3 half activations [1,130,512] fold to 130 rows against default-zero 4-bit codes in 128-wide blocks plus a per-column bias; M=130 leaves a two-row tail past 128 and N=200 leaves eight columns past 192."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [1, 130, 512],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [200, 4, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [200, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float16",
"shape": [200],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.13, "scale": 0.5 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [1, 130, 200], "tolerance": 0.05 } },
"attrs": { "K": 512, "N": 200, "bits": 4, "block_size": 128, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_zero_bias_m96_k384_n136_b64",
"provenance": {
"notes": "Float16 zero points from 6 to 10 and a bias together over 64-wide blocks with half activations; M=96 and N=136 are multiples of neither 64 nor 128, leaving partial row and column tails."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [96, 384],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [136, 6, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [136, 6],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [136, 6],
"data": { "kind": "cycle", "values": [7.0, 8.0, 9.0, 6.0, 10.0] }
},
"biasT": {
"dtype": "float16",
"shape": [136],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.13, "scale": 0.5 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [96, 136], "tolerance": 0.05 } },
"attrs": { "K": 384, "N": 136, "bits": 4, "block_size": 64, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_splitk_tail_m9_k1024_n96_b32",
"provenance": {
"notes": "Nine half activation rows over a long K=1024 reduction: thirty-two 32-wide blocks of default-zero 4-bit codes, no bias, N=96."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 1024],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.19, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [96, 32, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [96, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [9, 96], "tolerance": 0.02 } },
"attrs": { "K": 1024, "N": 96, "bits": 4, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_splitk_zero_bias_m37_k768_n208_b64",
"provenance": {
"notes": "Half activations with float16 zero points from 6 to 10 and a bias over twelve 64-wide blocks (K=768), M=37 and N=208; the bias must be added exactly once to each output."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [37, 768],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.19, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [208, 12, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [208, 12],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [208, 12],
"data": { "kind": "cycle", "values": [7.0, 8.0, 9.0, 6.0, 10.0] }
},
"biasT": {
"dtype": "float16",
"shape": [208],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.05, "scale": 0.2 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [37, 208], "tolerance": 0.05 } },
"attrs": { "K": 768, "N": 208, "bits": 4, "block_size": 64, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_splitk_uneven_rank3_m48_k416_n64_b32",
"provenance": {
"notes": "Rank-3 half activations [2,24,416] fold to 48 rows; K=416 spans thirteen 32-wide blocks of default-zero 4-bit codes, N=64, no bias."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [2, 24, 416],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.19, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 13, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [64, 13],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [2, 24, 64], "tolerance": 0.05 } },
"attrs": { "K": 416, "N": 64, "bits": 4, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_splitk_zero_only_m24_k512_n80_b32",
"provenance": {
"notes": "Half activations with float16 zero points from 6 to 10 over sixteen 32-wide blocks (K=512) and no bias; M=24, and N=80 leaves a 16-column tail past 64."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [24, 512],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.19, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [80, 16, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [80, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [80, 16],
"data": { "kind": "cycle", "values": [7.0, 8.0, 9.0, 6.0, 10.0] }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [24, 80], "tolerance": 0.02 } },
"attrs": { "K": 512, "N": 80, "bits": 4, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_f16_packed_splitk_bias_only_m40_k640_n112_b128",
"provenance": {
"notes": "Half activations with a bias and no zero points: K=640 spans five 128-wide blocks of default-zero 4-bit codes, M=40 and N=112, and the bias must be added exactly once to each output."
},
"inputs": {
"aT": {
"dtype": "float16",
"shape": [40, 640],
"data": { "kind": "fillFloat32", "sinStep": 0.13, "cosStep": 0.19, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [112, 5, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/mixed_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [112, 5],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float16",
"shape": [112],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.05, "scale": 0.2 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [40, 112], "tolerance": 0.02 } },
"attrs": { "K": 640, "N": 112, "bits": 4, "block_size": 128, "accuracy_level": 2 }
},
{
"name": "q2_packed_default_zero_f16_m80_k512_n192_block64",
"provenance": {
"notes": "Half activations against 2-bit codes (four per byte) with the default zero point 2, 64-wide blocks and no bias; M=80 leaves a 16-row tail past 64."
},
"attrs": { "K": 512, "N": 192, "bits": 2, "block_size": 64 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [80, 512],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [192, 8, 16],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float16",
"shape": [192, 8],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [80, 192], "tolerance": 0.01, "relTolerance": 0.01 } }
},
{
"name": "q2_packed_zero_bias_f16_m96_k384_n128_block128",
"provenance": {
"notes": "Half activations against 2-bit codes with float16 zero points from 0 to 3 and a bias, over three 128-wide blocks (K=384); M=96, N=128."
},
"attrs": { "K": 384, "N": 128, "bits": 2, "block_size": 128 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [96, 384],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.25 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 3, 32],
"data": { "kind": "cycle", "values": [27, 180, 75, 226, 33, 150, 201, 108, 57, 246, 129, 66, 195, 84, 237] }
},
"scalesT": {
"dtype": "float16",
"shape": [128, 3],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07] }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [128, 3],
"data": { "kind": "cycle", "values": [1.0, 2.0, 3.0, 0.0, 2.0] }
},
"biasT": {
"dtype": "float16",
"shape": [128],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [96, 128], "tolerance": 0.01, "relTolerance": 0.01 } }
},
{
"name": "q4_f32_native_weight_overflow_default_accuracy_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 128], "data": { "kind": "cycle", "values": [1.0] } },
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": { "dtype": "float32", "shape": [64, 4], "data": { "kind": "constant", "value": 1048576.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "constant", "value": 134217728.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^20, so each weight is 2^20 and 128 unit terms sum exactly to 2^27. Narrowing the 2^20 weight to half would overflow."
}
},
{
"name": "q4_f32_native_weight_overflow_accuracy1_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 128], "data": { "kind": "cycle", "values": [1.0] } },
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": { "dtype": "float32", "shape": [64, 4], "data": { "kind": "constant", "value": 1048576.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "constant", "value": 134217728.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^20, so each weight is 2^20 and 128 unit terms sum exactly to 2^27. Narrowing the 2^20 weight to half would overflow."
}
},
{
"name": "q4_f32_native_weight_underflow_default_accuracy_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 128], "data": { "kind": "cycle", "values": [1.0] } },
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "constant", "value": 9.313225746154785e-10 }
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "constant", "value": 1.1920928955078125e-7 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^-30, so each weight is 2^-30 and 128 unit terms sum exactly to 2^-23. Converting the weight to half would underflow to zero."
}
},
{
"name": "q4_f32_native_weight_underflow_accuracy1_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 128], "data": { "kind": "cycle", "values": [1.0] } },
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "constant", "value": 9.313225746154785e-10 }
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "constant", "value": 1.1920928955078125e-7 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^-30, so each weight is 2^-30 and 128 unit terms sum exactly to 2^-23. Converting the weight to half would underflow to zero."
}
},
{
"name": "q4_f32_native_omitted_low_low_cancellation_default_accuracy_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 128], "data": { "kind": "cycle", "values": [1.00048828125, 1.0] } },
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 121 } },
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": {
"kind": "cycle",
"values": [1.00048828125, 1.00048828125, 1.00048828125, 1.00048828125, 2.0009765625, 2.0009765625, 2.0009765625, 2.0009765625]
}
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "cycle", "values": [0.0312652587890625, 0.062530517578125] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Codes alternate 9 and 7 (default zero point 8) under activations alternating 1+2^-11 and 1; even columns use scale 1+2^-11 and odd columns twice that, giving exact outputs 2^-5+2^-16 and twice that, with every in-order float32 prefix sum exact. Dropping the 2^-11 x 2^-11 cross terms would lose 2^-16 in the even columns."
}
},
{
"name": "q4_f32_native_omitted_low_low_cancellation_accuracy1_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 128], "data": { "kind": "cycle", "values": [1.00048828125, 1.0] } },
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 121 } },
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": {
"kind": "cycle",
"values": [1.00048828125, 1.00048828125, 1.00048828125, 1.00048828125, 2.0009765625, 2.0009765625, 2.0009765625, 2.0009765625]
}
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "cycle", "values": [0.0312652587890625, 0.062530517578125] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Codes alternate 9 and 7 (default zero point 8) under activations alternating 1+2^-11 and 1; even columns use scale 1+2^-11 and odd columns twice that, giving exact outputs 2^-5+2^-16 and twice that, with every in-order float32 prefix sum exact. Dropping the 2^-11 x 2^-11 cross terms would lose 2^-16 in the even columns."
}
},
{
"name": "q4_f32_native_activation_row_dynamic_range_default_accuracy_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [64, 128],
"data": { "kind": "cycle", "values": [1048576.0, 9.094947017729282e-13] }
},
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 152 } },
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0] }
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "cycle", "values": [5.820766091346741e-11, 1.1641532182693481e-10] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Activations alternate 2^20 and 2^-40 while codes alternate 8 and 9 (default zero point 8), so the large activations meet zero weights and the 64 terms of 2^-40 sum exactly to 2^-34; odd columns double the scale and the result. Each row spans a 2^60 magnitude range, and every float32 prefix sum is exact."
}
},
{
"name": "q4_f32_native_activation_row_dynamic_range_accuracy1_m64_k128_n64",
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [64, 128],
"data": { "kind": "cycle", "values": [1048576.0, 9.094947017729282e-13] }
},
"bT": { "dtype": "uint8", "shape": [64, 4, 16], "data": { "kind": "constant", "value": 152 } },
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 2.0, 2.0] }
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 64],
"data": { "kind": "cycle", "values": [5.820766091346741e-11, 1.1641532182693481e-10] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Activations alternate 2^20 and 2^-40 while codes alternate 8 and 9 (default zero point 8), so the large activations meet zero weights and the 64 terms of 2^-40 sum exactly to 2^-34; odd columns double the scale and the result. Each row spans a 2^60 magnitude range, and every float32 prefix sum is exact."
}
},
{
"name": "q4_f32_native_compensated_weight_underflow_accuracy0_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 0 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 256], "data": { "kind": "cycle", "values": [1048576.0] } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float32",
"shape": [128, 8],
"data": { "kind": "constant", "value": 9.313225746154785e-10 }
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 128],
"data": { "kind": "constant", "value": 0.25 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^-30, so each weight is 2^-30; all 256 products 2^20 x 2^-30 are exactly 2^-10 and sum to one quarter. Converting the weight to half would underflow before the large activation can compensate."
}
},
{
"name": "q4_f32_native_compensated_weight_underflow_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 256], "data": { "kind": "cycle", "values": [1048576.0] } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float32",
"shape": [128, 8],
"data": { "kind": "constant", "value": 9.313225746154785e-10 }
}
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 128],
"data": { "kind": "constant", "value": 0.25 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^-30, so each weight is 2^-30; all 256 products 2^20 x 2^-30 are exactly 2^-10 and sum to one quarter. Converting the weight to half would underflow before the large activation can compensate."
}
},
{
"name": "q4_f32_native_compensated_weight_overflow_accuracy0_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 0 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 256], "data": { "kind": "cycle", "values": [9.5367431640625e-7] } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": { "dtype": "float32", "shape": [128, 8], "data": { "kind": "constant", "value": 1048576.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 128],
"data": { "kind": "constant", "value": 256.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^20, so each weight is 2^20; all 256 products 2^-20 x 2^20 are exactly one and sum to 256. Converting the weight to half would exceed its finite range before the small activation can compensate."
}
},
{
"name": "q4_f32_native_compensated_weight_overflow_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float32", "shape": [64, 256], "data": { "kind": "cycle", "values": [9.5367431640625e-7] } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": { "dtype": "float32", "shape": [128, 8], "data": { "kind": "constant", "value": 1048576.0 } }
},
"outputs": {
"yT": {
"dtype": "float32",
"shape": [64, 128],
"data": { "kind": "constant", "value": 256.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits range and cancellation reference.",
"notes": "Every code is 9 (default zero point 8) with scale 2^20, so each weight is 2^20; all 256 products 2^-20 x 2^20 are exactly one and sum to 256. Converting the weight to half would exceed its finite range before the small activation can compensate."
}
},
{
"name": "q4_half_native_short_reduction_range_control_default_accuracy_m64_k128_n128",
"attrs": { "K": 128, "N": 128, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 128], "data": { "kind": "constant", "value": 0.0009765625 } },
"bT": { "dtype": "uint8", "shape": [128, 4, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": { "dtype": "float16", "shape": [128, 4], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": 28672.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 15 with the default zero point 8 and scale 2^15 decodes in float32 to 7 x 2^15, beyond the half range; activations 2^-10 make each term 224, and the K=128 sum 28672 and every float32 prefix sum are exact. Rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q4_half_native_short_reduction_range_control_accuracy1_m64_k128_n128",
"attrs": { "K": 128, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 128], "data": { "kind": "constant", "value": 0.0009765625 } },
"bT": { "dtype": "uint8", "shape": [128, 4, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": { "dtype": "float16", "shape": [128, 4], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": 28672.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 15 with the default zero point 8 and scale 2^15 decodes in float32 to 7 x 2^15, beyond the half range; activations 2^-10 make each term 224, and the K=128 sum 28672 and every float32 prefix sum are exact. Rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q4_half_native_selected_splitk_weight_overflow_default_accuracy_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 0.00048828125 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": 28672.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 15 with the default zero point 8 and scale 2^15 decodes in float32 to 7 x 2^15, beyond the half range; activations 2^-11 make each term 112, and the K=256 sum 28672 and every float32 prefix sum are exact. Rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q4_half_native_selected_splitk_weight_overflow_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 0.00048828125 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 255 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": 28672.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 15 with the default zero point 8 and scale 2^15 decodes in float32 to 7 x 2^15, beyond the half range; activations 2^-11 make each term 112, and the K=256 sum 28672 and every float32 prefix sum are exact. Rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q4_half_native_selected_splitk_weight_underflow_fractional_zero_default_accuracy_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 32768.0 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float16",
"shape": [128, 8],
"data": { "kind": "constant", "value": 5.960464477539063e-8 }
},
"zeroPointsT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 8.5 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": 0.25 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 9 with zero point 8.5 and scale 2^-24 decodes in float32 to 2^-25, below the smallest half subnormal; activations 2^15 make each term 2^-10, and the K=256 sum 0.25 and every float32 prefix sum are exact. Rounding the decoded weight to half first would flush it to zero."
}
},
{
"name": "q4_half_native_selected_splitk_weight_underflow_fractional_zero_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 32768.0 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float16",
"shape": [128, 8],
"data": { "kind": "constant", "value": 5.960464477539063e-8 }
},
"zeroPointsT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 8.5 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": 0.25 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 9 with zero point 8.5 and scale 2^-24 decodes in float32 to 2^-25, below the smallest half subnormal; activations 2^15 make each term 2^-10, and the K=256 sum 0.25 and every float32 prefix sum are exact. Rounding the decoded weight to half first would flush it to zero."
}
},
{
"name": "q4_half_native_selected_onepass_weight_overflow_default_accuracy_m32_k16_n8192",
"attrs": { "K": 16, "N": 8192, "bits": 4, "block_size": 16 },
"inputs": {
"aT": { "dtype": "float16", "shape": [32, 16], "data": { "kind": "constant", "value": 0.0009765625 } },
"bT": { "dtype": "uint8", "shape": [8192, 1, 8], "data": { "kind": "constant", "value": 255 } },
"scalesT": { "dtype": "float16", "shape": [8192, 1], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [32, 8192],
"data": { "kind": "constant", "value": 3584.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 15 with the default zero point 8 and scale 2^15 decodes in float32 to 7 x 2^15, beyond the half range; activations 2^-10 make each term 224, and the K=16 sum 3584 and every float32 prefix sum are exact in all 8192 columns. Rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q4_half_native_selected_onepass_weight_overflow_accuracy1_m32_k16_n8192",
"attrs": { "K": 16, "N": 8192, "bits": 4, "block_size": 16, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [32, 16], "data": { "kind": "constant", "value": 0.0009765625 } },
"bT": { "dtype": "uint8", "shape": [8192, 1, 8], "data": { "kind": "constant", "value": 255 } },
"scalesT": { "dtype": "float16", "shape": [8192, 1], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [32, 8192],
"data": { "kind": "constant", "value": 3584.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic half-storage MatMulNBits dequantization range reference.",
"notes": "All inputs and outputs are exact half values. Code 15 with the default zero point 8 and scale 2^15 decodes in float32 to 7 x 2^15, beyond the half range; activations 2^-10 make each term 224, and the K=16 sum 3584 and every float32 prefix sum are exact in all 8192 columns. Rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q4_half_native_all_normal_input_weight_underflow_accuracy0_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 0 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 16384.0 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 0 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 0.00006103515625 } },
"zeroPointsT": {
"dtype": "float16",
"shape": [128, 8],
"data": { "kind": "constant", "value": 0.00006103515625 }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": -0.015625 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent all-normal half-input dyadic MatMulNBits dequantization-range reference.",
"notes": "Every floating input is a normal half value: code 0 minus zero point 2^-14, times scale 2^-14, gives the exact float32 weight -2^-28. Times activation 2^14 each term is -2^-14, and the 256 terms sum to -2^-6, a normal half output, with every float32 prefix sum exact; dequantizing to half first would flush the weight to zero."
}
},
{
"name": "q4_half_native_all_normal_input_weight_underflow_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 16384.0 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 0 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 0.00006103515625 } },
"zeroPointsT": {
"dtype": "float16",
"shape": [128, 8],
"data": { "kind": "constant", "value": 0.00006103515625 }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": -0.015625 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent all-normal half-input dyadic MatMulNBits dequantization-range reference.",
"notes": "Every floating input is a normal half value: code 0 minus zero point 2^-14, times scale 2^-14, gives the exact float32 weight -2^-28. Times activation 2^14 each term is -2^-14, and the 256 terms sum to -2^-6, a normal half output, with every float32 prefix sum exact; dequantizing to half first would flush the weight to zero."
}
},
{
"name": "q2_half_native_overflow_accuracy0_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 2, "block_size": 32, "accuracy_level": 0 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 0.00048828125 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 8], "data": { "kind": "constant", "value": 0 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": -8192.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic two-bit MatMulNBits decoded-range reference.",
"notes": "All floating inputs and outputs are normal half values. Two-bit code 0 with the default zero point 2 and scale 2^15 decodes in float32 to -65536, beyond the half range; activations 2^-11 make each term -32, and the K=256 sum -8192 and every float32 prefix sum are exact, so rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q2_half_native_normal_underflow_accuracy0_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 2, "block_size": 32, "accuracy_level": 0 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 16384.0 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 8], "data": { "kind": "constant", "value": 0 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 0.00006103515625 } },
"zeroPointsT": {
"dtype": "float16",
"shape": [128, 8],
"data": { "kind": "constant", "value": 0.00006103515625 }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": -0.015625 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic two-bit MatMulNBits decoded-range reference.",
"notes": "All floating inputs and outputs are normal half values. Two-bit code 0 with zero point 2^-14 and scale 2^-14 decodes in float32 to -2^-28, below the half range; activations 2^14 make each term -2^-14, and the K=256 sum -2^-6 and every float32 prefix sum are exact, so rounding the decoded weight to half first would flush it to zero."
}
},
{
"name": "q2_half_native_overflow_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 2, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 0.00048828125 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 8], "data": { "kind": "constant", "value": 0 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 32768.0 } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": -8192.0 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic two-bit MatMulNBits decoded-range reference.",
"notes": "All floating inputs and outputs are normal half values. Two-bit code 0 with the default zero point 2 and scale 2^15 decodes in float32 to -65536, beyond the half range; activations 2^-11 make each term -32, and the K=256 sum -8192 and every float32 prefix sum are exact, so rounding the decoded weight to half first would overflow it."
}
},
{
"name": "q2_half_native_normal_underflow_accuracy1_m64_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 2, "block_size": 32, "accuracy_level": 1 },
"inputs": {
"aT": { "dtype": "float16", "shape": [64, 256], "data": { "kind": "constant", "value": 16384.0 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 8], "data": { "kind": "constant", "value": 0 } },
"scalesT": { "dtype": "float16", "shape": [128, 8], "data": { "kind": "constant", "value": 0.00006103515625 } },
"zeroPointsT": {
"dtype": "float16",
"shape": [128, 8],
"data": { "kind": "constant", "value": 0.00006103515625 }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "constant", "value": -0.015625 },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic two-bit MatMulNBits decoded-range reference.",
"notes": "All floating inputs and outputs are normal half values. Two-bit code 0 with zero point 2^-14 and scale 2^-14 decodes in float32 to -2^-28, below the half range; activations 2^14 make each term -2^-14, and the K=256 sum -2^-6 and every float32 prefix sum are exact, so rounding the decoded weight to half first would flush it to zero."
}
},
{
"name": "q2_half_native_mixed_n_tile_ranges_m65_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 2, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [65, 256], "data": { "kind": "constant", "value": 0.00006103515625 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 8], "data": { "kind": "constant", "value": 0 } },
"scalesT": {
"dtype": "float16",
"shape": [128, 8],
"data": {
"kind": "cycle",
"values": [32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 32768.0, 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5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5]
}
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [65, 128],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q2_half_native_mixed_n_tile_ranges_m65_k256_n128_output_yT" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits reference for mixed column ranges and a row tail.",
"notes": "Code 0 with the default zero point decodes to -65536 in columns 0-63, beyond the half range, and to -1 in columns 64-127; activations 2^-14 over K=256 give exact outputs -1024 and -2^-6. M=65 leaves a one-row tail past 64, and every input, output and float32 prefix sum is an exact normal value."
}
},
{
"name": "q4_half_native_mixed_n_tile_ranges_m65_k256_n128",
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32 },
"inputs": {
"aT": { "dtype": "float16", "shape": [65, 256], "data": { "kind": "constant", "value": 0.00006103515625 } },
"bT": { "dtype": "uint8", "shape": [128, 8, 16], "data": { "kind": "constant", "value": 0 } },
"scalesT": {
"dtype": "float16",
"shape": [128, 8],
"data": {
"kind": "cycle",
"values": [8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 8192.0, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125, 0.125]
}
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [65, 128],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q2_half_native_mixed_n_tile_ranges_m65_k256_n128_output_yT" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
},
"provenance": {
"source": "Independent exact dyadic MatMulNBits reference for mixed column ranges and a row tail.",
"notes": "Code 0 with the default zero point decodes to -65536 in columns 0-63, beyond the half range, and to -1 in columns 64-127; activations 2^-14 over K=256 give exact outputs -1024 and -2^-6. M=65 leaves a one-row tail past 64, and every input, output and float32 prefix sum is an exact normal value."
}
},
{
"name": "q4_f32_accuracy2_native_default_zero_normal_m64_k128_n64",
"provenance": {
"notes": "A compact q4 prefill with block_size=64 (K=128, so two blocks per column), N=64, M=64 and the default zero point."
},
"inputs": {
"aT": {
"shape": [64, 128],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"shape": [64, 2, 32],
"dtype": "uint8",
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"shape": [64, 2],
"dtype": "float32",
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [64, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 64, "accuracy_level": 2 }
},
{
"name": "q4_f32_accuracy2_native_zero_bias_normal_m128_k128_n64",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_f32_accuracy2_native_zero_only_normal_m128_k128_n64",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_f32_accuracy2_native_bias_only_normal_m128_k128_n64",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "block_size": 32, "accuracy_level": 2 }
},
{
"name": "q4_default_full_dequant_m9_k16_n8_zero_exact",
"provenance": {
"source": "Independent full-f32 block dequantization formula.",
"notes": "Activations (7, -5), or (14, -10) on alternate rows, start each 16-wide block. Even columns cancel 7 x (5 x scale) - 5 x (7 x scale) exactly to zero before any bias; odd columns use code 9 and dyadic scale 0.125. Rounding decoded weights to half first leaves the even columns nonzero."
},
"attrs": { "K": 16, "N": 8, "bits": 4, "block_size": 16 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_a" } }
},
"bT": {
"dtype": "uint8",
"shape": [8, 1, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_b" } }
},
"scalesT": {
"dtype": "float16",
"shape": [8, 1],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_scales" } }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 8],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_zero_exact_expected" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_default_full_dequant_m9_k16_n8_bias_exact",
"provenance": {
"source": "Independent full-f32 block dequantization formula.",
"notes": "Activations (7, -5), or (14, -10) on alternate rows, start each 16-wide block. Even columns cancel 7 x (5 x scale) - 5 x (7 x scale) exactly to zero before any bias; odd columns use code 9 and dyadic scale 0.125. Rounding decoded weights to half first leaves the even columns nonzero."
},
"attrs": { "K": 16, "N": 8, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_a" } }
},
"bT": {
"dtype": "uint8",
"shape": [8, 1, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_b" } }
},
"scalesT": {
"dtype": "float16",
"shape": [8, 1],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_scales" } }
},
"biasT": { "dtype": "float16", "shape": [8], "data": { "kind": "cycle", "values": [0.0, 0.125, 0.25, -0.125] } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 8],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m9_k16_n8_bias_exact_expected" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_default_full_dequant_m64_k64_n64_zero_exact",
"provenance": {
"source": "Independent full-f32 block dequantization formula.",
"notes": "Activations (7, -5), or (14, -10) on alternate rows, start each 16-wide block. Even columns cancel 7 x (5 x scale) - 5 x (7 x scale) exactly to zero before any bias; odd columns use code 9 and dyadic scale 0.125. Rounding decoded weights to half first leaves the even columns nonzero."
},
"attrs": { "K": 64, "N": 64, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [64, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_a" } }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_b" } }
},
"scalesT": {
"dtype": "float16",
"shape": [64, 4],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_scales" }
}
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 64],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_zero_exact_expected" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_default_full_dequant_m64_k64_n64_bias_exact",
"provenance": {
"source": "Independent full-f32 block dequantization formula.",
"notes": "Activations (7, -5), or (14, -10) on alternate rows, start each 16-wide block. Even columns cancel 7 x (5 x scale) - 5 x (7 x scale) exactly to zero before any bias; odd columns use code 9 and dyadic scale 0.125. Rounding decoded weights to half first leaves the even columns nonzero."
},
"attrs": { "K": 64, "N": 64, "bits": 4, "block_size": 16 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [64, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_a" } }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_b" } }
},
"scalesT": {
"dtype": "float16",
"shape": [64, 4],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_scales" }
}
},
"biasT": {
"dtype": "float16",
"shape": [64],
"data": { "kind": "cycle", "values": [0.0, 0.125, 0.25, -0.125] }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 64],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_default_full_dequant_m64_k64_n64_bias_exact_expected" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_two_part_full_weight_rounding_m9",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "Activations 1 and -1 select codes 13 and 15 (default zero point 8), so each output is exactly 5 x scale - 7 x scale = -2 x scale for column scales of plus or minus 1+2^-10 and 1+3 x 2^-10; rounding each decoded weight to half first changes the answer. Nine rows; every input is normal or zero."
},
"attrs": { "K": 16, "N": 128, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 16],
"data": {
"kind": "cycle",
"values": [1.0, -1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
},
"bT": {
"dtype": "uint8",
"shape": [128, 1, 8],
"data": { "kind": "cycle", "values": [253, 136, 136, 136, 136, 136, 136, 136] }
},
"scalesT": {
"dtype": "float16",
"shape": [128, 1],
"data": { "kind": "cycle", "values": [1.0009765625, 1.0029296875, -1.0009765625, -1.0029296875] }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 128],
"data": { "kind": "cycle", "values": [-2.001953125, -2.005859375, 2.001953125, 2.005859375] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_two_part_subnormal_activation_onehot_m64",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "One activation per row is the smallest positive half subnormal, 2^-24; times decoded weights -8 x 2048, -8 x 1024, -8 x 512 and -8 x 256 (code 0, default zero point 8) it gives four distinct exact normal-half outputs, so the subnormal must not be flushed to zero."
},
"attrs": { "K": 16, "N": 128, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [64, 16],
"data": {
"kind": "cycle",
"values": [5.960464477539063e-8, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
},
"bT": { "dtype": "uint8", "shape": [128, 1, 8], "data": { "kind": "cycle", "values": [0] } },
"scalesT": {
"dtype": "float16",
"shape": [128, 1],
"data": { "kind": "cycle", "values": [2048.0, 1024.0, 512.0, 256.0] }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "cycle", "values": [-0.0009765625, -0.00048828125, -0.000244140625, -0.0001220703125] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_two_part_infinite_activation_nonzero_weight_m9",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "Each row is +Infinity followed by zeros, against code 9 (default zero point 8) with column scales alternating 0.04 and -0.04, so outputs alternate +Infinity and -Infinity and none may become NaN."
},
"attrs": { "K": 16, "N": 128, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 16],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_two_part_infinite_activation_nonzero_weight_m9_input_aT" }
}
},
"bT": { "dtype": "uint8", "shape": [128, 1, 8], "data": { "kind": "cycle", "values": [153] } },
"scalesT": { "dtype": "float16", "shape": [128, 1], "data": { "kind": "cycle", "values": [0.04, -0.04] } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 128],
"data": { "kind": "cycle", "values": ["Infinity", "-Infinity"] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_two_part_infinite_activation_zero_scale_m9",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "Each row is +Infinity followed by zeros, against code 9 (default zero point 8) with column scales alternating 0 and 1: Infinity x 0 makes the zero-scale columns NaN, which must not be replaced, while the unit-scale columns are +Infinity."
},
"attrs": { "K": 16, "N": 128, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 16],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_two_part_infinite_activation_nonzero_weight_m9_input_aT" }
}
},
"bT": { "dtype": "uint8", "shape": [128, 1, 8], "data": { "kind": "cycle", "values": [153] } },
"scalesT": { "dtype": "float16", "shape": [128, 1], "data": { "kind": "cycle", "values": [0.0, 1.0] } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 128],
"data": { "kind": "cycle", "values": ["NaN", "Infinity"] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true,
"allowNaN": true
}
}
},
{
"name": "q4_two_part_infinite_scale_m9",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "Every activation (1) and every code minus zero point (9 - 8) is positive and nonzero, so the +Infinity scale makes every output +Infinity."
},
"attrs": { "K": 16, "N": 128, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": { "dtype": "float16", "shape": [9, 16], "data": { "kind": "cycle", "values": [1.0] } },
"bT": { "dtype": "uint8", "shape": [128, 1, 8], "data": { "kind": "cycle", "values": [153] } },
"scalesT": { "dtype": "float16", "shape": [128, 1], "data": { "kind": "cycle", "values": ["Infinity"] } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 128],
"data": { "kind": "cycle", "values": ["Infinity"] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_two_part_normalized_activation_at_limit_m9",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "One activation per row is 63.96875, which times 2^10 is exactly the largest finite half 65504, against code 9 (default zero point 8); column scales cycle 1, 0.5, 0.25 and 2, giving four distinct exact outputs that expose column-index errors."
},
"attrs": { "K": 16, "N": 128, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [9, 16],
"data": {
"kind": "cycle",
"values": [63.96875, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
},
"bT": { "dtype": "uint8", "shape": [128, 1, 8], "data": { "kind": "cycle", "values": [153] } },
"scalesT": {
"dtype": "float16",
"shape": [128, 1],
"data": { "kind": "cycle", "values": [1.0, 0.5, 0.25, 2.0] }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [9, 128],
"data": { "kind": "cycle", "values": [63.96875, 31.984375, 15.9921875, 127.9375] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_preclass_row16_tail_activation_boundary_m17_k16_n80",
"provenance": {
"source": "Independent dyadic matrix multiplication formula.",
"notes": "Rows 0-15 hold activation 0.5 and row 16 holds 64, each in the first position, against code 9 (default zero point 8) and scale 0.5, giving exact outputs 0.25 and 32; the large activation sits only in the one-row tail past 16 rows."
},
"attrs": { "K": 16, "N": 80, "bits": 4, "block_size": 16 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [17, 16],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/q4_preclass_row16_tail_activation_boundary_m17_k16_n80_aT" }
}
},
"bT": {
"dtype": "uint8",
"shape": [80, 1, 8],
"data": { "kind": "cycle", "values": [137, 136, 136, 136, 136, 136, 136, 136] }
},
"scalesT": { "dtype": "float16", "shape": [80, 1], "data": { "kind": "cycle", "values": [0.5] } }
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [17, 80],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/q4_preclass_row16_tail_activation_boundary_m17_k16_n80_yT" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_preclass_col64_tail_scale_boundary_m17_k16_n80",
"provenance": {
"source": "Independent dyadic matrix multiplication formula.",
"notes": "Activation 0.5 meets code 0 (default zero point 8), so each output is -4 x scale: -2 for scale 0.5, and -32768 in column 64, whose scale 8192 decodes to -65536, beyond the half range. Column 64 is the first of the 16 columns past 64; all outputs are exact."
},
"attrs": { "K": 16, "N": 80, "bits": 4, "block_size": 16 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [17, 16],
"data": {
"kind": "cycle",
"values": [0.5, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
},
"bT": {
"dtype": "uint8",
"shape": [80, 1, 8],
"data": { "kind": "cycle", "values": [128, 136, 136, 136, 136, 136, 136, 136] }
},
"scalesT": {
"dtype": "float16",
"shape": [80, 1],
"data": {
"kind": "values",
"values": { "$ref": "#/fixtureArrays/q4_preclass_col64_tail_scale_boundary_m17_k16_n80_scalesT" }
}
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [17, 80],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_preclass_col64_tail_scale_boundary_m17_k16_n80_yT" }
},
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_local_compensated_segment_tail_m17_k528_n80",
"provenance": {
"source": "Independent dyadic block-quantized matrix multiplication formula.",
"notes": "Activations alternate +1 and -1, so most 16-wide blocks sum to zero, but blocks 15 and 31 (counting from 0) and the final block past K=512 leave 0.5, 0.25 and 0.125. With code 9 (default zero point 8) and column scales cycling 0.5, -0.5, 1 and -1, outputs are exactly 0.4375, -0.4375, 0.875 and -0.875."
},
"attrs": { "K": 528, "N": 80, "bits": 4, "block_size": 16, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [17, 528],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_local_compensated_segment_tail_m17_k528_n80_aT" }
}
},
"bT": { "dtype": "uint8", "shape": [80, 33, 8], "data": { "kind": "constant", "value": 153 } },
"scalesT": {
"dtype": "float16",
"shape": [80, 33],
"data": {
"kind": "cycle",
"values": { "$ref": "#/fixtureArrays/q4_local_compensated_segment_tail_m17_k528_n80_scalesT" }
}
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [17, 80],
"data": { "kind": "cycle", "values": [0.4375, -0.4375, 0.875, -0.875] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_block_scale_subnormal_activation_onehot_m64_k32",
"provenance": {
"source": "Independent block-quantized matrix multiplication specification.",
"notes": "One activation per row is the smallest positive half subnormal, 2^-24, in a single 32-wide block; times decoded weights -8 x 2048, -8 x 1024, -8 x 512 and -8 x 256 (code 0, default zero point 8) it gives four distinct exact normal-half outputs, so the subnormal must not be flushed to zero."
},
"attrs": { "K": 32, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 0 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [64, 32],
"data": {
"kind": "cycle",
"values": [5.960464477539063e-8, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
}
},
"bT": { "dtype": "uint8", "shape": [128, 1, 16], "data": { "kind": "cycle", "values": [0] } },
"scalesT": {
"dtype": "float16",
"shape": [128, 1],
"data": { "kind": "cycle", "values": [2048.0, 1024.0, 512.0, 256.0] }
}
},
"outputs": {
"yT": {
"dtype": "float16",
"shape": [64, 128],
"data": { "kind": "cycle", "values": [-0.0009765625, -0.00048828125, -0.000244140625, -0.0001220703125] },
"tolerance": 0,
"relTolerance": 0,
"exactRounding": true
}
}
},
{
"name": "q4_block_scale_bias_prefill_m33_k256_n64",
"provenance": {
"notes": "Half activations with a bias and no zero points over eight 32-wide blocks; M=33 leaves a one-row tail past 32, and the bias must be added exactly once to each output."
},
"attrs": { "K": 256, "N": 64, "bits": 4, "block_size": 32 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [33, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 8, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [64, 8],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"biasT": {
"dtype": "float16",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [33, 64], "tolerance": 0.0001, "relTolerance": 0.001 } }
},
{
"name": "q4_block_scale_zero_bias_prefill_m33_k256_n64_g128",
"provenance": {
"notes": "Half activations with fractional zero points (6, 7.5, 8, 9.25) and a bias over two 128-wide blocks (K=256); M=33 leaves a one-row tail past 32, N=64."
},
"attrs": { "K": 256, "N": 64, "bits": 4, "block_size": 128 },
"inputs": {
"aT": {
"dtype": "float16",
"shape": [33, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 2, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float16",
"shape": [64, 2],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float16",
"shape": [64, 2],
"data": { "kind": "cycle", "values": [6.0, 7.5, 8.0, 9.25] }
},
"biasT": {
"dtype": "float16",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float16", "shape": [33, 64], "tolerance": 0.0001, "relTolerance": 0.001 } }
},
{
"name": "q4_f32_block_scale_planes_accuracy3_m33_k128_n192",
"provenance": {
"notes": "Float32 activations at accuracy level 3 against default-zero 4-bit codes in four 32-wide blocks, no bias; M=33 leaves a one-row tail past 32, N=192."
},
"attrs": { "K": 128, "N": 192, "bits": 4, "block_size": 32, "accuracy_level": 3 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [192, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [192, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 192], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_zero_bias_accuracy2_m33_k128_n192_g64",
"provenance": {
"notes": "Float32 activations at accuracy level 2 with fractional zero points (6, 7.5, 8, 9.25) and a bias over two 64-wide blocks; M=33 leaves a one-row tail past 32, N=192."
},
"attrs": { "K": 128, "N": 192, "bits": 4, "block_size": 64, "accuracy_level": 2 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [192, 2, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [192, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [192, 2],
"data": { "kind": "cycle", "values": [6.0, 7.5, 8.0, 9.25] }
},
"biasT": {
"dtype": "float32",
"shape": [192],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 192], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_zero_only_accuracy3_m40_k128_n192_g128",
"provenance": {
"notes": "Float32 activations at accuracy level 3 cycle through twelve values from 1e-5 to 1536 in magnitude, a span of about 2^27 within every row, against zero points 5, 8, 10 and 7 over one 128-wide block, no bias; M=40, N=192."
},
"attrs": { "K": 128, "N": 192, "bits": 4, "block_size": 128, "accuracy_level": 3 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [40, 128],
"data": {
"kind": "cycle",
"values": [1536.0, -0.0034, 2.75, -410.0, 0.0625, -7.5, 0.00091, 33.0, -0.5, 0.00001, 96.0, -0.21]
}
},
"bT": {
"dtype": "uint8",
"shape": [192, 1, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [192, 1],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [192, 1],
"data": { "kind": "cycle", "values": [5.0, 8.0, 10.0, 7.0] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [40, 192], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_bias_only_accuracy4_m33_k128_n192",
"provenance": {
"notes": "Float32 activations at accuracy level 4 with a bias and no zero points over four 32-wide blocks; M=33 leaves a one-row tail past 32, N=192."
},
"attrs": { "K": 128, "N": 192, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [192, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [192, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"biasT": {
"dtype": "float32",
"shape": [192],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 192], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_splitk_accuracy3_m33_k256_n128",
"provenance": {
"notes": "Float32 activations at accuracy level 3 against default-zero 4-bit codes in eight 32-wide blocks (K=256), no bias; M=33 leaves a one-row tail past 32, N=128."
},
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 3 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 8, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [128, 8],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 128], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_splitk_zero_only_accuracy4_m33_k256_n128_g64",
"provenance": {
"notes": "Float32 activations at accuracy level 4 with fractional zero points (6, 7.5, 8, 9.25) over four 64-wide blocks (K=256), no bias; M=33, N=128."
},
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 64, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 4, 32],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [128, 4],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [128, 4],
"data": { "kind": "cycle", "values": [6.0, 7.5, 8.0, 9.25] }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 128], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_splitk_bias_only_accuracy2_m33_k256_n128_g128",
"provenance": {
"notes": "Float32 activations at accuracy level 2 cycle through twelve values from 1e-5 to 1536 in magnitude (about 2^27 within every row), with a bias, no zero points and two 128-wide blocks (K=256); M=33, N=128."
},
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 128, "accuracy_level": 2 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 256],
"data": {
"kind": "cycle",
"values": [1536.0, -0.0034, 2.75, -410.0, 0.0625, -7.5, 0.00091, 33.0, -0.5, 0.00001, 96.0, -0.21]
}
},
"bT": {
"dtype": "uint8",
"shape": [128, 2, 64],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [128, 2],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"biasT": {
"dtype": "float32",
"shape": [128],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 128], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "q4_f32_block_scale_planes_splitk_zero_bias_accuracy4_m33_k256_n128",
"provenance": {
"notes": "Float32 activations at accuracy level 4 with fractional zero points (6, 7.5, 8, 9.25) and a bias over eight 32-wide blocks (K=256); M=33, N=128."
},
"attrs": { "K": 256, "N": 128, "bits": 4, "block_size": 32, "accuracy_level": 4 },
"inputs": {
"aT": {
"dtype": "float32",
"shape": [33, 256],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [128, 8, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [128, 8],
"data": { "kind": "cycle", "values": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085] }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [128, 8],
"data": { "kind": "cycle", "values": [6.0, 7.5, 8.0, 9.25] }
},
"biasT": {
"dtype": "float32",
"shape": [128],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [33, 128], "tolerance": 0.0001, "relTolerance": 0.0001 } }
},
{
"name": "gemv_clusters_k128_n9_g64_float32",
"inputs": {
"aT": {
"shape": [1, 128],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.117, "cosStep": 0.337, "scale": 0.2 }
},
"bT": {
"shape": [9, 2, 32],
"dtype": "uint8",
"data": { "kind": "cycle", "values": [16, 254, 83, 169, 114, 45, 200, 7, 191, 62, 148] }
},
"scalesT": {
"shape": [9, 2],
"dtype": "float32",
"data": { "kind": "cycle", "values": [0.015625, -0.03125, 0.046875, 0.0234375, 0.0625] }
}
},
"outputs": { "yT": { "shape": [1, 9], "dtype": "float32", "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 9, "bits": 4, "block_size": 64 }
},
{
"name": "gemv_clusters_k96_n7_g32_float32",
"inputs": {
"aT": {
"shape": [1, 96],
"dtype": "float32",
"data": { "kind": "fillFloat32", "sinStep": 0.117, "cosStep": 0.337, "scale": 0.2 }
},
"bT": {
"shape": [7, 3, 16],
"dtype": "uint8",
"data": { "kind": "cycle", "values": [16, 254, 83, 169, 114, 45, 200, 7, 191, 62, 148] }
},
"scalesT": {
"shape": [7, 3],
"dtype": "float32",
"data": { "kind": "cycle", "values": [0.015625, -0.03125, 0.046875, 0.0234375, 0.0625] }
}
},
"outputs": { "yT": { "shape": [1, 7], "dtype": "float32", "tolerance": 0.0001 } },
"attrs": { "K": 96, "N": 7, "bits": 4, "block_size": 32 }
},
{
"name": "gemv_clusters_k256_n17_g128_float16",
"inputs": {
"aT": {
"shape": [1, 256],
"dtype": "float16",
"data": { "kind": "fillFloat32", "sinStep": 0.117, "cosStep": 0.337, "scale": 0.2 }
},
"bT": {
"shape": [17, 2, 64],
"dtype": "uint8",
"data": { "kind": "cycle", "values": [16, 254, 83, 169, 114, 45, 200, 7, 191, 62, 148] }
},
"scalesT": {
"shape": [17, 2],
"dtype": "float16",
"data": { "kind": "cycle", "values": [0.015625, -0.03125, 0.046875, 0.0234375, 0.0625] }
}
},
"outputs": { "yT": { "shape": [1, 17], "dtype": "float16", "tolerance": 0.002 } },
"attrs": { "K": 256, "N": 17, "bits": 4, "block_size": 128 }
}
]
}
{
"fixtureArrays": {
"narrow_q4_activation_cycle": [-127, -61, 0, 7, 63, 127, 19, -5, 43, -89, 101],
"narrow_q4_weight_cycle": [171, 205, 46, 251, 218, 201, 31, 186, 237, 220, 154],
"narrow_q4_scale_cycle": [0.03125, 0.0625, 0.125, 0.25],
"q4_prefill_tiled_reg_tailk_m32_k33_n4096_input_bT": [16, 50, 84, 118, 152, 186, 220, 254, 135, 119, 102, 85, 68, 51, 34, 17],
"q4_weight_cycle_b_t": [16, 50, 84, 118, 152, 186, 220, 254, 33, 67, 101, 135, 169, 203, 237, 15],
"quant_scale_cycle_t": [0.04, 0.055, 0.05, 0.065, 0.06, 0.075, 0.07, 0.085],
"mixed_weight_cycle_b_t": [17, 200, 91, 45, 233, 128, 7, 176, 250, 33, 142, 99, 210, 64, 188, 121],
"q8_zero_bias_gemv_m1_tail_n5_input_bT": [19, 56, 93, 130, 167, 204, 241, 22, 59, 96, 133, 170, 207, 244, 25, 62],
"ort_f16_large_k_accumulator_cancellation_m1_k8192_n8_input_scalesT": [16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16, -16],
"q2_half_native_mixed_n_tile_ranges_m65_k256_n128_output_yT": [-1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -1024, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625, -0.015625],
"q4_default_full_dequant_m9_k16_n8_a": [7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"q4_default_full_dequant_m9_k16_n8_b": [253, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136],
"q4_default_full_dequant_m9_k16_n8_scales": [0.04, 0.125],
"q4_default_full_dequant_m9_k16_n8_zero_exact_expected": [0, 0.875, 0, 0.875, 0, 0.875, 0, 0.875, 0, 1.75, 0, 1.75, 0, 1.75, 0, 1.75],
"q4_default_full_dequant_m9_k16_n8_bias_exact_expected": [0, 1, 0.25, 0.75, 0, 1, 0.25, 0.75, 0, 1.875, 0.25, 1.625, 0, 1.875, 0.25, 1.625],
"q4_default_full_dequant_m64_k64_n64_a": [7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, -5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 14, -10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"q4_default_full_dequant_m64_k64_n64_b": [253, 136, 136, 136, 136, 136, 136, 136, 253, 136, 136, 136, 136, 136, 136, 136, 253, 136, 136, 136, 136, 136, 136, 136, 253, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136, 137, 136, 136, 136, 136, 136, 136, 136],
"q4_default_full_dequant_m64_k64_n64_scales": [0.04, 0.04, 0.04, 0.04, 0.125, 0.125, 0.125, 0.125],
"q4_default_full_dequant_m64_k64_n64_zero_exact_expected": [0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 3.5, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7, 0, 7],
"q4_default_full_dequant_m64_k64_n64_bias_exact_expected": [0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 3.625, 0.25, 3.375, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875, 0, 7.125, 0.25, 6.875],
"q4_preclass_row16_tail_activation_boundary_m17_k16_n80_aT": [0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.5, 0, 0, 0, 0, 0, 0, 0, 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, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32],
"q4_preclass_col64_tail_scale_boundary_m17_k16_n80_scalesT": [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 8192, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5],
"q4_preclass_col64_tail_scale_boundary_m17_k16_n80_yT": [-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -32768, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2],
"q4_local_compensated_segment_tail_m17_k528_n80_aT": [1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -0.5, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -0.75, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -1, 1, -0.875],
"q4_local_compensated_segment_tail_m17_k528_n80_scalesT": [0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, -0.5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1],
"q4_two_part_infinite_activation_nonzero_weight_m9_input_aT": ["Infinity", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
},
"cases": [
{
"name": "q4_zero_bias_prefill_tile4x4_large",
"inputs": {
"aT": {
"dtype": "float32",
"shape": [128, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "block_size": 32 }
},
{
"name": "q4_zero_bias_prefill_tile4x4_small_m8",
"provenance": {
"notes": "M=8 rows of 4-bit quantized MatMulNBits with K=128, N=64, block_size=32, explicit zero points [6,7,8,9], and bias check correct dequantization and bias addition at a small row count."
},
"inputs": {
"aT": {
"dtype": "float32",
"shape": [8, 128],
"data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 }
},
"bT": {
"dtype": "uint8",
"shape": [64, 4, 16],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } }
},
"scalesT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } }
},
"zeroPointsT": {
"dtype": "float32",
"shape": [64, 4],
"data": { "kind": "cycle", "values": [6.0, 7.0, 8.0, 9.0] }
},
"biasT": {
"dtype": "float32",
"shape": [64],
"data": { "kind": "fillFloat32", "sinStep": 0.07, "cosStep": 0.41, "scale": 0.1 }
}
},
"outputs": { "yT": { "dtype": "float32", "shape": [8, 64], "tolerance": 0.0001 } },
"attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 }
},
{
"name": "q8_zero_bias_prefill_tile4x4_small_m8",