diff --git "a/build/webgpu/test.json" "b/build/webgpu/test.json" --- "a/build/webgpu/test.json" +++ "b/build/webgpu/test.json" @@ -1,11 +1,32 @@ { "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] + "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,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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, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 0.25, 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": [ { @@ -78,7 +99,7 @@ { "name": "q8_zero_bias_prefill_tile4x4_small_m8", "provenance": { - "notes": "An eight-row q8 prefill with zero points and bias exercises q8 unpacking and the bias epilogue on the small-M tile4x4 route." + "notes": "Eight rows against 8-bit weights (K=128, N=64, block_size=32) with per-block zero points and a bias." }, "inputs": { "aT": { @@ -197,28 +218,28 @@ "name": "q4_no_zero_prefill_sgmat_large", "inputs": { "aT": { - "shape": [128, 128], + "shape": [769, 128], "dtype": "float32", "data": { "kind": "fillFloat32", "sinStep": 0.11, "cosStep": 0.23, "scale": 0.35 } }, "bT": { - "shape": [64, 4, 16], + "shape": [256, 4, 16], "dtype": "uint8", "data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/q4_weight_cycle_b_t" } } }, "scalesT": { - "shape": [64, 4], + "shape": [256, 4], "dtype": "float32", "data": { "kind": "cycle", "values": { "$ref": "#/fixtureArrays/quant_scale_cycle_t" } } } }, - "outputs": { "yT": { "dtype": "float32", "shape": [128, 64], "tolerance": 0.0001 } }, - "attrs": { "K": 128, "N": 64, "bits": 4, "block_size": 32 } + "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": "The 32-row subgroup-matrix tile fits the WebGPU minimum 16 KiB workgroup-storage limit." + "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": { @@ -243,7 +264,7 @@ { "name": "q4_zero_bias_prefill_sgmat_m32_storage_floor", "provenance": { - "notes": "Explicit zero points and bias exercise the 32-row subgroup-matrix tile at the 16 KiB workgroup-storage floor." + "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": { @@ -278,7 +299,7 @@ { "name": "q4_no_zero_prefill_g64_sgmat", "provenance": { - "notes": "A compact q4 prefill with block size 64 and the default zero point exercises the subgroup-matrix route and its portable tiled fallback." + "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": { @@ -325,7 +346,7 @@ { "name": "q8_no_zero_prefill_sgmat_m32_storage_floor", "provenance": { - "notes": "A q8 prefill exercises the 32-row subgroup-matrix tile at the 16 KiB workgroup-storage floor." + "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": { @@ -382,7 +403,7 @@ { "name": "q8_no_zero_prefill_reg_vec4_splitk_m128_k1024_n1024", "provenance": { - "notes": "Without zero points or bias, 32 output tiles over K=1024 use two K slices whose float32 partial sums are combined." + "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": { @@ -470,7 +491,7 @@ { "name": "q8_bias_only_prefill_reg_vec4_splitk_m128_k1024_n1024", "provenance": { - "notes": "With bias and the implicit zero point, the split-K four-wide route adds bias once after combining the partial sums." + "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": { @@ -500,7 +521,7 @@ { "name": "q8_zero_bias_prefill_sgmat_m32_storage_floor", "provenance": { - "notes": "Q8 weights with explicit zero points and bias exercise the 32-row subgroup-matrix tile at the 16 KiB storage floor." + "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": { @@ -814,7 +835,9 @@ } }, "outputs": { "yT": { "dtype": "float16", "shape": [512, 1024], "tolerance": 0.0001, "relTolerance": 0.001 } }, - "provenance": { "notes": "Float16 activations exercise float16 A/B staging on the register-tiled prefill path." }, + "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 } }, { @@ -892,7 +915,7 @@ }, "outputs": { "yT": { "dtype": "float16", "shape": [512, 1024], "tolerance": 0.0001, "relTolerance": 0.001 } }, "provenance": { - "notes": "Eight-bit weights give the widest dequantized range, exercising float16 staging and store rounding on the register-tiled prefill path." + "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 } }, @@ -1120,7 +1143,7 @@ "provenance": { "source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc", "test": "independent has_zero_points/has_bias epilogues", - "notes": "An M=1 q8 GEMV with explicit zero points and no bias isolates the zero-point binding layout and epilogue." + "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": { @@ -1152,7 +1175,7 @@ "provenance": { "source": "onnxruntime/contrib_ops/webgpu/quantization/matmul_nbits.cc", "test": "independent has_zero_points/has_bias epilogues", - "notes": "An M=1 q8 GEMV with bias and the schema-default zero point isolates the bias binding layout and epilogue." + "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": { @@ -1282,7 +1305,7 @@ "name": "q4_prefill_tiled_reg_aligned_m32_k32_n4096_at_workgroup_floor", "provenance": { "source": "synthetic", - "notes": "Aligned K=32, M=32, and N=4096 produce exactly 64 workgroups, exercising the register-tiled prefill route at its workgroup floor." + "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": { @@ -1310,7 +1333,7 @@ { "name": "q4_prefill_tiled_reg_tailk_m32_k33_n512_below_wide_n_floor", "provenance": { - "notes": "K=33 exercises a padded final block while N=512 places the register-tiled prefill route in its relaxed narrow-output band." + "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": { @@ -1338,7 +1361,7 @@ { "name": "q4_f16_prefill_reg_tailk_m32_k33_n4096", "provenance": { - "notes": "f16 activations through the register-tiled general (non-block-aligned) loader and the M=32 portable geometry, plus the padded tail K." + "notes": "Float16 activations with K=33 (a one-element partial final quantization block), M=32 and N=4096." }, "inputs": { "aT": { @@ -1888,7 +1911,7 @@ { "name": "q2_zero_bias_prefill_tile4x4_small_m8", "provenance": { - "notes": "2-bit weights pack four codes per stored byte, low codes first along K, with a default zero point of 2. Small-M prefill on the 4x4 output tile." + "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": { @@ -1923,7 +1946,7 @@ { "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. Prefill wide enough for the subgroup-matrix tile." + "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": { @@ -1948,7 +1971,7 @@ { "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, with a default zero point of 2. Subgroup-matrix tile at the M=32 shared-storage floor." + "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": { @@ -1983,7 +2006,7 @@ { "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. Register-tile prefill, whose loader unrolls by K and so needs its own unpack." + "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": { @@ -2008,7 +2031,7 @@ { "name": "q2_zero_bias_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. Register-tile prefill with zero points and bias." + "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": { @@ -2042,7 +2065,9 @@ }, { "name": "q8_rank3_prefill_tile4x4", - "provenance": { "notes": "Rank-3 A folding to eight rows, wide enough for the prefill output tile." }, + "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", @@ -2136,7 +2161,7 @@ { "name": "q4_prefill_tile4x4_m4_k128_n4100_column_groups_partial_group", "provenance": { - "notes": "K=128 at block 32 is sixteen packed words per column, so the small-M kernel runs 16 K-lanes and four column groups (16 columns) per workgroup. N=4100 is 256 full workgroups plus one whose second group starts at column 4096 and whose third and fourth groups lie past N, so the group-valid guard and the partial last group are both exercised at scale; M=4 is one row tile." + "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": { @@ -2161,7 +2186,7 @@ { "name": "q8_zero_bias_prefill_tile4x4_m5_k64_n300_column_groups", "provenance": { - "notes": "q8 at K=64, block 32: sixteen packed words per column, four 8-bit codes per word, so a word carries four K-adjacent codes of one block. N=300 with sixteen columns per workgroup leaves a final workgroup whose last group holds columns 296..299 and M=5 leaves a second row tile with one live row, so the per-row and per-column guards run together with zero points and bias." + "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": { @@ -2196,7 +2221,7 @@ { "name": "q4_gemv_default_zero_m1_k2080_n6_two_vector_trips", "provenance": { - "notes": "K=2080 at block size 32 yields 65 sixteen-byte vectors per column, so lane 0 makes a second vector-loop trip and applies the 65th block's scale. N=6 leaves the second column group half empty." + "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": { @@ -2221,7 +2246,7 @@ { "name": "q8_gemv_zero_bias_m1_k48_block16_word_vectors", "provenance": { - "notes": "q8 at block 16 is a sixteen-byte blob, so the GEMV still loads whole sixteen-byte vectors (one per block) while q4 at block 16 would fall to single words; K=48 is three vectors and N=9 leaves a partial column group, with zero points and bias." + "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": { @@ -2256,7 +2281,7 @@ { "name": "q4_gemv_default_zero_m1_block16_single_word_vectors_k40", "provenance": { - "notes": "q4 at block 16 is an eight-byte blob, below the sixteen-byte vector, so the GEMV falls to one-word vectors (eight codes each) and K=40 ends half way through the third block: the last vector's trailing codes lie past K and must contribute zero." + "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": { @@ -2278,6 +2303,56 @@ "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": { @@ -2341,7 +2416,7 @@ { "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 (accumulators are always f32); the shape is kept because it is the generic decode dispatch with a bias and there was no other float16 M=1 case. Weight/scale data reuse this file's existing fixture arrays." + "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": { @@ -2448,6 +2523,2887 @@ } }, "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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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.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 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, 32768.0, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5,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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 } } ] }