diff --git a/crates/cuda-driver/src/sm86_table.rs b/crates/cuda-driver/src/sm86_table.rs index 3583b5c1..d7a9b62f 100644 --- a/crates/cuda-driver/src/sm86_table.rs +++ b/crates/cuda-driver/src/sm86_table.rs @@ -2,7 +2,11 @@ // Table of the sm_86 companions of the sealed sm_120 PTX (see docs/sm86-assets.md). // `key` = SHA-256 of the sealed sm_120 body (file without its terminal NUL); `len` = companion length // including the terminal NUL that is appended here; `sha` = SHA-256 of the companion body. +// +// STRA-338: the rows live in `sm86_table/part_1..5.rs` (each file stays under the 400-line limit); `COMPANIONS` is +// their concatenation, built at compile time, so the content and the order are those of the former single table. +#[derive(Clone, Copy)] pub(crate) struct Companion { pub name: &'static str, pub key: [u8; 32], @@ -11,924 +15,63 @@ pub(crate) struct Companion { pub ptx: &'static [u8], } +mod part_1; +mod part_2; +mod part_3; +mod part_4; +mod part_5; + +/// Number of rows over all parts. +const ROWS: usize = 131; + +const fn join(parts: [&[Companion]; 5]) -> [Companion; ROWS] { + let mut out = [Companion { name: "", key: [0; 32], len: 0, sha: [0; 32], ptx: &[] }; ROWS]; + let (mut at, mut part) = (0, 0); + while part < parts.len() { + let mut row = 0; + while row < parts[part].len() { + out[at] = parts[part][row]; + at += 1; + row += 1; + } + part += 1; + } + assert!(at == ROWS); + out +} + +const JOINED: [Companion; ROWS] = join([part_1::ROWS, part_2::ROWS, part_3::ROWS, part_4::ROWS, part_5::ROWS]); + /// Sorted by `key`. -#[rustfmt::skip] -pub(crate) static COMPANIONS: &[Companion] = &[ - Companion { - name: "ple_bf16_pack.ptx", - key: [0x01, 0x59, 0x28, 0xed, 0xe2, 0x02, 0x42, 0xc6, 0x31, 0x51, 0x30, 0x7b, 0xd5, 0x02, 0xbf, 0x98, 0xf4, 0xfb, 0x58, 0x0b, 0xad, 0x2b, 0x7d, 0x34, 0x72, 0xee, 0xbb, 0xa1, 0x12, 0x95, 0x30, 0xb3], - len: 8276, - sha: [0xb5, 0xe9, 0x9b, 0x53, 0x10, 0xcf, 0x1c, 0x92, 0x11, 0x67, 0x45, 0x06, 0x42, 0x6e, 0xe8, 0x99, 0x68, 0xd1, 0x4a, 0xb7, 0x71, 0x80, 0x55, 0x3d, 0x94, 0xd5, 0xbd, 0xb8, 0x8e, 0x3c, 0x9c, 0x09], - ptx: concat!(include_str!("../ptx-sm86/ple_bf16_pack.ptx"), "\0").as_bytes(), - }, - Companion { - name: "offline_native_dequant_f16.ptx", - key: [0x02, 0x0b, 0xc7, 0x97, 0xfc, 0x5a, 0x8f, 0x36, 0x23, 0x07, 0x54, 0x36, 0xb4, 0x4e, 0x02, 0x1a, 0x2e, 0x97, 0xff, 0xba, 0xaa, 0xbf, 0x54, 0xd2, 0x73, 0xea, 0xce, 0xc1, 0x31, 0x32, 0xeb, 0x2a], - len: 58080, - sha: [0x24, 0x31, 0xc2, 0x8a, 0x19, 0x52, 0x5c, 0x64, 0xb7, 0xf9, 0x75, 0x30, 0x6e, 0x01, 0x99, 0xce, 0x0f, 0x0d, 0x68, 0xf5, 0x5d, 0x22, 0x39, 0xe4, 0xb4, 0x72, 0x80, 0x9f, 0x1e, 0x17, 0x36, 0x70], - ptx: concat!(include_str!("../ptx-sm86/offline_native_dequant_f16.ptx"), "\0").as_bytes(), - }, - Companion { - name: "kar_ple_fixed.ptx", - key: [0x03, 0xc9, 0xf6, 0x63, 0x49, 0x5b, 0xea, 0xf1, 0xdd, 0x42, 0x02, 0x5f, 0x14, 0x80, 0x9b, 0x7b, 0xfb, 0x8c, 0xd7, 0xad, 0x4c, 0x7f, 0xb5, 0x5e, 0x17, 0x3a, 0x79, 0xb1, 0xa9, 0x72, 0x0c, 0x3b], - len: 5210, - sha: [0x76, 0xda, 0x12, 0x64, 0x39, 0xb0, 0x93, 0xf3, 0x9e, 0xda, 0x77, 0x14, 0x29, 0x9b, 0x6d, 0xf9, 0xc9, 0xa6, 0x0f, 0xaf, 0x43, 0xcb, 0x75, 0x8f, 0x49, 0xf3, 0x12, 0x42, 0x75, 0xce, 0xcf, 0x56], - ptx: concat!(include_str!("../ptx-sm86/kar_ple_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "bf16_f32_mmvf.ptx", - key: [0x04, 0x45, 0x43, 0xf6, 0x81, 0xbb, 0x23, 0xeb, 0x9c, 0xae, 0x60, 0x2b, 0x1a, 0x16, 0xaa, 0x7b, 0x23, 0x86, 0xd6, 0xd5, 0xc3, 0xb1, 0x5c, 0xc4, 0x19, 0x87, 0x33, 0x8b, 0xd6, 0x13, 0xb1, 0xc3], - len: 5875, - sha: [0x54, 0xa3, 0x31, 0x46, 0x55, 0x8e, 0xf7, 0x6c, 0x81, 0x7f, 0xc8, 0xe5, 0x56, 0xf7, 0x09, 0x22, 0x8f, 0x90, 0xe2, 0xcc, 0xd6, 0x56, 0x5f, 0x57, 0xc4, 0xf8, 0xec, 0x46, 0x46, 0xe6, 0xc4, 0x42], - ptx: concat!(include_str!("../ptx-sm86/bf16_f32_mmvf.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_iq4_xs_nc4.ptx", - key: [0x06, 0x11, 0xaa, 0x38, 0x6b, 0x2b, 0x36, 0x6e, 0x99, 0x42, 0xd5, 0x37, 0x17, 0x5b, 0xe5, 0xb1, 0xd9, 0x6e, 0x9c, 0x33, 0xbe, 0x5e, 0x12, 0x36, 0xc8, 0xb4, 0x6a, 0x83, 0x18, 0xf6, 0xb6, 0xc1], - len: 74210, - sha: [0x7c, 0xf9, 0x63, 0x32, 0x59, 0x2e, 0x39, 0x9b, 0x49, 0xe8, 0x4e, 0x53, 0x40, 0xff, 0xbb, 0xab, 0x26, 0xdb, 0x49, 0x25, 0x9a, 0x9b, 0x5e, 0x03, 0x04, 0x79, 0x4c, 0x1c, 0x0f, 0x54, 0x79, 0x41], - ptx: concat!(include_str!("../ptx-sm86/moe_group_iq4_xs_nc4.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q8_1_quantize.ptx", - key: [0x06, 0x40, 0x3c, 0x31, 0xe0, 0x94, 0x4b, 0x39, 0xc6, 0x8f, 0x3a, 0xf6, 0x37, 0xe3, 0x3d, 0xaa, 0x5f, 0x3d, 0x4c, 0x07, 0x26, 0x8f, 0x6b, 0xce, 0x15, 0x0c, 0x89, 0x1b, 0x9c, 0xf2, 0x33, 0xb0], - len: 7200, - sha: [0xbb, 0x46, 0xb0, 0x53, 0xaf, 0x13, 0x94, 0xc4, 0x62, 0x17, 0x39, 0x3b, 0x4f, 0x7e, 0xff, 0xc1, 0xc9, 0x5f, 0xc4, 0x8a, 0xa5, 0x54, 0x68, 0x2a, 0xfb, 0xa5, 0xea, 0xeb, 0x0c, 0xd9, 0xc0, 0x6a], - ptx: concat!(include_str!("../ptx-sm86/q8_1_quantize.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_gr_norm.ptx", - key: [0x06, 0xd6, 0x17, 0x7b, 0x48, 0x2c, 0xb6, 0x74, 0x13, 0xc6, 0x59, 0x6a, 0x02, 0x91, 0xb4, 0xda, 0xb1, 0x85, 0x03, 0x32, 0x16, 0x4a, 0x92, 0x12, 0xaf, 0xf6, 0x7b, 0x9e, 0xfd, 0xf2, 0x11, 0x20], - len: 29069, - sha: [0xaa, 0x51, 0x98, 0x13, 0x94, 0xa9, 0x4a, 0xe2, 0x22, 0xf4, 0x4c, 0x23, 0x9d, 0xff, 0x1e, 0xf2, 0x3c, 0xa7, 0xab, 0xda, 0x2a, 0xb0, 0x8f, 0x17, 0x95, 0x43, 0xd6, 0x2e, 0x71, 0x19, 0xd2, 0x1a], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_gr_norm.ptx"), "\0").as_bytes(), - }, - Companion { - name: "offline_moe_prefill.ptx", - key: [0x07, 0x5e, 0xf4, 0x38, 0xcd, 0xb6, 0x21, 0x15, 0x05, 0x46, 0xdb, 0xef, 0xf8, 0xf5, 0xe6, 0xfd, 0xc4, 0xaa, 0xeb, 0xc2, 0xe7, 0xfa, 0x10, 0x99, 0xe6, 0xcc, 0x6e, 0xff, 0x3f, 0x5b, 0x6f, 0x34], - len: 71011, - sha: [0xe1, 0x5e, 0x02, 0x23, 0xec, 0x1d, 0x55, 0x5a, 0x3b, 0x89, 0xd7, 0xcb, 0xe3, 0xa6, 0xe9, 0xa0, 0xfe, 0x45, 0xb6, 0x5d, 0x39, 0x02, 0x90, 0x10, 0xd5, 0x19, 0xc7, 0x31, 0x32, 0x48, 0xcc, 0x7f], - ptx: concat!(include_str!("../ptx-sm86/offline_moe_prefill.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_down_iq4_nl.ptx", - key: [0x0b, 0x7b, 0xa2, 0xb0, 0x0b, 0x91, 0xb6, 0x64, 0x50, 0x51, 0x82, 0xbe, 0xf3, 0x2c, 0xac, 0xad, 0x06, 0x3f, 0x11, 0xee, 0x37, 0xed, 0x93, 0x13, 0x29, 0x64, 0x8d, 0x3e, 0xe4, 0xa0, 0x4d, 0x5a], - len: 8620, - sha: [0x7d, 0xcf, 0xdb, 0x60, 0x83, 0x16, 0xcb, 0x28, 0xf0, 0x77, 0x6a, 0x10, 0xf8, 0x40, 0xb1, 0x98, 0x81, 0x43, 0x5c, 0x75, 0xb7, 0xf4, 0xf2, 0x2b, 0xa2, 0xc3, 0xfe, 0xf9, 0xe5, 0xbb, 0x89, 0xcb], - ptx: concat!(include_str!("../ptx-sm86/moe_group_down_iq4_nl.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_s2_fixed.ptx", - key: [0x0b, 0xf7, 0xb8, 0x12, 0x8c, 0x2d, 0x59, 0x0e, 0x36, 0xc8, 0xc5, 0x55, 0x97, 0xb4, 0xd0, 0x2f, 0x3c, 0x50, 0x7e, 0x12, 0x0f, 0x3d, 0x09, 0x1c, 0xb3, 0x54, 0xea, 0xee, 0x9e, 0x09, 0x74, 0xf7], - len: 103812, - sha: [0x97, 0xef, 0x26, 0x18, 0x0d, 0x6c, 0xa0, 0xa6, 0xc3, 0xb4, 0xe2, 0x8c, 0x55, 0x5b, 0xf4, 0x94, 0x12, 0x17, 0x5b, 0x7c, 0x65, 0x2d, 0x71, 0xa3, 0x1d, 0xc4, 0xee, 0x09, 0x7d, 0xc2, 0xc1, 0xb2], - ptx: concat!(include_str!("../ptx-sm86/mtp_s2_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq-adaptive-selected.ptx", - key: [0x0c, 0x7f, 0xa1, 0x08, 0x28, 0x02, 0x0b, 0x9e, 0xc8, 0x9b, 0x8b, 0x2f, 0xe5, 0x85, 0x50, 0x2c, 0x84, 0x89, 0xbe, 0x92, 0xf1, 0xf8, 0x25, 0x18, 0x7d, 0x4c, 0x6b, 0x90, 0xf1, 0x06, 0x49, 0x48], - len: 3249625, - sha: [0x3f, 0x3c, 0xbc, 0x5f, 0x2d, 0x2d, 0xc8, 0x23, 0x83, 0xb1, 0x5a, 0x0d, 0xaf, 0xf0, 0x7f, 0xb6, 0x77, 0xcc, 0x4e, 0x45, 0xfb, 0x35, 0x73, 0x7d, 0xdc, 0x61, 0x41, 0x2f, 0xff, 0x3f, 0x79, 0x2c], - ptx: concat!(include_str!("../ptx-sm86/mmq-adaptive-selected.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mapped_expert_copy.ptx", - key: [0x10, 0x51, 0x98, 0x85, 0xee, 0x9d, 0xab, 0xb6, 0x00, 0x10, 0x15, 0x4e, 0x2f, 0x80, 0x9b, 0x39, 0x73, 0x61, 0x86, 0xba, 0x1c, 0x0d, 0xac, 0x11, 0xa2, 0x40, 0x96, 0x5d, 0x05, 0x77, 0x62, 0x57], - len: 5620, - sha: [0x11, 0xda, 0x70, 0xf0, 0x16, 0x18, 0xa2, 0xa6, 0xf9, 0xd6, 0x59, 0xa6, 0xda, 0x03, 0xbb, 0x90, 0x48, 0x0d, 0x4c, 0xbd, 0x14, 0x1d, 0x3c, 0x36, 0x6c, 0xfe, 0x90, 0xc2, 0x65, 0x9d, 0x11, 0xb0], - ptx: concat!(include_str!("../ptx-sm86/mapped_expert_copy.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_verify_window_qsa_gate.ptx", - key: [0x10, 0x80, 0x7c, 0x4c, 0x62, 0xd8, 0xbf, 0x4b, 0xe7, 0x5c, 0xfb, 0x1a, 0x50, 0x77, 0xfc, 0x3e, 0x00, 0xdc, 0x8f, 0x40, 0xea, 0x66, 0x9b, 0x22, 0xdc, 0xff, 0x7b, 0x78, 0x53, 0xab, 0x79, 0x49], - len: 2232, - sha: [0x0c, 0x13, 0xa5, 0xf2, 0x95, 0x3f, 0x70, 0x7b, 0xb2, 0x87, 0xbc, 0x53, 0x25, 0x83, 0xf3, 0xfd, 0x69, 0xae, 0x8e, 0x80, 0xa7, 0x6e, 0x61, 0xdc, 0x88, 0x27, 0xe1, 0x3f, 0x00, 0x6b, 0x48, 0x49], - ptx: concat!(include_str!("../ptx-sm86/original_verify_window_qsa_gate.ptx"), "\0").as_bytes(), - }, - Companion { - name: "gr_native_batch.ptx", - key: [0x10, 0xa3, 0xe8, 0x36, 0xb9, 0x02, 0xe9, 0xa3, 0x87, 0x05, 0x5e, 0x98, 0x0c, 0x3e, 0xd0, 0x45, 0xe9, 0x0b, 0xdc, 0x25, 0x1e, 0xe1, 0xe6, 0xbe, 0x57, 0x66, 0x81, 0x61, 0x8f, 0x62, 0x1d, 0xb2], - len: 29664, - sha: [0xda, 0xec, 0x53, 0x68, 0x4c, 0x0c, 0xc3, 0x08, 0x8d, 0x46, 0xe9, 0x24, 0x14, 0x2d, 0xd3, 0x61, 0x32, 0xa5, 0x9f, 0xb7, 0x87, 0x16, 0x56, 0x94, 0xd1, 0x48, 0x27, 0xaf, 0xd3, 0x10, 0xd9, 0xc9], - ptx: concat!(include_str!("../ptx-sm86/gr_native_batch.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_checks.ptx", - key: [0x16, 0xcb, 0x9f, 0x01, 0xe5, 0x4b, 0x05, 0x33, 0x43, 0x99, 0x37, 0xdd, 0x09, 0xae, 0xa4, 0xcc, 0xf9, 0x8d, 0xf7, 0x36, 0x76, 0xeb, 0x2b, 0x79, 0x62, 0x98, 0xac, 0x72, 0xe1, 0x27, 0xa5, 0x91], - len: 115865, - sha: [0x70, 0x7a, 0xd0, 0xce, 0x70, 0xa3, 0x2b, 0x33, 0x34, 0x8b, 0x26, 0x48, 0xfd, 0xfe, 0x44, 0xaa, 0xe0, 0xd1, 0xfa, 0x1c, 0x43, 0x0a, 0x97, 0xe7, 0x39, 0x64, 0x2e, 0x4b, 0xc3, 0x38, 0x1e, 0x62], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_checks.ptx"), "\0").as_bytes(), - }, - Companion { - name: "iq4_nl_q8_1.ptx", - key: [0x18, 0x9b, 0x02, 0xce, 0xe8, 0x18, 0x63, 0x79, 0xfb, 0x7b, 0x0b, 0xd0, 0x7a, 0x83, 0x1e, 0x1f, 0xb2, 0x76, 0x4d, 0x29, 0xa9, 0x8a, 0x17, 0xfd, 0x2b, 0x51, 0x6c, 0x54, 0x59, 0xf9, 0xd4, 0xce], - len: 38554, - sha: [0xeb, 0x57, 0xbb, 0xff, 0x87, 0x55, 0x63, 0x75, 0xe2, 0xf9, 0x84, 0x95, 0x5b, 0x7d, 0x28, 0x9d, 0xf1, 0xfc, 0xab, 0xf8, 0xca, 0x20, 0x84, 0x88, 0xfa, 0x73, 0xbb, 0x3d, 0xc2, 0xe8, 0x11, 0x76], - ptx: concat!(include_str!("../ptx-sm86/iq4_nl_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "experimental_cvec.ptx", - key: [0x19, 0x3a, 0xdd, 0x5c, 0xb4, 0x48, 0xf5, 0xe1, 0x93, 0xf2, 0x0f, 0xf2, 0x48, 0xca, 0x44, 0x59, 0xab, 0xb9, 0x62, 0xb4, 0x72, 0x66, 0x3c, 0x00, 0xd1, 0x89, 0x41, 0x31, 0x3b, 0xfa, 0x3e, 0xbc], - len: 28943, - sha: [0x09, 0x43, 0xc5, 0xc0, 0x4e, 0xf8, 0x63, 0x4b, 0x8e, 0xb6, 0x11, 0x33, 0x32, 0x9a, 0xd7, 0x30, 0xf6, 0xbc, 0x39, 0xdc, 0x4e, 0x55, 0xce, 0x9a, 0xc6, 0x25, 0x87, 0x1f, 0xa1, 0x62, 0x58, 0x78], - ptx: concat!(include_str!("../ptx-sm86/experimental_cvec.ptx"), "\0").as_bytes(), - }, - Companion { - name: "experimental_keyless.ptx", - key: [0x1a, 0xb8, 0xb8, 0x15, 0x6e, 0x8c, 0x82, 0x41, 0x31, 0xc0, 0x0c, 0xec, 0xda, 0x17, 0x7f, 0xe5, 0x7d, 0x74, 0xb2, 0x86, 0xa0, 0x2b, 0x7e, 0x5a, 0xfd, 0xfa, 0x39, 0xac, 0xad, 0xaa, 0x33, 0xe6], - len: 3760, - sha: [0x0a, 0x16, 0xc1, 0x19, 0x5e, 0x25, 0x74, 0x7c, 0xb0, 0x7b, 0x18, 0x34, 0xf7, 0xc4, 0x52, 0xb8, 0x91, 0x0c, 0x27, 0xac, 0x2b, 0x7d, 0x30, 0xb9, 0xf6, 0x68, 0x7d, 0x28, 0xcc, 0x76, 0xb8, 0xb9], - ptx: concat!(include_str!("../ptx-sm86/experimental_keyless.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_attention.ptx", - key: [0x1c, 0x89, 0xe6, 0xcb, 0xc8, 0xbb, 0x52, 0xb4, 0x64, 0x96, 0xa1, 0xca, 0xe3, 0x14, 0x3a, 0x8a, 0xd6, 0xcb, 0x8e, 0x8d, 0xb7, 0x0f, 0x4e, 0x6d, 0x5a, 0x87, 0x4d, 0x59, 0xfd, 0xdd, 0x4a, 0x07], - len: 96184, - sha: [0xf3, 0x2c, 0x26, 0xe3, 0xdf, 0x42, 0xa4, 0xa2, 0xda, 0x00, 0xf2, 0xa9, 0x79, 0x1e, 0x1a, 0xb8, 0x98, 0x41, 0x61, 0xe8, 0x9e, 0x20, 0x3e, 0xdf, 0x88, 0x0a, 0xdc, 0xc8, 0x30, 0xe2, 0x43, 0x5c], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_attention.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_select.ptx", - key: [0x1e, 0x35, 0x51, 0x47, 0x44, 0x21, 0x62, 0x29, 0xb0, 0xcf, 0xfb, 0x4f, 0x45, 0xd2, 0xf1, 0x3f, 0x25, 0xcb, 0x95, 0xf3, 0x77, 0xa3, 0x0c, 0x1c, 0x01, 0x25, 0x43, 0xdb, 0xf5, 0x3a, 0x1c, 0x2d], - len: 97179, - sha: [0x38, 0xef, 0x04, 0x0e, 0xff, 0x7b, 0x93, 0xe2, 0xaf, 0x2c, 0x15, 0x3f, 0xb1, 0xd9, 0x35, 0x24, 0xbd, 0xf1, 0x65, 0x42, 0x8a, 0xa2, 0xf8, 0xcf, 0xbd, 0xa5, 0x08, 0x3e, 0xc4, 0x07, 0x1d, 0xf3], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_select.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_iq2_s.ptx", - key: [0x1e, 0x5c, 0x05, 0x7c, 0xfb, 0x36, 0xd3, 0x51, 0xcc, 0xb2, 0xba, 0x54, 0x6c, 0xf2, 0x95, 0xd1, 0x3b, 0xfa, 0x00, 0x30, 0x65, 0xeb, 0x9b, 0x41, 0x5b, 0xf0, 0xc0, 0x11, 0x8b, 0xd4, 0x80, 0x4a], - len: 42048, - sha: [0xe8, 0xcb, 0x46, 0x20, 0xf1, 0xe2, 0xcf, 0x38, 0xd5, 0x6b, 0x87, 0x55, 0x33, 0xc3, 0x9e, 0x27, 0x95, 0x94, 0x86, 0x2f, 0x77, 0x9e, 0x73, 0x1e, 0x50, 0x1d, 0xed, 0x50, 0xb2, 0xf8, 0xf5, 0x92], - ptx: concat!(include_str!("../ptx-sm86/moe_group_iq2_s.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_qsa_gate.ptx", - key: [0x21, 0xf1, 0xa0, 0x14, 0xbf, 0xa0, 0x59, 0x74, 0x3a, 0x7c, 0x9d, 0x55, 0x3a, 0x46, 0x15, 0xf5, 0x48, 0x82, 0x0b, 0xb4, 0xe7, 0xc4, 0x8f, 0x4e, 0xf1, 0xd7, 0x1f, 0x05, 0x07, 0x7b, 0x4b, 0x25], - len: 26053, - sha: [0xb4, 0x22, 0x8c, 0x01, 0x5b, 0xb0, 0xb0, 0x62, 0x6d, 0x31, 0x40, 0x62, 0x77, 0x20, 0x94, 0x39, 0x0a, 0xd3, 0xba, 0xa6, 0x86, 0x64, 0xd7, 0x29, 0x9b, 0x2a, 0x17, 0x11, 0x80, 0xa4, 0x7c, 0x64], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_qsa_gate.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_combine.ptx", - key: [0x22, 0x53, 0xfe, 0x2d, 0x64, 0x13, 0x50, 0xf4, 0x44, 0x5a, 0x0a, 0x69, 0xc4, 0xa0, 0xfc, 0x22, 0xb8, 0x5c, 0x2f, 0xff, 0xca, 0x7c, 0xbd, 0x53, 0x6f, 0xfe, 0x5d, 0x29, 0x12, 0xf8, 0x1f, 0xb7], - len: 12958, - sha: [0x6e, 0x0f, 0xba, 0x41, 0xea, 0x8b, 0x0f, 0xe6, 0x0b, 0x1f, 0xc5, 0x1e, 0xb3, 0xe7, 0x0f, 0x5f, 0xc9, 0xb3, 0x51, 0x63, 0xce, 0xff, 0x1d, 0xb4, 0x36, 0xd6, 0x2e, 0xf6, 0x7e, 0x9a, 0xbd, 0xfe], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_combine.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_scalar_gr.ptx", - key: [0x24, 0x01, 0x60, 0x6b, 0x7e, 0xb4, 0x4a, 0xf8, 0x2a, 0x8b, 0x57, 0x48, 0x48, 0x6c, 0x72, 0xae, 0xc9, 0xc4, 0x7a, 0x4c, 0x7d, 0xb0, 0x6e, 0x5a, 0xbf, 0xd3, 0x7d, 0xb3, 0x75, 0x64, 0x88, 0x6d], - len: 387485, - sha: [0x89, 0xf9, 0xe9, 0x1d, 0xc7, 0xe3, 0x28, 0xa6, 0x7a, 0xd8, 0x7e, 0x02, 0xde, 0xae, 0x1c, 0x7a, 0x25, 0x56, 0xe7, 0x4d, 0x05, 0x98, 0x40, 0xd8, 0xe0, 0x94, 0x2d, 0x8e, 0x85, 0xe2, 0xe5, 0xcb], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_scalar_gr.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_verify_window_moe_experts.ptx", - key: [0x24, 0xd2, 0x8c, 0xcd, 0x9c, 0x3a, 0x5b, 0xbe, 0xdb, 0xeb, 0x93, 0x3b, 0x4f, 0xeb, 0x37, 0x6f, 0x84, 0x0a, 0x74, 0xe2, 0x1a, 0x44, 0x82, 0x17, 0x48, 0x8c, 0x06, 0xee, 0x23, 0x82, 0x11, 0x57], - len: 991906, - sha: [0xf6, 0xbe, 0xc9, 0xbb, 0x67, 0xe4, 0x5a, 0xa8, 0x40, 0x4f, 0xaa, 0xfd, 0x44, 0xdc, 0x30, 0xb7, 0x90, 0xbf, 0x29, 0x08, 0xf4, 0x5f, 0x0c, 0x7b, 0xb0, 0xef, 0x86, 0xa0, 0x4e, 0xad, 0x97, 0x23], - ptx: concat!(include_str!("../ptx-sm86/original_verify_window_moe_experts.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q4_k_q8_1.ptx", - key: [0x29, 0x4f, 0x3a, 0xd5, 0xfd, 0xdd, 0xf7, 0x96, 0x94, 0x13, 0x46, 0xc9, 0x14, 0x4f, 0xc4, 0x9d, 0x4c, 0xff, 0x54, 0x78, 0xa8, 0x8d, 0xaa, 0xd6, 0xb8, 0x94, 0x1f, 0xbd, 0x4b, 0xb2, 0x40, 0xcb], - len: 28282, - sha: [0x7c, 0xb5, 0xfa, 0x63, 0x73, 0x59, 0x81, 0x41, 0x7d, 0x57, 0x45, 0x76, 0xcf, 0xd8, 0x7e, 0x86, 0x43, 0xcf, 0xea, 0xd8, 0x1b, 0x84, 0x75, 0x44, 0xf9, 0xf1, 0x4c, 0x09, 0x70, 0x2b, 0x3b, 0x60], - ptx: concat!(include_str!("../ptx-sm86/q4_k_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq-original-formats.ptx", - key: [0x29, 0xd9, 0x2d, 0xea, 0x14, 0x09, 0x95, 0x86, 0xc5, 0x7c, 0x97, 0x0a, 0x36, 0x46, 0xa7, 0x8e, 0x63, 0x1a, 0x49, 0x9a, 0x71, 0x57, 0xd5, 0x6a, 0xa0, 0xe2, 0x0a, 0xc1, 0xe0, 0xb4, 0x01, 0x36], - len: 2072448, - sha: [0xe0, 0x6d, 0xad, 0xbb, 0x57, 0xa9, 0xf0, 0xdc, 0x0b, 0x20, 0xd8, 0xb4, 0x7f, 0xdd, 0x62, 0xa4, 0xc8, 0x46, 0x75, 0xcc, 0xd4, 0x17, 0x0d, 0x42, 0x48, 0x95, 0x6c, 0x09, 0xb4, 0xfb, 0xd2, 0x1e], - ptx: concat!(include_str!("../ptx-sm86/mmq-original-formats.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_prefill_fixup.ptx", - key: [0x29, 0xfd, 0x3f, 0x75, 0x98, 0x64, 0x39, 0x75, 0x7c, 0x3a, 0x6e, 0xb1, 0x7d, 0x93, 0xe3, 0xed, 0x12, 0x4c, 0xc4, 0x18, 0x51, 0x97, 0xa2, 0xb4, 0x45, 0x84, 0x10, 0xd1, 0xe7, 0xf7, 0xec, 0x4b], - len: 325813, - sha: [0x43, 0xa2, 0xa5, 0x24, 0x43, 0xcf, 0x7a, 0x2e, 0x2e, 0xe6, 0x58, 0xf5, 0x93, 0xb0, 0xfe, 0xb3, 0x93, 0x3d, 0xb7, 0x37, 0x93, 0x69, 0xef, 0x19, 0x15, 0xfe, 0x23, 0x99, 0x6a, 0xca, 0xda, 0x84], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_prefill_fixup.ptx"), "\0").as_bytes(), - }, - Companion { - name: "iq4_xs_q8_1.ptx", - key: [0x2c, 0x85, 0x3b, 0xad, 0xe2, 0xbb, 0x62, 0xb6, 0x71, 0x67, 0xb7, 0xcb, 0xe0, 0x03, 0x24, 0x61, 0x6c, 0x72, 0x87, 0xc6, 0x0a, 0xb5, 0xfb, 0x8a, 0x41, 0xd2, 0xb5, 0x69, 0x01, 0x97, 0xf1, 0xb4], - len: 62854, - sha: [0x49, 0xbf, 0x1b, 0x11, 0x6a, 0xd9, 0xa8, 0x42, 0x7d, 0x7b, 0x64, 0x01, 0xae, 0x41, 0x4a, 0x2b, 0xd7, 0x81, 0x3c, 0x74, 0x4d, 0x96, 0x8a, 0x99, 0x26, 0xb9, 0xcc, 0x4a, 0x22, 0x3e, 0x96, 0xd6], - ptx: concat!(include_str!("../ptx-sm86/iq4_xs_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq-fixup-selected.ptx", - key: [0x32, 0xa0, 0xc8, 0xc5, 0x45, 0x8b, 0xce, 0x5f, 0x2e, 0x07, 0xc7, 0x95, 0x7e, 0x39, 0xaa, 0x97, 0xbe, 0xac, 0x8d, 0x79, 0xbf, 0xad, 0x4a, 0x95, 0x4c, 0x91, 0xdc, 0xe3, 0x97, 0xa4, 0x79, 0x71], - len: 183342, - sha: [0xbd, 0x2a, 0x21, 0xaa, 0x98, 0x59, 0xc3, 0x1d, 0x70, 0x97, 0x9d, 0x89, 0x7c, 0xe7, 0xb7, 0x9c, 0xd4, 0x48, 0x3c, 0xde, 0xd8, 0x0a, 0x3b, 0x11, 0xbc, 0x24, 0x24, 0xdc, 0x13, 0xbc, 0x67, 0x0c], - ptx: concat!(include_str!("../ptx-sm86/mmq-fixup-selected.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q8_0_q8_1.ptx", - key: [0x34, 0x1a, 0xbb, 0xd0, 0x11, 0x39, 0x19, 0xd5, 0x73, 0x24, 0x1b, 0x1d, 0xc4, 0x78, 0x86, 0x51, 0x4e, 0xa7, 0xaa, 0x1d, 0x4d, 0x3f, 0x1a, 0x86, 0x70, 0x24, 0xe7, 0x66, 0x4b, 0x50, 0x1a, 0x0a], - len: 21418, - sha: [0x5b, 0x7e, 0x7d, 0x2c, 0xd3, 0x17, 0xfd, 0x3b, 0x1a, 0x5b, 0xea, 0x40, 0x01, 0x32, 0xf0, 0x38, 0x6b, 0x06, 0x9c, 0xa7, 0xdb, 0x60, 0x97, 0x45, 0x93, 0xe9, 0x02, 0x27, 0x66, 0xb3, 0x95, 0xb2], - ptx: concat!(include_str!("../ptx-sm86/q8_0_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "gr_prompt_device.ptx", - key: [0x39, 0xc4, 0xea, 0xcc, 0x21, 0x1f, 0xa4, 0x5f, 0xe3, 0x68, 0xee, 0x50, 0x2d, 0x3d, 0x3f, 0xf2, 0x12, 0x41, 0xe6, 0xfe, 0x24, 0xd5, 0xd1, 0x21, 0x1c, 0x6e, 0x18, 0xef, 0x0d, 0x37, 0x28, 0x70], - len: 46298, - sha: [0x1c, 0xcf, 0xf9, 0xa5, 0xce, 0x9f, 0x1a, 0xb7, 0x9c, 0xf8, 0xf5, 0xc8, 0x1d, 0xfd, 0x2a, 0x77, 0x5a, 0xd8, 0x38, 0x11, 0x5c, 0x09, 0x41, 0x4e, 0x0e, 0x1c, 0xdb, 0x3f, 0x34, 0x7f, 0x35, 0x6b], - ptx: concat!(include_str!("../ptx-sm86/gr_prompt_device.ptx"), "\0").as_bytes(), - }, - Companion { - name: "s_gemv_legacy.ptx", - key: [0x3a, 0xb4, 0xd1, 0x2a, 0x5e, 0x97, 0xc4, 0xe2, 0xf4, 0x60, 0x2c, 0x6c, 0x87, 0x23, 0x72, 0xc5, 0xc0, 0x68, 0x5d, 0x8c, 0xf1, 0xa2, 0x02, 0x60, 0xaf, 0x6e, 0x0f, 0x52, 0x05, 0xac, 0x76, 0xd5], - len: 303521, - sha: [0x97, 0x47, 0xc1, 0xbe, 0x0d, 0xb5, 0x20, 0x66, 0xf1, 0xef, 0xe8, 0xef, 0xa9, 0xad, 0xdf, 0x14, 0x23, 0xc5, 0xfd, 0x12, 0xe3, 0x17, 0x47, 0x99, 0xdf, 0x85, 0x3b, 0x0f, 0x71, 0x55, 0x76, 0x55], - ptx: concat!(include_str!("../ptx-sm86/s_gemv_legacy.ptx"), "\0").as_bytes(), - }, - Companion { - name: "iq3_native_integer_mma.ptx", - key: [0x3b, 0xfb, 0x20, 0xc5, 0x31, 0xd0, 0xd5, 0x74, 0xcd, 0xd0, 0x12, 0xda, 0x9f, 0xd0, 0xca, 0xe0, 0x63, 0xf6, 0x16, 0xd1, 0xa0, 0x70, 0xe0, 0x20, 0x17, 0x99, 0xab, 0x11, 0xd7, 0x36, 0x8e, 0x63], - len: 17927, - sha: [0x71, 0x0e, 0xda, 0x43, 0xa5, 0x42, 0x8c, 0x1f, 0xbe, 0xcc, 0xc6, 0x76, 0x82, 0x08, 0x93, 0x98, 0x0e, 0xa3, 0xcf, 0x1d, 0xf1, 0x22, 0x47, 0x17, 0xea, 0x95, 0x19, 0xb2, 0xe1, 0x39, 0xe3, 0x76], - ptx: concat!(include_str!("../ptx-sm86/iq3_native_integer_mma.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq_original_prefill_misc.ptx", - key: [0x3e, 0x57, 0x32, 0x6d, 0x0d, 0xd6, 0xae, 0xc8, 0x14, 0x7e, 0x6c, 0xf8, 0x37, 0xce, 0xca, 0x9d, 0x77, 0x9b, 0xa0, 0x6e, 0xa6, 0x7b, 0xf4, 0x31, 0x1b, 0x3c, 0xe0, 0xba, 0xa6, 0xd0, 0x4d, 0x69], - len: 5267, - sha: [0x7f, 0xb7, 0x4e, 0x54, 0xb7, 0xaf, 0x58, 0xdd, 0x65, 0x0d, 0x17, 0xaa, 0xa4, 0x0c, 0xa2, 0x31, 0x57, 0xd7, 0xb9, 0x88, 0x6b, 0xba, 0xf7, 0x0f, 0x8b, 0x71, 0x09, 0xc5, 0xa7, 0xa9, 0x74, 0xf2], - ptx: concat!(include_str!("../ptx-sm86/mmq_original_prefill_misc.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_prefill_mmq.ptx", - key: [0x3e, 0x67, 0x46, 0x7d, 0x41, 0x2d, 0xbf, 0x18, 0x12, 0x00, 0xd3, 0xca, 0x10, 0xf2, 0xb6, 0x69, 0x95, 0xaf, 0xe3, 0x16, 0xcb, 0xe4, 0x02, 0x60, 0xde, 0xa2, 0x1d, 0x97, 0x31, 0x8b, 0x61, 0xe1], - len: 1850087, - sha: [0x2f, 0xde, 0xe9, 0xf3, 0xc3, 0x06, 0x7e, 0x27, 0x64, 0x30, 0xc6, 0xb6, 0x15, 0x45, 0xb1, 0xf8, 0x59, 0x22, 0x60, 0xd4, 0x62, 0x64, 0x98, 0x89, 0xa8, 0xc9, 0x3b, 0xaa, 0xdf, 0x46, 0x92, 0xaa], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_prefill_mmq.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_attention.ptx", - key: [0x3f, 0xb2, 0x35, 0xca, 0x40, 0x5d, 0x24, 0xc3, 0xb8, 0xd0, 0xec, 0x46, 0x61, 0x1d, 0x9d, 0x64, 0x01, 0x03, 0xb7, 0x1a, 0x65, 0x85, 0x99, 0x23, 0x19, 0x4f, 0x02, 0xf0, 0x6b, 0x48, 0x2f, 0x6c], - len: 54452, - sha: [0xdc, 0x1a, 0xcb, 0x71, 0x2c, 0x99, 0x3b, 0x09, 0xaa, 0x87, 0x86, 0x72, 0x13, 0xd5, 0x23, 0xd8, 0x6d, 0x34, 0x2c, 0x91, 0xe7, 0x33, 0xf2, 0xdb, 0x80, 0x49, 0x7b, 0x85, 0xdc, 0xdd, 0x0b, 0x41], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_attention.ptx"), "\0").as_bytes(), - }, - Companion { - name: "ple_prompt_device.ptx", - key: [0x41, 0x2e, 0xd1, 0xdc, 0xcd, 0x1f, 0xc6, 0x2c, 0x5c, 0xf6, 0xc7, 0x50, 0xad, 0x8d, 0x2f, 0x45, 0x20, 0x5f, 0x6d, 0x19, 0xfa, 0xfc, 0x00, 0x23, 0xd6, 0x4a, 0x33, 0xd3, 0x12, 0x95, 0x09, 0x34], - len: 19418, - sha: [0xdb, 0x53, 0x73, 0x24, 0x8a, 0x30, 0x34, 0xea, 0x29, 0xc1, 0xd3, 0x65, 0xae, 0x26, 0x78, 0x5e, 0x4c, 0x46, 0x6f, 0x3d, 0xdc, 0x9b, 0x26, 0x48, 0x43, 0xca, 0x58, 0xaf, 0x47, 0xc9, 0xc2, 0x03], - ptx: concat!(include_str!("../ptx-sm86/ple_prompt_device.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_s2_full_fixed.ptx", - key: [0x43, 0x81, 0x4a, 0x9c, 0x17, 0x9a, 0xba, 0xba, 0x8f, 0xe0, 0xa8, 0x0b, 0x88, 0xa3, 0x15, 0xbc, 0x94, 0xc4, 0x38, 0xf3, 0x9b, 0x38, 0x42, 0xf4, 0xe4, 0x30, 0x1e, 0x96, 0xa0, 0x32, 0xf7, 0x8d], - len: 142044, - sha: [0x48, 0x41, 0xdf, 0x97, 0x8e, 0x70, 0x2a, 0xd9, 0x1a, 0xdf, 0xd6, 0xb1, 0x7f, 0xd3, 0x1e, 0x53, 0xa4, 0x12, 0x04, 0xf8, 0x0c, 0xbc, 0xa0, 0xdf, 0x2b, 0x6f, 0xad, 0xef, 0xf3, 0x5a, 0x3b, 0x78], - ptx: concat!(include_str!("../ptx-sm86/mtp_s2_full_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "experimental_kv_q8.ptx", - key: [0x43, 0xc3, 0x08, 0x96, 0x08, 0x30, 0x83, 0x3e, 0x29, 0x32, 0x99, 0x07, 0xe2, 0x7b, 0xe5, 0x20, 0x3e, 0xf3, 0xbc, 0x89, 0xcc, 0x7d, 0x0a, 0x91, 0x76, 0x27, 0x0d, 0xc1, 0x87, 0x32, 0xd6, 0x00], - len: 32973, - sha: [0x4b, 0xe6, 0xeb, 0xa3, 0xae, 0x08, 0xf2, 0x12, 0xeb, 0x89, 0x60, 0x7c, 0xea, 0x56, 0x63, 0x8c, 0x10, 0xfa, 0x12, 0xee, 0x40, 0x98, 0x5b, 0xeb, 0xee, 0x99, 0x75, 0x44, 0xae, 0xd7, 0xad, 0xc7], - ptx: concat!(include_str!("../ptx-sm86/experimental_kv_q8.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q6_k_q8_1.ptx", - key: [0x45, 0x40, 0xf6, 0x7f, 0x72, 0xe3, 0xb3, 0x5b, 0xf2, 0x1c, 0xfb, 0xde, 0x0b, 0xfd, 0xf7, 0x85, 0x1e, 0xbe, 0x90, 0xe4, 0x15, 0x40, 0x5c, 0x0c, 0x16, 0x16, 0x6d, 0x09, 0x33, 0xd5, 0x47, 0x97], - len: 26986, - sha: [0x56, 0xb6, 0x06, 0xf4, 0x0b, 0x9a, 0xdd, 0xb9, 0x14, 0xed, 0x01, 0x83, 0x5e, 0x77, 0x87, 0x44, 0x22, 0xca, 0x26, 0xc5, 0xff, 0x32, 0x09, 0x94, 0x3d, 0x1d, 0xe1, 0x22, 0xfc, 0x79, 0x69, 0x58], - ptx: concat!(include_str!("../ptx-sm86/q6_k_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_route_top10.ptx", - key: [0x48, 0x04, 0xcc, 0xad, 0xee, 0x77, 0xaa, 0xbd, 0xa8, 0x80, 0xfb, 0xc0, 0xa5, 0xb3, 0x4f, 0x10, 0xe8, 0x58, 0x51, 0xc1, 0x69, 0xea, 0xa8, 0x96, 0xf3, 0x31, 0x4b, 0xed, 0x64, 0x78, 0xe2, 0x25], - len: 61900, - sha: [0xe3, 0x29, 0x7c, 0x8c, 0x54, 0x4c, 0xe8, 0x40, 0x15, 0xb5, 0xba, 0x73, 0x45, 0x57, 0xd5, 0x1e, 0xd7, 0x77, 0xed, 0x40, 0x46, 0xf7, 0x4f, 0x09, 0x33, 0x1b, 0x63, 0x56, 0x9e, 0x01, 0xb5, 0x83], - ptx: concat!(include_str!("../ptx-sm86/moe_route_top10.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_postops.ptx", - key: [0x48, 0x6a, 0x73, 0xb0, 0x6b, 0x3a, 0x34, 0xf2, 0x98, 0xf5, 0x7e, 0x92, 0xc2, 0x0c, 0xc8, 0x39, 0x4d, 0xc5, 0x9d, 0x7b, 0xd8, 0x4b, 0x5c, 0xcc, 0xf8, 0xda, 0x53, 0xaa, 0x50, 0x81, 0xac, 0x9f], - len: 21830, - sha: [0x34, 0x00, 0x50, 0x40, 0x42, 0xb6, 0x9f, 0x98, 0x8b, 0x9a, 0x13, 0x3c, 0x2a, 0xea, 0xf8, 0x67, 0x69, 0xc7, 0xf3, 0x99, 0xfa, 0xaf, 0x94, 0xc6, 0x38, 0x7e, 0xbc, 0x6b, 0x46, 0xd3, 0x5d, 0xa9], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_postops.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_selected_kv.ptx", - key: [0x4f, 0x2a, 0xd2, 0x04, 0x10, 0x9b, 0xdd, 0x97, 0x4a, 0x7c, 0x96, 0x5d, 0x08, 0xd9, 0x06, 0x4a, 0xf5, 0x27, 0x56, 0xb1, 0xf6, 0xfc, 0x15, 0x02, 0x7f, 0x47, 0x7d, 0xe2, 0xfd, 0x88, 0x3f, 0x92], - len: 3842, - sha: [0x74, 0x02, 0x25, 0x5f, 0xdb, 0xe1, 0x21, 0xe0, 0x36, 0xaf, 0x74, 0x20, 0x3d, 0xb6, 0x0f, 0x61, 0xd9, 0xe2, 0xe4, 0xe1, 0x08, 0xbf, 0xbe, 0xdf, 0x17, 0xc4, 0xc3, 0x9f, 0xc0, 0x4e, 0xbf, 0x62], - ptx: concat!(include_str!("../ptx-sm86/qsa_selected_kv.ptx"), "\0").as_bytes(), - }, - Companion { - name: "experimental_kv_stream.ptx", - key: [0x4f, 0x71, 0xe7, 0x20, 0xe0, 0xca, 0x95, 0x0d, 0x32, 0x1b, 0xa3, 0xcb, 0xb2, 0x00, 0x82, 0xca, 0x47, 0x3e, 0x98, 0x39, 0xb7, 0x6d, 0x08, 0x89, 0x8e, 0x95, 0xb6, 0x62, 0x3b, 0xff, 0xfe, 0x50], - len: 34329, - sha: [0x9f, 0x99, 0x20, 0x44, 0x70, 0x2d, 0x0c, 0xa2, 0xf8, 0xcc, 0x0b, 0xfd, 0xfd, 0xb7, 0x55, 0x47, 0x59, 0x9f, 0x91, 0x26, 0x15, 0xff, 0xdb, 0x7c, 0xdb, 0x56, 0xcc, 0x06, 0x3c, 0xe8, 0xd6, 0xcf], - ptx: concat!(include_str!("../ptx-sm86/experimental_kv_stream.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_coupled.ptx", - key: [0x55, 0x47, 0x41, 0x61, 0x1c, 0xc0, 0x3e, 0x2c, 0x35, 0xb7, 0xab, 0x1d, 0xfc, 0xa9, 0xc6, 0xd6, 0xc0, 0x1b, 0x37, 0xc1, 0x7d, 0xd4, 0x91, 0x00, 0x0c, 0xcf, 0x0a, 0x23, 0xc3, 0xbb, 0xcb, 0xf9], - len: 482063, - sha: [0xee, 0x6c, 0x57, 0x9d, 0x55, 0x15, 0x6e, 0x90, 0x3a, 0xf6, 0xc1, 0x8e, 0x6a, 0x47, 0x32, 0x95, 0x5f, 0xc1, 0x26, 0xd4, 0x8a, 0x02, 0x86, 0x04, 0xdb, 0x99, 0xa4, 0xcc, 0x2f, 0xcf, 0x4d, 0x80], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_coupled.ptx"), "\0").as_bytes(), - }, - Companion { - name: "experimental_qsa_attn.ptx", - key: [0x56, 0x23, 0xa5, 0xae, 0x9b, 0x2e, 0xbd, 0x2f, 0xa0, 0x10, 0xc3, 0x34, 0x36, 0x7f, 0xfc, 0x54, 0x87, 0x9a, 0xc6, 0xdf, 0x76, 0xae, 0xf0, 0x83, 0x81, 0xdb, 0xd3, 0x2b, 0x0f, 0x7e, 0xf3, 0x11], - len: 128247, - sha: [0x2d, 0xe6, 0x09, 0xa4, 0xbf, 0x6e, 0xb8, 0x80, 0xbe, 0x59, 0x4d, 0x47, 0xc0, 0x7f, 0xe4, 0x0a, 0x78, 0xd2, 0x5d, 0x70, 0xc7, 0x4e, 0xcd, 0xa7, 0x95, 0x82, 0xbd, 0x61, 0x21, 0x74, 0x99, 0xe2], - ptx: concat!(include_str!("../ptx-sm86/experimental_qsa_attn.ptx"), "\0").as_bytes(), - }, - Companion { - name: "device_poison.ptx", - key: [0x58, 0x7b, 0x09, 0x7a, 0x20, 0x1a, 0x67, 0x30, 0xe8, 0xfe, 0x55, 0x43, 0x29, 0x19, 0x87, 0xbb, 0xf8, 0x07, 0xda, 0x72, 0xda, 0x12, 0xb8, 0xe0, 0xa1, 0x69, 0xf9, 0xe5, 0xe8, 0xf6, 0xa6, 0x58], - len: 870, - sha: [0xab, 0x97, 0x01, 0x5f, 0xd4, 0x7e, 0x02, 0xe2, 0xbf, 0xde, 0x42, 0x49, 0x25, 0x62, 0xa5, 0x52, 0xef, 0x78, 0xb6, 0x0b, 0x99, 0xf0, 0xf1, 0xf3, 0xbb, 0x43, 0x5a, 0x3c, 0x0c, 0x82, 0x59, 0xa9], - ptx: concat!(include_str!("../ptx-sm86/device_poison.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_iq3_s.ptx", - key: [0x58, 0xd0, 0x68, 0xff, 0x3a, 0xcc, 0x42, 0x11, 0x61, 0x4f, 0x70, 0xab, 0x04, 0x70, 0x3a, 0x40, 0x85, 0x8e, 0x14, 0x8f, 0x9a, 0xef, 0x85, 0x03, 0xed, 0x66, 0xf7, 0x64, 0x0a, 0xe2, 0xe2, 0xaa], - len: 25114, - sha: [0x36, 0xc2, 0xf6, 0x8c, 0x0d, 0x3a, 0x3c, 0x52, 0x47, 0x87, 0xec, 0xf0, 0x3a, 0x1f, 0x33, 0xe2, 0xda, 0x93, 0x0a, 0x49, 0x17, 0x41, 0x9e, 0xa5, 0x89, 0x3c, 0xca, 0xa2, 0x8c, 0x33, 0xa8, 0x8c], - ptx: concat!(include_str!("../ptx-sm86/moe_group_iq3_s.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_sampler.ptx", - key: [0x59, 0x1a, 0xa3, 0xdd, 0xa5, 0x2f, 0x41, 0xf0, 0xd1, 0x95, 0x41, 0x6c, 0xf0, 0x93, 0x96, 0x25, 0x68, 0xd2, 0xf8, 0x3d, 0x6f, 0x76, 0x2a, 0x96, 0x78, 0xbe, 0x61, 0x94, 0x6c, 0xec, 0xb7, 0x5b], - len: 475837, - sha: [0x3c, 0xf7, 0xa3, 0x0f, 0x81, 0x6f, 0x9f, 0x27, 0xa2, 0x2f, 0xf8, 0x21, 0x11, 0x7e, 0x9b, 0xff, 0x7c, 0xbc, 0xc3, 0x19, 0x69, 0xac, 0x25, 0x5d, 0x32, 0xb4, 0x0d, 0xdd, 0x4d, 0xda, 0xdc, 0x40], - ptx: concat!(include_str!("../ptx-sm86/original_sampler.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq-selected.ptx", - key: [0x5a, 0x56, 0xd8, 0xeb, 0x66, 0xf1, 0xf9, 0x8e, 0x3c, 0xb3, 0xab, 0x75, 0x18, 0x1e, 0x0f, 0x26, 0x3e, 0x4d, 0x51, 0xc4, 0xe7, 0x1e, 0x27, 0xab, 0x2b, 0xc9, 0x9a, 0x1a, 0x3b, 0x7c, 0x01, 0xcb], - len: 955352, - sha: [0xc1, 0x5b, 0x58, 0x0a, 0x9f, 0xdc, 0x85, 0x67, 0x39, 0xfc, 0xa0, 0xa5, 0x68, 0x57, 0xfc, 0x7e, 0x7e, 0xc0, 0x1b, 0x4f, 0x1c, 0x99, 0x3f, 0xfb, 0x2e, 0xde, 0x04, 0x66, 0x01, 0x04, 0x86, 0x28], - ptx: concat!(include_str!("../ptx-sm86/mmq-selected.ptx"), "\0").as_bytes(), - }, - Companion { - name: "offline_gdn_prefill.ptx", - key: [0x5c, 0xc3, 0xa0, 0x28, 0x5d, 0xb9, 0x83, 0xce, 0xbe, 0x9e, 0x35, 0xfa, 0xc2, 0xd5, 0x3e, 0x57, 0x32, 0x68, 0xaf, 0x81, 0x7f, 0x13, 0x1b, 0x23, 0x40, 0xbd, 0x00, 0x3a, 0xe3, 0xe1, 0x64, 0xce], - len: 52304, - sha: [0x12, 0x71, 0xac, 0x05, 0x6e, 0xa0, 0x13, 0x2b, 0xda, 0x7d, 0x11, 0x57, 0x0a, 0x29, 0x6d, 0x00, 0x81, 0x1d, 0x82, 0xe3, 0x90, 0x1d, 0x6c, 0x5d, 0x77, 0x14, 0x77, 0xf8, 0xd9, 0x60, 0x6c, 0x37], - ptx: concat!(include_str!("../ptx-sm86/offline_gdn_prefill.ptx"), "\0").as_bytes(), - }, - Companion { - name: "ple_native_batch.ptx", - key: [0x5f, 0xa5, 0xc9, 0x30, 0xf4, 0x0c, 0xb4, 0x9d, 0x9e, 0x79, 0xa3, 0x5e, 0x19, 0x11, 0xc6, 0x85, 0x81, 0xf9, 0x2c, 0x09, 0x77, 0x50, 0xef, 0xf2, 0x8c, 0x24, 0x5e, 0x28, 0x70, 0x96, 0x4a, 0x40], - len: 19699, - sha: [0xf9, 0xa3, 0x97, 0x01, 0xe2, 0xcc, 0xf0, 0xf6, 0xf7, 0x2d, 0x5e, 0xce, 0x56, 0x6b, 0x78, 0x09, 0x33, 0xea, 0xdd, 0xe6, 0x89, 0xe7, 0xff, 0x50, 0x2a, 0xcf, 0x87, 0xdb, 0x63, 0xf5, 0xd8, 0x5f], - ptx: concat!(include_str!("../ptx-sm86/ple_native_batch.ptx"), "\0").as_bytes(), - }, - Companion { - name: "ple_value_full_fixed.ptx", - key: [0x61, 0x80, 0xf3, 0xde, 0xbc, 0x74, 0x34, 0x9d, 0x62, 0xe2, 0x9c, 0x17, 0xe0, 0x75, 0x17, 0xac, 0x6c, 0x15, 0x1e, 0x71, 0xea, 0xe6, 0x72, 0x97, 0x85, 0x66, 0x49, 0x58, 0x84, 0x23, 0x25, 0xd0], - len: 5199, - sha: [0xbf, 0xcd, 0x7c, 0x88, 0x44, 0x62, 0xc1, 0xe1, 0xe2, 0x8e, 0x3f, 0x73, 0xc7, 0x25, 0x0f, 0xbb, 0xa5, 0x1b, 0xc0, 0xc9, 0x5f, 0x03, 0x7d, 0xba, 0x18, 0x4f, 0x32, 0x24, 0x75, 0x8f, 0xaa, 0x33], - ptx: concat!(include_str!("../ptx-sm86/ple_value_full_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q5_k_q8_1.ptx", - key: [0x65, 0xcd, 0x98, 0x13, 0x8e, 0x2a, 0xd9, 0xd1, 0xc2, 0x71, 0x1f, 0xf7, 0xfc, 0x27, 0x28, 0x0f, 0x07, 0xf1, 0xa2, 0x24, 0xfc, 0xdd, 0x2a, 0xbe, 0xea, 0x9b, 0xed, 0xf9, 0xd9, 0xd3, 0xff, 0xfc], - len: 33608, - sha: [0x24, 0x64, 0xea, 0x04, 0x0f, 0xfa, 0x4d, 0xa2, 0x03, 0xe7, 0xde, 0xe9, 0x14, 0x5a, 0x1e, 0xa9, 0x88, 0xdb, 0x90, 0x2d, 0xff, 0xe7, 0xa1, 0x6d, 0x4f, 0x2c, 0xf1, 0x77, 0xcd, 0x7d, 0x32, 0xd6], - ptx: concat!(include_str!("../ptx-sm86/q5_k_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "native_head_iq.ptx", - key: [0x66, 0xd3, 0xe6, 0x22, 0xee, 0x4f, 0xb8, 0xb6, 0x71, 0x92, 0x8a, 0x73, 0xda, 0xe7, 0x03, 0x85, 0xe4, 0x41, 0x5d, 0xb4, 0x7a, 0xd5, 0x34, 0x2d, 0x5e, 0xb0, 0xd2, 0x50, 0x7b, 0xea, 0xb5, 0xe4], - len: 753628, - sha: [0x90, 0xda, 0x63, 0x69, 0xf0, 0x50, 0x9e, 0x6c, 0xa6, 0x41, 0xb0, 0xa4, 0x7d, 0xce, 0x03, 0x81, 0xe8, 0x8c, 0x27, 0xf0, 0x0e, 0xb4, 0x18, 0x19, 0x82, 0xd9, 0x42, 0x22, 0x16, 0x97, 0x2a, 0x2c], - ptx: concat!(include_str!("../ptx-sm86/native_head_iq.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_device_gate.ptx", - key: [0x69, 0xf0, 0x3b, 0xe1, 0x7d, 0xb1, 0x7a, 0xba, 0x2f, 0x82, 0x8c, 0xf4, 0x37, 0x91, 0x0a, 0x4d, 0xb6, 0x63, 0x23, 0x97, 0x3d, 0xaa, 0x8b, 0x1a, 0x45, 0x9c, 0x24, 0x18, 0xf9, 0x11, 0x45, 0xd4], - len: 2382, - sha: [0x3b, 0xca, 0x8a, 0x59, 0x4f, 0x37, 0xdd, 0x80, 0xff, 0x12, 0xbd, 0x9b, 0x2c, 0x45, 0x4b, 0x76, 0x68, 0xf2, 0x26, 0x57, 0x1a, 0x2f, 0x2c, 0x5d, 0x33, 0x89, 0xd7, 0xa5, 0xa9, 0x81, 0xba, 0xa7], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_device_gate.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q6_batch_preview.ptx", - key: [0x6a, 0x4d, 0x43, 0xe4, 0x1a, 0x45, 0xd9, 0x9f, 0xbb, 0xaa, 0xe3, 0x91, 0x70, 0x38, 0xe2, 0x81, 0xf1, 0x1d, 0x04, 0x37, 0x0e, 0x02, 0x59, 0xea, 0x70, 0x26, 0x81, 0x14, 0x42, 0x96, 0xde, 0x79], - len: 28112, - sha: [0xf5, 0x4e, 0xea, 0xa6, 0xeb, 0x53, 0xa4, 0xd5, 0x02, 0x34, 0x4f, 0x90, 0x8f, 0x97, 0x65, 0xaa, 0xdf, 0x44, 0x53, 0x77, 0xd4, 0x3a, 0x70, 0x53, 0x23, 0x59, 0xfe, 0xe2, 0x33, 0xa0, 0x06, 0x73], - ptx: concat!(include_str!("../ptx-sm86/q6_batch_preview.ptx"), "\0").as_bytes(), - }, - Companion { - name: "prefill_stage.ptx", - key: [0x6f, 0x8f, 0xb3, 0xbb, 0xd1, 0x11, 0x71, 0xc9, 0x39, 0x02, 0x97, 0xd5, 0xd2, 0xc9, 0xcb, 0x90, 0x76, 0xd4, 0xb6, 0x51, 0xf2, 0xa7, 0x04, 0x2b, 0xf1, 0x6f, 0x4c, 0xaf, 0x89, 0xa5, 0xb3, 0x84], - len: 161928, - sha: [0xd8, 0x1a, 0x87, 0x43, 0x7b, 0x72, 0x6b, 0xcf, 0x1a, 0x9d, 0xf0, 0xca, 0x6d, 0x5e, 0xbe, 0xdf, 0x5c, 0x06, 0xda, 0xce, 0xe6, 0x88, 0xbd, 0xc8, 0xfe, 0x91, 0x78, 0x91, 0xcc, 0x0c, 0xda, 0x4b], - ptx: concat!(include_str!("../ptx-sm86/prefill_stage.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_verify_window_pcie_fast.ptx", - key: [0x74, 0x07, 0x85, 0x9f, 0x8d, 0x88, 0x81, 0x66, 0x3f, 0x3a, 0x64, 0x6e, 0xbe, 0x28, 0x8c, 0x31, 0x13, 0x8c, 0xce, 0x32, 0x27, 0xc1, 0xc5, 0xd9, 0xe2, 0xe5, 0x92, 0x64, 0x8e, 0xd7, 0x7a, 0xea], - len: 71051, - sha: [0x23, 0x48, 0x1b, 0x50, 0xaf, 0x2c, 0x50, 0x1b, 0x04, 0xed, 0xc1, 0xe9, 0xd4, 0xa3, 0x85, 0x35, 0xcf, 0x83, 0x88, 0x46, 0xaa, 0x57, 0xd4, 0x4f, 0x0b, 0xcf, 0x2c, 0x2d, 0xc7, 0xf3, 0xd1, 0xa3], - ptx: concat!(include_str!("../ptx-sm86/original_verify_window_pcie_fast.ptx"), "\0").as_bytes(), - }, - Companion { - name: "experimental_kv_q4.ptx", - key: [0x74, 0x66, 0x5b, 0x01, 0x6f, 0xde, 0x9d, 0xc4, 0xf5, 0x0a, 0x36, 0xe6, 0x2c, 0xbf, 0x2e, 0x57, 0x8c, 0x73, 0x5e, 0x48, 0xe3, 0xbe, 0x51, 0xb7, 0x07, 0x34, 0xe9, 0xe5, 0x39, 0x42, 0xcd, 0xe7], - len: 36319, - sha: [0x36, 0x1d, 0xb3, 0xe8, 0x47, 0x1e, 0x42, 0x77, 0x8a, 0x4b, 0x7d, 0x45, 0x9a, 0xf7, 0x28, 0x9a, 0xa8, 0xe8, 0x01, 0x7b, 0xb3, 0xa7, 0x45, 0x5e, 0x6a, 0xa2, 0xe0, 0x49, 0xb2, 0x2a, 0xd0, 0x93], - ptx: concat!(include_str!("../ptx-sm86/experimental_kv_q4.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qwen_qsa_attention_native.ptx", - key: [0x77, 0x72, 0xe4, 0xe7, 0x5d, 0x78, 0xa9, 0x91, 0x01, 0x44, 0xca, 0x10, 0x85, 0x51, 0x80, 0x0f, 0xd4, 0x29, 0x69, 0x55, 0x78, 0x15, 0x40, 0xaf, 0xb6, 0x5f, 0x53, 0xd6, 0x12, 0xd7, 0xe1, 0xf3], - len: 3139, - sha: [0xda, 0xb3, 0xfd, 0x1c, 0xe3, 0xde, 0x7e, 0xfc, 0x94, 0x1e, 0xcb, 0x26, 0x84, 0x33, 0x6d, 0xea, 0x26, 0xe3, 0x61, 0xd6, 0xc5, 0x0a, 0xbd, 0x45, 0xdc, 0xf2, 0x0f, 0x2e, 0x1e, 0x8f, 0x86, 0xdd], - ptx: concat!(include_str!("../ptx-sm86/qwen_qsa_attention_native.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_iq3_xxs.ptx", - key: [0x78, 0x82, 0x05, 0x48, 0x65, 0xe5, 0x55, 0x01, 0x0d, 0x4d, 0x60, 0xfc, 0x21, 0xf1, 0xae, 0xbb, 0x97, 0xb1, 0x0d, 0xc0, 0x6a, 0xf1, 0xaf, 0xe3, 0xd0, 0x9f, 0xce, 0x21, 0x96, 0xac, 0x37, 0x67], - len: 16161, - sha: [0xd7, 0x67, 0xad, 0x5a, 0x01, 0x05, 0x0a, 0x8e, 0xc6, 0x8b, 0x73, 0xc3, 0xb5, 0x30, 0x05, 0x09, 0x40, 0x2a, 0x5f, 0x25, 0x14, 0xd6, 0x72, 0xf1, 0x93, 0x01, 0x71, 0xa5, 0xef, 0x98, 0x65, 0xbc], - ptx: concat!(include_str!("../ptx-sm86/moe_group_iq3_xxs.ptx"), "\0").as_bytes(), - }, - Companion { - name: "head_greedy.ptx", - key: [0x78, 0x9f, 0xb7, 0xfc, 0xd5, 0x56, 0x4d, 0xea, 0xac, 0x9e, 0xbd, 0x24, 0x79, 0x7d, 0x3a, 0x15, 0xcd, 0xbb, 0x7c, 0x45, 0xf3, 0x97, 0xa7, 0x72, 0x05, 0x7a, 0x6c, 0x5e, 0xd3, 0xf5, 0x2e, 0xb1], - len: 4291, - sha: [0x00, 0xa5, 0xe1, 0x17, 0x6c, 0xc8, 0x95, 0x28, 0x19, 0x41, 0x5f, 0x62, 0x2b, 0x88, 0x6e, 0xea, 0xc3, 0xd6, 0x7b, 0x1f, 0x2b, 0xd5, 0xa4, 0xf9, 0xc7, 0x2e, 0xde, 0x97, 0x85, 0xdf, 0xd8, 0x6e], - ptx: concat!(include_str!("../ptx-sm86/head_greedy.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_gr_fixed.ptx", - key: [0x7a, 0xba, 0x70, 0x01, 0x45, 0xb1, 0x9a, 0x09, 0x1d, 0x1c, 0xa2, 0x77, 0x44, 0x62, 0x01, 0xff, 0x47, 0x69, 0xba, 0xa3, 0x66, 0xe7, 0xd5, 0xa0, 0x29, 0x4a, 0x91, 0xe7, 0x6b, 0xa6, 0x09, 0xd4], - len: 103348, - sha: [0xcf, 0xa8, 0x85, 0xcd, 0x69, 0xf9, 0x51, 0xd3, 0x61, 0x67, 0x31, 0x9a, 0xb0, 0x5b, 0x5a, 0x6b, 0xbd, 0xce, 0x95, 0x98, 0xc9, 0x13, 0x3c, 0xd4, 0x30, 0x0d, 0x18, 0xa1, 0x92, 0x8f, 0x24, 0xdd], - ptx: concat!(include_str!("../ptx-sm86/mtp_gr_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "gdn_fixed.ptx", - key: [0x7b, 0x2f, 0x20, 0x3c, 0xe1, 0xb1, 0xb4, 0xc7, 0xe6, 0x3b, 0xb5, 0x6a, 0x1f, 0x7c, 0x35, 0x1a, 0x21, 0x3e, 0x1f, 0x5d, 0xf9, 0x71, 0x1a, 0xd2, 0xd8, 0xdb, 0x30, 0x47, 0xae, 0xad, 0x9e, 0x25], - len: 35268, - sha: [0x09, 0x82, 0x29, 0x8e, 0xa9, 0xf8, 0xe4, 0xbf, 0xa7, 0x0e, 0xef, 0xb1, 0xde, 0xe0, 0xa4, 0x30, 0x73, 0x74, 0x38, 0x9b, 0x3d, 0x60, 0x4d, 0xf5, 0xea, 0x50, 0x7f, 0x35, 0xb5, 0x2f, 0xe4, 0x10], - ptx: concat!(include_str!("../ptx-sm86/gdn_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "offline_gdn_fused_t1.ptx", - key: [0x7b, 0xd0, 0x09, 0x09, 0x27, 0x3c, 0x41, 0x06, 0x55, 0xc3, 0xe1, 0x78, 0x1e, 0x58, 0xd2, 0x1a, 0xe1, 0x54, 0x18, 0x1f, 0xbd, 0x74, 0xc6, 0xb2, 0x11, 0x55, 0x74, 0x8c, 0x97, 0x03, 0x5d, 0xd3], - len: 51663, - sha: [0x5d, 0x2d, 0xa8, 0x20, 0xdb, 0xc9, 0x31, 0x38, 0xe6, 0xa7, 0xce, 0x85, 0x92, 0xc7, 0x1e, 0xc3, 0xd6, 0xa2, 0xb1, 0x0d, 0x57, 0xd1, 0x89, 0xa2, 0xab, 0x50, 0x7d, 0xce, 0x5b, 0x20, 0xd0, 0x1c], - ptx: concat!(include_str!("../ptx-sm86/offline_gdn_fused_t1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_native_decode.ptx", - key: [0x7c, 0x98, 0xe8, 0xf0, 0x08, 0x92, 0x14, 0x23, 0xe3, 0x05, 0x9f, 0x81, 0xf9, 0xf4, 0xe3, 0x17, 0xeb, 0x40, 0x7d, 0x15, 0xd6, 0xb9, 0x81, 0x5a, 0xe6, 0xda, 0xd7, 0x92, 0x08, 0x83, 0xb0, 0xda], - len: 55720, - sha: [0xde, 0x1e, 0x3c, 0x7a, 0xe0, 0x3c, 0x7e, 0x7f, 0x57, 0x47, 0x2e, 0xbd, 0xe7, 0x58, 0x1f, 0xf0, 0x51, 0x62, 0xb5, 0x45, 0xb1, 0x00, 0x27, 0xf9, 0x6b, 0x2b, 0x36, 0xc4, 0x10, 0xd1, 0xa3, 0x65], - ptx: concat!(include_str!("../ptx-sm86/qsa_native_decode.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_prefill_embedding.ptx", - key: [0x7e, 0x49, 0xc0, 0x3b, 0x93, 0x3c, 0xdf, 0x6a, 0x4a, 0x79, 0x37, 0x6f, 0xfa, 0x97, 0xf0, 0x61, 0x88, 0x7a, 0x54, 0x92, 0x46, 0x77, 0x43, 0xd0, 0x8e, 0x28, 0x5a, 0x13, 0x95, 0x58, 0x0f, 0xc8], - len: 847405, - sha: [0x2c, 0xe1, 0xd3, 0xe9, 0xaa, 0x97, 0x2f, 0x1f, 0xd0, 0xc1, 0x34, 0x27, 0x21, 0x66, 0xd2, 0x72, 0x22, 0xe9, 0x3b, 0xae, 0x18, 0xda, 0x19, 0xfc, 0x11, 0x97, 0x41, 0x6f, 0x26, 0x4a, 0xe5, 0x54], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_prefill_embedding.ptx"), "\0").as_bytes(), - }, - Companion { - name: "native_head_native.ptx", - key: [0x81, 0xa3, 0x99, 0x0c, 0x14, 0x3e, 0x45, 0x1d, 0xac, 0x79, 0x48, 0x62, 0xcf, 0x73, 0x3f, 0x5f, 0x41, 0x21, 0xf5, 0x2a, 0xa0, 0x70, 0x50, 0xc5, 0x6e, 0x06, 0x1c, 0x17, 0x63, 0xd1, 0x47, 0x9a], - len: 7398533, - sha: [0xe5, 0x44, 0x90, 0xc3, 0x6e, 0x5c, 0xd5, 0xbf, 0x1f, 0x3c, 0x77, 0xc1, 0xaa, 0xf0, 0xdb, 0x21, 0x1c, 0x06, 0x0d, 0x53, 0xfa, 0x93, 0x0a, 0x7a, 0xd0, 0xd4, 0xe9, 0xa5, 0x1c, 0xb9, 0x33, 0x89], - ptx: concat!(include_str!("../ptx-sm86/native_head_native.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_session_native_rope.ptx", - key: [0x85, 0xb7, 0xef, 0x7c, 0xa5, 0x94, 0x3d, 0xbd, 0x71, 0x07, 0x10, 0x6b, 0x30, 0x29, 0xd5, 0x02, 0x7b, 0x46, 0x44, 0x14, 0x8d, 0x70, 0x05, 0xa4, 0x7d, 0xef, 0x7f, 0xa9, 0x01, 0xa3, 0xd7, 0x0a], - len: 10518, - sha: [0x8e, 0x24, 0xc9, 0xe8, 0x0e, 0xe3, 0x11, 0xc7, 0x82, 0x77, 0x00, 0x77, 0x70, 0x3c, 0x7c, 0x11, 0x2a, 0x16, 0x3b, 0xb1, 0x12, 0x3c, 0x95, 0xb8, 0xc3, 0x12, 0x38, 0x0d, 0xf7, 0x14, 0x03, 0x25], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_session_native_rope.ptx"), "\0").as_bytes(), - }, - Companion { - name: "native_head_sampler.ptx", - key: [0x86, 0x3d, 0xb1, 0x3d, 0xc6, 0x50, 0x23, 0x20, 0x6e, 0xb1, 0xa4, 0x5f, 0x29, 0xd4, 0xb9, 0x90, 0xa6, 0x59, 0x57, 0xba, 0x15, 0xd7, 0x83, 0xc2, 0x32, 0x9b, 0xbd, 0x88, 0xec, 0x61, 0x33, 0x3f], - len: 497973, - sha: [0xe8, 0x64, 0x39, 0x00, 0x9f, 0x42, 0xe6, 0xbf, 0x64, 0xbf, 0xfa, 0xe8, 0x1c, 0xdc, 0x7e, 0xef, 0x69, 0x3f, 0xac, 0x9c, 0x09, 0x32, 0x80, 0x3f, 0xf0, 0x20, 0x8f, 0x85, 0x07, 0x1a, 0x86, 0x49], - ptx: concat!(include_str!("../ptx-sm86/native_head_sampler.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq_resident_helpers.ptx", - key: [0x87, 0x0c, 0x6b, 0xc8, 0xa6, 0xec, 0x32, 0x0a, 0x05, 0x9c, 0x50, 0xbe, 0x9d, 0x5c, 0x96, 0x2f, 0xed, 0xec, 0x86, 0x63, 0x4d, 0x98, 0x8f, 0xc0, 0xe6, 0xb9, 0xd7, 0xed, 0xea, 0x11, 0x8d, 0x89], - len: 4045, - sha: [0x66, 0x8f, 0x35, 0x95, 0xce, 0x0d, 0xc7, 0x12, 0x77, 0x2b, 0x80, 0xbd, 0xa3, 0xb8, 0x5b, 0x5f, 0x05, 0xdd, 0x89, 0x23, 0x2a, 0x0a, 0x15, 0x00, 0x46, 0xff, 0x1f, 0xc4, 0xb1, 0x37, 0x90, 0x94], - ptx: concat!(include_str!("../ptx-sm86/mmq_resident_helpers.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_kv.ptx", - key: [0x87, 0xfd, 0x96, 0x69, 0xca, 0x28, 0x05, 0xe3, 0xaf, 0x3f, 0x97, 0x26, 0xb9, 0xd6, 0x92, 0x66, 0xda, 0xea, 0xc4, 0x17, 0x25, 0x31, 0x6a, 0x38, 0x23, 0x63, 0xc9, 0x56, 0xfd, 0x51, 0x04, 0x65], - len: 12143, - sha: [0xad, 0xce, 0x0f, 0xc9, 0xb8, 0x5a, 0x2f, 0x60, 0x52, 0xcc, 0xd1, 0x13, 0x55, 0xf9, 0x11, 0x8b, 0x88, 0x63, 0x4e, 0x52, 0x31, 0x46, 0xe9, 0xfa, 0x8e, 0x1f, 0x86, 0xf0, 0xe8, 0xdb, 0x5b, 0x6c], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_kv.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_gr_write.ptx", - key: [0x88, 0x1e, 0x38, 0xf0, 0xc9, 0x78, 0x6c, 0xed, 0x23, 0x8b, 0x7a, 0x00, 0x14, 0x8a, 0x2e, 0x16, 0xac, 0xff, 0x92, 0x7f, 0x7b, 0x8d, 0xe6, 0x6a, 0x1d, 0xd5, 0x83, 0xab, 0xf8, 0x1c, 0xf5, 0xb1], - len: 133910, - sha: [0x3b, 0xb1, 0x46, 0x0d, 0xe3, 0x5d, 0xa4, 0x42, 0x21, 0x7f, 0xf0, 0x35, 0x38, 0x7c, 0xaf, 0xc5, 0x33, 0x3a, 0x7d, 0x6b, 0x6c, 0x31, 0x16, 0xc5, 0x8a, 0xb3, 0x0a, 0xce, 0xd9, 0x62, 0x0c, 0xd1], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_gr_write.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_indexer.ptx", - key: [0x89, 0x15, 0x70, 0x0d, 0xd8, 0x1c, 0x99, 0x08, 0x3d, 0xe3, 0xcf, 0xf4, 0xed, 0x5d, 0x1a, 0x8b, 0x9a, 0x0c, 0x5d, 0xb1, 0x8c, 0x4d, 0x6d, 0xef, 0x9d, 0x49, 0xb3, 0xbb, 0xc8, 0xf2, 0x82, 0x30], - len: 30560, - sha: [0x51, 0x62, 0x2e, 0x4f, 0x08, 0xa7, 0xe1, 0xfb, 0x52, 0x0f, 0xac, 0x0d, 0x0d, 0x8d, 0x2c, 0x3b, 0x61, 0xdc, 0xa1, 0x22, 0x70, 0x51, 0xaa, 0x14, 0xf6, 0xf7, 0x7d, 0xfc, 0x0a, 0xdf, 0x57, 0xad], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_indexer.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_resolver.ptx", - key: [0x8d, 0x3e, 0xcb, 0xae, 0xcb, 0xf2, 0x84, 0x45, 0xba, 0x64, 0x48, 0x5b, 0xdf, 0xf3, 0xd9, 0x1a, 0x21, 0xd8, 0x7b, 0x85, 0xd5, 0x93, 0x9a, 0x01, 0x52, 0xef, 0x2f, 0x24, 0x14, 0x48, 0x0e, 0x22], - len: 23915, - sha: [0x32, 0xd9, 0x6c, 0xa6, 0xa7, 0x2f, 0x40, 0xed, 0xa2, 0x1d, 0x51, 0xd9, 0xf4, 0xd4, 0xd3, 0x77, 0xc3, 0x73, 0xc6, 0x37, 0x83, 0xcc, 0x42, 0x29, 0x10, 0x88, 0x3b, 0xb8, 0xd8, 0xd8, 0xb0, 0x8d], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_resolver.ptx"), "\0").as_bytes(), - }, - Companion { - name: "q2_0_q8_1.ptx", - key: [0x8e, 0x81, 0xdb, 0xba, 0xa7, 0x6d, 0x85, 0x16, 0x47, 0x63, 0x39, 0xc1, 0x68, 0xf1, 0xd9, 0xc1, 0x72, 0x34, 0x1a, 0x78, 0xcc, 0xec, 0xda, 0x08, 0x71, 0x4a, 0x13, 0xa5, 0x68, 0x7e, 0x3b, 0x6e], - len: 18542, - sha: [0x8a, 0x25, 0x1c, 0x65, 0x02, 0x31, 0xac, 0x07, 0xa0, 0xce, 0xa8, 0xdd, 0xa2, 0x12, 0xbb, 0x84, 0xd1, 0xcf, 0x5c, 0xa3, 0x72, 0xf6, 0x30, 0xce, 0x03, 0x23, 0x81, 0xe0, 0x18, 0xce, 0x59, 0xf5], - ptx: concat!(include_str!("../ptx-sm86/q2_0_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_element.ptx", - key: [0x8f, 0xdf, 0xdf, 0x8e, 0xf6, 0x16, 0x69, 0x8c, 0x12, 0x30, 0x1f, 0x7d, 0xf4, 0x71, 0x6f, 0xc0, 0x22, 0xbf, 0x34, 0xb4, 0x19, 0x09, 0x9e, 0x4c, 0x97, 0x27, 0x29, 0x92, 0x0b, 0xd5, 0xf4, 0xa7], - len: 54956, - sha: [0xe3, 0xd7, 0x50, 0x63, 0x73, 0xa9, 0x30, 0x1c, 0x4d, 0x0e, 0xbd, 0x40, 0x13, 0x17, 0x2c, 0xce, 0x60, 0x91, 0xfc, 0xd5, 0x87, 0xb2, 0xad, 0xc3, 0x54, 0x1b, 0x6a, 0x55, 0xb9, 0xd5, 0xf1, 0xfd], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_element.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_prompt_attention_variants.ptx", - key: [0x90, 0x41, 0xe2, 0x50, 0xf6, 0xff, 0xca, 0x2f, 0x84, 0x9c, 0x20, 0x60, 0x5a, 0x3f, 0x75, 0x8c, 0x54, 0xf7, 0x85, 0x6e, 0x7c, 0xd0, 0x15, 0xc8, 0xa1, 0xda, 0x66, 0x25, 0x04, 0x8d, 0x6a, 0xac], - len: 216290, - sha: [0xa3, 0xe4, 0xd6, 0x97, 0x57, 0x88, 0xd1, 0x26, 0x72, 0xe3, 0x85, 0x5e, 0x5e, 0x9f, 0x16, 0x56, 0x0d, 0x3d, 0x82, 0x63, 0xb7, 0x52, 0x16, 0xaa, 0xf0, 0x89, 0x5c, 0x57, 0x98, 0x70, 0xbb, 0x7d], - ptx: concat!(include_str!("../ptx-sm86/qsa_prompt_attention_variants.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qwen_qsa_attention.ptx", - key: [0x91, 0x21, 0x9c, 0xfb, 0xc1, 0xa7, 0x7c, 0x4b, 0xb6, 0x66, 0x61, 0x06, 0x0a, 0xc9, 0x39, 0xa5, 0x0d, 0xc4, 0xc4, 0xd7, 0xd4, 0xdb, 0x8d, 0x50, 0xbc, 0x59, 0xfb, 0xcd, 0x16, 0x75, 0x62, 0xb2], - len: 26737, - sha: [0xc1, 0x11, 0xc6, 0x12, 0x6a, 0x3a, 0x67, 0x5e, 0xc8, 0x87, 0x20, 0x88, 0x1d, 0x46, 0x99, 0xa6, 0xe7, 0x21, 0x84, 0xd2, 0xf4, 0x55, 0x87, 0x9a, 0xe0, 0x85, 0x5c, 0x56, 0xb8, 0x48, 0xbe, 0xa1], - ptx: concat!(include_str!("../ptx-sm86/qwen_qsa_attention.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_down_q2_0.ptx", - key: [0x94, 0x7d, 0x08, 0xc4, 0x10, 0x9a, 0x19, 0x7a, 0xa1, 0xfa, 0xfc, 0xa4, 0xe8, 0xc9, 0x82, 0x3c, 0x91, 0xa8, 0xbd, 0xa0, 0x34, 0xb1, 0x62, 0x79, 0x2c, 0x83, 0x9a, 0x67, 0x97, 0x55, 0x19, 0xda], - len: 13458, - sha: [0xfc, 0x1a, 0xfa, 0x0b, 0x72, 0x43, 0x38, 0xd9, 0x31, 0x48, 0x1f, 0x41, 0x61, 0x6b, 0x8d, 0x25, 0x1f, 0x15, 0x0d, 0x06, 0x5d, 0x91, 0x15, 0x1a, 0x77, 0x12, 0xf9, 0xa9, 0x41, 0xce, 0x25, 0x4f], - ptx: concat!(include_str!("../ptx-sm86/moe_group_down_q2_0.ptx"), "\0").as_bytes(), - }, - Companion { - name: "iq3_s_q8_1.ptx", - key: [0x94, 0xf7, 0x98, 0xc0, 0x08, 0x13, 0xc2, 0xfb, 0x86, 0x0b, 0x4b, 0xf7, 0x7b, 0xe9, 0x22, 0x57, 0x67, 0xd4, 0x08, 0x95, 0x5e, 0x34, 0x21, 0x33, 0x0a, 0xc3, 0x4a, 0x4e, 0xbd, 0x43, 0x97, 0x8f], - len: 24712, - sha: [0xb1, 0x98, 0x60, 0x07, 0x0e, 0x69, 0xdc, 0xcd, 0x5e, 0x98, 0xd1, 0xe6, 0xbc, 0x7c, 0xdd, 0xcd, 0xa2, 0x92, 0x8e, 0xfb, 0xd3, 0xf0, 0xbd, 0x21, 0x56, 0x8f, 0xd1, 0xae, 0x7d, 0x4a, 0xe9, 0x27], - ptx: concat!(include_str!("../ptx-sm86/iq3_s_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_gr_post.ptx", - key: [0x9b, 0x47, 0x9c, 0x0f, 0x41, 0x2a, 0xe0, 0x07, 0x73, 0x81, 0x5c, 0x9a, 0x6d, 0x89, 0xd7, 0xf4, 0xc3, 0xf7, 0xa9, 0xf0, 0xf6, 0x91, 0x87, 0x6d, 0xe8, 0x05, 0xeb, 0x38, 0x17, 0x8d, 0x97, 0x90], - len: 35821, - sha: [0x77, 0x93, 0x32, 0x2e, 0x19, 0x00, 0x2f, 0xe8, 0x19, 0x97, 0xbc, 0xab, 0x03, 0xb9, 0xf4, 0xce, 0xd6, 0xce, 0x07, 0x62, 0xde, 0x88, 0x6b, 0xed, 0xe9, 0xbb, 0x11, 0xa9, 0xd3, 0x80, 0xf6, 0x4c], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_gr_post.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_native_batch.ptx", - key: [0x9b, 0xa6, 0x85, 0x23, 0xb6, 0x7a, 0x0e, 0x3b, 0x80, 0xfc, 0x16, 0x7b, 0x97, 0x30, 0x19, 0x63, 0xcf, 0x15, 0x98, 0x12, 0xcd, 0x15, 0x7f, 0x03, 0xc5, 0xa0, 0x2b, 0x69, 0xfd, 0xa2, 0x2f, 0xc7], - len: 4566, - sha: [0xcb, 0xf1, 0x3c, 0x31, 0x7b, 0x78, 0x84, 0x54, 0x28, 0xc9, 0x86, 0xe9, 0xa9, 0xbf, 0xc0, 0x47, 0x53, 0x30, 0x29, 0x55, 0x51, 0x3a, 0x4a, 0xfd, 0x11, 0xf1, 0x39, 0xf2, 0x62, 0x22, 0xb6, 0xff], - ptx: concat!(include_str!("../ptx-sm86/qsa_native_batch.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_session_legacy_rope.ptx", - key: [0x9b, 0xba, 0x3b, 0x35, 0x85, 0x0c, 0xe3, 0x86, 0x9e, 0x32, 0xc5, 0x6c, 0x9d, 0xe6, 0x6a, 0x06, 0x52, 0x69, 0x11, 0x88, 0xf4, 0xc7, 0xff, 0x1d, 0xc4, 0xb1, 0xee, 0x9b, 0x2f, 0x9d, 0x0d, 0x9f], - len: 12202, - sha: [0x25, 0x7e, 0x32, 0x1a, 0xbe, 0xa3, 0x30, 0x92, 0x6b, 0x29, 0x9a, 0x6a, 0x03, 0x03, 0x0d, 0x4c, 0xd2, 0xdf, 0x98, 0xe1, 0xf9, 0x7f, 0xfe, 0x07, 0x2d, 0xc1, 0x83, 0xc1, 0x1c, 0x5b, 0x9d, 0xe7], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_session_legacy_rope.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_qnorm.ptx", - key: [0xa0, 0xbc, 0xfe, 0xbd, 0x6b, 0xf4, 0x77, 0xcd, 0x3a, 0xd1, 0x36, 0x07, 0xe2, 0xf0, 0x1f, 0x3c, 0x0a, 0x9e, 0x4c, 0x70, 0x22, 0x87, 0x21, 0x36, 0x20, 0xd9, 0x1c, 0x89, 0xb9, 0x29, 0x8e, 0xb1], - len: 36079, - sha: [0x0f, 0x71, 0xc4, 0x60, 0xd4, 0x0a, 0x3e, 0xfb, 0xc4, 0x68, 0xba, 0xc3, 0x4b, 0xb9, 0x3f, 0x62, 0xa7, 0x17, 0x37, 0xd7, 0x28, 0x31, 0x92, 0x17, 0x5c, 0xff, 0x7e, 0x13, 0x32, 0x38, 0x20, 0x7f], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_qnorm.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_bf16.ptx", - key: [0xa1, 0x6d, 0xfc, 0xfc, 0x9a, 0x49, 0xcc, 0xab, 0x25, 0xd8, 0x03, 0x02, 0x93, 0xd5, 0x82, 0x6f, 0x8f, 0x75, 0xe2, 0x86, 0x8f, 0xae, 0x1b, 0x6c, 0x4c, 0xef, 0x70, 0x6b, 0x6d, 0xfc, 0x3d, 0x08], - len: 461120, - sha: [0x07, 0xf4, 0xde, 0x80, 0xcb, 0xb0, 0xdc, 0x7d, 0xc2, 0xb7, 0x5f, 0x75, 0x6e, 0x24, 0x1b, 0x30, 0x89, 0xd3, 0xcd, 0x97, 0xc7, 0x33, 0x6a, 0xe5, 0xf6, 0xbe, 0x0f, 0xa6, 0x42, 0x78, 0x3d, 0x81], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_bf16.ptx"), "\0").as_bytes(), - }, - Companion { - name: "iq2_s_q8_1.ptx", - key: [0xa3, 0x1e, 0x65, 0x3d, 0xa8, 0xc2, 0x22, 0xe1, 0x67, 0x1c, 0xf2, 0x5e, 0xd1, 0x90, 0x17, 0xee, 0xb0, 0xb3, 0xef, 0x4d, 0x89, 0x0c, 0x01, 0x42, 0xb1, 0x81, 0xf3, 0xd5, 0xbc, 0xfc, 0xfb, 0x2c], - len: 46912, - sha: [0xc6, 0xca, 0xe7, 0xc0, 0x39, 0x61, 0x79, 0x04, 0x0b, 0x0c, 0x88, 0xf3, 0xce, 0xbd, 0x24, 0x70, 0xdf, 0x92, 0x69, 0xad, 0x5d, 0xc6, 0x6e, 0x9e, 0x22, 0x7f, 0x60, 0x0d, 0x1e, 0x79, 0xed, 0x9b], - ptx: concat!(include_str!("../ptx-sm86/iq2_s_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "chain_window.ptx", - key: [0xa3, 0xab, 0xdc, 0x41, 0x86, 0xb6, 0x6d, 0x51, 0xa8, 0x0c, 0x8e, 0xf5, 0x2f, 0x63, 0x6f, 0x18, 0x93, 0xa2, 0x13, 0x6b, 0x88, 0x7c, 0xd6, 0x54, 0x87, 0x86, 0xfe, 0xa2, 0x79, 0xef, 0x71, 0xba], - len: 2336938, - sha: [0x36, 0x1e, 0x11, 0x00, 0xad, 0x58, 0xb9, 0xa2, 0x1b, 0xe3, 0xd9, 0x58, 0xef, 0x55, 0x59, 0xe7, 0x0b, 0x72, 0xf2, 0xd0, 0x4e, 0x15, 0xdb, 0x5e, 0x9d, 0xbc, 0x14, 0xd1, 0x21, 0xe0, 0xee, 0x43], - ptx: concat!(include_str!("../ptx-sm86/chain_window.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_router_legacy.ptx", - key: [0xa5, 0x84, 0x12, 0x24, 0x97, 0x57, 0xcc, 0x35, 0x1e, 0xb8, 0x33, 0x2e, 0x80, 0x7e, 0x79, 0xf1, 0xb3, 0xda, 0x58, 0x65, 0x57, 0x4d, 0x0f, 0xb7, 0x17, 0x9e, 0xf5, 0x58, 0xdf, 0x70, 0xaf, 0x24], - len: 159038, - sha: [0xa9, 0x2b, 0xf0, 0xc3, 0xfc, 0x4c, 0xc5, 0x31, 0x2c, 0x14, 0xa5, 0x52, 0xf7, 0x24, 0x4d, 0x4a, 0x7e, 0x10, 0x26, 0xbb, 0x79, 0x32, 0xb0, 0x56, 0x1d, 0x73, 0x57, 0xd8, 0xec, 0x41, 0x72, 0x7f], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_router_legacy.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq-original-formats-fixup.ptx", - key: [0xa6, 0x6a, 0x85, 0x6c, 0xe4, 0x97, 0x82, 0x20, 0xbb, 0xb0, 0x12, 0x57, 0xf3, 0x34, 0xe4, 0x48, 0x46, 0xce, 0xb3, 0x4d, 0x5d, 0xc3, 0x06, 0xdf, 0xbe, 0xba, 0x95, 0x65, 0x7e, 0x05, 0x0b, 0xf3], - len: 309892, - sha: [0xd2, 0x16, 0x69, 0x31, 0xf0, 0x54, 0x52, 0xde, 0x65, 0xed, 0x06, 0xd1, 0xb0, 0x60, 0xa9, 0x4c, 0x27, 0xa8, 0x68, 0x8e, 0xf5, 0x9b, 0x5f, 0xfc, 0x96, 0x08, 0x69, 0x64, 0x7a, 0x44, 0x84, 0x8b], - ptx: concat!(include_str!("../ptx-sm86/mmq-original-formats-fixup.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq_original_group_fixup.ptx", - key: [0xa8, 0xc7, 0x51, 0x91, 0xba, 0x8e, 0xf7, 0xa4, 0x57, 0x20, 0x82, 0x48, 0x50, 0xd6, 0x4c, 0xf4, 0x43, 0x45, 0x9b, 0x30, 0xbc, 0x53, 0x79, 0xab, 0x80, 0x7e, 0xb8, 0x3e, 0x26, 0x14, 0x88, 0x3f], - len: 1455508, - sha: [0x18, 0xc9, 0x1c, 0x0f, 0x77, 0x48, 0x36, 0xd9, 0xcd, 0xc6, 0xee, 0x49, 0x8f, 0x3f, 0x3d, 0x66, 0x2b, 0x40, 0x07, 0x77, 0x39, 0x95, 0x29, 0xa4, 0x38, 0xf7, 0xae, 0x27, 0x67, 0x10, 0xf2, 0x04], - ptx: concat!(include_str!("../ptx-sm86/mmq_original_group_fixup.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq_original_group_swiglu.ptx", - key: [0xa9, 0x13, 0x99, 0x36, 0x00, 0x87, 0x8c, 0xed, 0xd1, 0x28, 0xbe, 0xe0, 0xf7, 0x76, 0x89, 0x51, 0x19, 0xe5, 0x56, 0xe3, 0x3f, 0x2a, 0xd7, 0x0d, 0xad, 0xf0, 0x8e, 0x9e, 0x1a, 0x7e, 0xb9, 0xbd], - len: 6090, - sha: [0x7a, 0x34, 0x2b, 0xa9, 0x78, 0x1d, 0x0f, 0xdb, 0x63, 0x66, 0xc1, 0xb5, 0xbf, 0xd0, 0x65, 0xaa, 0x40, 0x05, 0xfd, 0x3f, 0x3d, 0x19, 0x5d, 0xaf, 0x0f, 0x2f, 0x0f, 0x64, 0x7d, 0x71, 0xe9, 0xec], - ptx: concat!(include_str!("../ptx-sm86/mmq_original_group_swiglu.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_fused_gr.ptx", - key: [0xac, 0x54, 0x00, 0xa7, 0x97, 0x2b, 0x3f, 0x24, 0x26, 0x48, 0xc2, 0xde, 0x71, 0xef, 0x4f, 0x17, 0x84, 0x66, 0xd3, 0x8b, 0x13, 0x92, 0xa8, 0x3a, 0x95, 0x91, 0xb3, 0xb2, 0x4e, 0x92, 0xc5, 0x9b], - len: 422848, - sha: [0xe4, 0xc8, 0xcc, 0xbb, 0xfb, 0x68, 0x26, 0x7c, 0xa0, 0xba, 0xc4, 0xfd, 0xbd, 0x91, 0x04, 0x22, 0xa3, 0x16, 0x87, 0x0b, 0x0f, 0x79, 0x9c, 0x48, 0x52, 0x9c, 0x8a, 0x9d, 0xb9, 0xea, 0xa8, 0xe6], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_fused_gr.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_fixed.ptx", - key: [0xad, 0xa8, 0x7a, 0x1b, 0xd6, 0xff, 0x2f, 0x60, 0x13, 0xd2, 0xbd, 0x64, 0x1a, 0x37, 0x86, 0xeb, 0x46, 0xb9, 0xc9, 0xfc, 0xf3, 0x58, 0x6c, 0x66, 0x60, 0x9c, 0x8e, 0xee, 0xa4, 0xb1, 0x07, 0xe8], - len: 15190, - sha: [0x62, 0xd0, 0x43, 0x0e, 0x9e, 0xaf, 0x35, 0xd2, 0x1b, 0x95, 0xad, 0xc8, 0x18, 0xd5, 0x7b, 0xb8, 0x5e, 0xaf, 0x0a, 0x74, 0x66, 0x06, 0x87, 0x0d, 0xd5, 0xf1, 0xf2, 0xed, 0x25, 0xc1, 0xf7, 0x27], - ptx: concat!(include_str!("../ptx-sm86/mtp_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_head_sampler.ptx", - key: [0xb0, 0x48, 0xca, 0x90, 0xf9, 0x7e, 0x6e, 0x6f, 0x2c, 0x0d, 0x93, 0xe5, 0xc1, 0x24, 0xe5, 0xd4, 0xad, 0xbc, 0x7b, 0x34, 0x09, 0x74, 0xe4, 0x5a, 0x4f, 0x98, 0xdc, 0x15, 0xd0, 0xb1, 0xbc, 0x59], - len: 504479, - sha: [0xa2, 0x45, 0xc8, 0x5c, 0x87, 0xbd, 0xf2, 0x03, 0x13, 0xbf, 0xf4, 0x22, 0x07, 0xbb, 0xd6, 0xfb, 0xa6, 0xda, 0x14, 0x8a, 0xd3, 0xa0, 0x89, 0x4d, 0x6a, 0x5e, 0xbf, 0xa3, 0x39, 0x8e, 0xca, 0xc7], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_head_sampler.ptx"), "\0").as_bytes(), - }, - Companion { - name: "ple_fixed.ptx", - key: [0xb1, 0x4c, 0x64, 0x24, 0xb3, 0x4a, 0x4f, 0xba, 0xc6, 0x8a, 0xe3, 0x33, 0xad, 0xf9, 0x77, 0xe1, 0xa3, 0xff, 0x93, 0xe5, 0x0a, 0xe9, 0x97, 0x52, 0x8b, 0xb9, 0xa2, 0x33, 0xdf, 0xe7, 0x04, 0x86], - len: 30868, - sha: [0x32, 0xbc, 0x7b, 0xc0, 0xcb, 0x88, 0x9b, 0x30, 0xaf, 0xc2, 0x02, 0x88, 0x51, 0x8b, 0x90, 0xa4, 0x13, 0x7a, 0x05, 0xb0, 0x5d, 0xaf, 0x3d, 0x4f, 0xee, 0xde, 0xcc, 0x02, 0xe5, 0x66, 0xce, 0x0a], - ptx: concat!(include_str!("../ptx-sm86/ple_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_shared.ptx", - key: [0xb3, 0x6f, 0x43, 0x26, 0x92, 0xe4, 0x3f, 0x79, 0x48, 0xa2, 0x53, 0x8c, 0x22, 0xca, 0xb5, 0x5e, 0xf6, 0x7c, 0x62, 0x5b, 0x8d, 0x44, 0x61, 0xc6, 0x7c, 0xa2, 0xa2, 0x75, 0x19, 0xb9, 0xe0, 0xf0], - len: 45827, - sha: [0xe9, 0x22, 0x49, 0x6b, 0x44, 0xdd, 0xb0, 0xde, 0x69, 0x00, 0xb5, 0xbe, 0xec, 0x4b, 0x35, 0x09, 0xf2, 0xfa, 0x7e, 0x2a, 0x17, 0x2c, 0x3f, 0xe1, 0x76, 0xc1, 0x6e, 0xdd, 0x10, 0x18, 0x52, 0x90], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_shared.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_scalar_norm.ptx", - key: [0xbb, 0x78, 0x4f, 0xd8, 0xa5, 0x74, 0xeb, 0x38, 0xcc, 0x3f, 0xdb, 0x92, 0x64, 0xb6, 0x9b, 0x72, 0xcd, 0xf3, 0x40, 0x78, 0x85, 0x91, 0x88, 0x5c, 0x9b, 0x7f, 0x96, 0xa0, 0x5a, 0x6a, 0x81, 0x07], - len: 16691, - sha: [0x56, 0xab, 0x10, 0x69, 0x20, 0x71, 0x2b, 0x92, 0x7c, 0xe8, 0x94, 0xb7, 0x22, 0x7d, 0x7c, 0xb4, 0x7c, 0x7a, 0xda, 0x9f, 0x07, 0x90, 0xc3, 0x65, 0x08, 0xf5, 0xc9, 0x8f, 0x74, 0x0d, 0x7c, 0xdc], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_scalar_norm.ptx"), "\0").as_bytes(), - }, - Companion { - name: "native_flash_attn.ptx", - key: [0xbe, 0x35, 0x3e, 0x61, 0x9a, 0x15, 0xa5, 0x66, 0xe5, 0x7b, 0xae, 0x12, 0xa0, 0xbf, 0x30, 0xcc, 0x17, 0x12, 0xa2, 0x81, 0xbc, 0xe6, 0x92, 0x8f, 0x3b, 0xb7, 0x6c, 0x14, 0xe5, 0x11, 0x4b, 0xba], - len: 208590, - sha: [0x6e, 0xaf, 0xd5, 0x7d, 0x2f, 0xcf, 0x68, 0x71, 0xb8, 0x22, 0x4f, 0xe9, 0x48, 0x52, 0x59, 0xd1, 0xec, 0x75, 0x0f, 0xb1, 0x76, 0xa2, 0x68, 0x96, 0x6b, 0x1d, 0xe4, 0x3f, 0xfa, 0x75, 0x62, 0x97], - ptx: concat!(include_str!("../ptx-sm86/native_flash_attn.ptx"), "\0").as_bytes(), - }, - Companion { - name: "quantize-d4-selected.ptx", - key: [0xbe, 0x3b, 0x9f, 0x55, 0xff, 0x60, 0x69, 0xde, 0x50, 0x52, 0xc8, 0x3e, 0xf2, 0x2d, 0xa8, 0xfe, 0x88, 0xcd, 0x65, 0xe3, 0xe4, 0xfb, 0x1b, 0x13, 0xa7, 0xf9, 0x3d, 0xd1, 0x4f, 0x69, 0x9c, 0x1b], - len: 102215, - sha: [0x15, 0xe3, 0xb0, 0xb1, 0x95, 0x03, 0x41, 0x3b, 0x7f, 0x7d, 0x97, 0x21, 0xaf, 0x05, 0x11, 0xbb, 0x5a, 0xb9, 0xf5, 0xe5, 0x9a, 0x7c, 0xf9, 0x16, 0x77, 0xa3, 0x13, 0xc2, 0x79, 0xc6, 0xa6, 0x9a], - ptx: concat!(include_str!("../ptx-sm86/quantize-d4-selected.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_router.ptx", - key: [0xbe, 0x6e, 0x3c, 0x91, 0xe4, 0xf6, 0x83, 0x14, 0x64, 0xf5, 0x99, 0x37, 0x87, 0xf0, 0xbf, 0xf9, 0x69, 0xbc, 0x5d, 0x28, 0x39, 0x5f, 0x24, 0x22, 0x6b, 0x88, 0x67, 0x6b, 0x30, 0x69, 0xa8, 0xcb], - len: 107477, - sha: [0x17, 0xa9, 0x4f, 0xd3, 0xc2, 0xa1, 0xe2, 0x8c, 0x56, 0xbd, 0x85, 0x10, 0xba, 0xd4, 0xb1, 0xda, 0xa3, 0xdb, 0x39, 0xec, 0x01, 0x36, 0xdb, 0xc0, 0x33, 0x4a, 0x00, 0xfa, 0xad, 0xaf, 0x0c, 0x47], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_router.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_iq3_s_nc4.ptx", - key: [0xbe, 0x6e, 0xe9, 0x07, 0xc0, 0xb3, 0x70, 0xcb, 0x99, 0x89, 0x4a, 0x03, 0x41, 0x94, 0x66, 0xf1, 0xaa, 0x46, 0x5b, 0xa9, 0xb8, 0xe2, 0xe8, 0xcf, 0x60, 0x38, 0x87, 0xf5, 0x34, 0x45, 0x0d, 0x0c], - len: 36382, - sha: [0x23, 0xb7, 0x02, 0xaa, 0xf1, 0x27, 0x8d, 0xd3, 0xd4, 0x36, 0x14, 0x2b, 0x9c, 0x27, 0x32, 0x19, 0x21, 0xf3, 0x6d, 0xda, 0x76, 0x06, 0xd1, 0xf7, 0x56, 0x97, 0x3e, 0x5d, 0xfc, 0xbd, 0x45, 0x37], - ptx: concat!(include_str!("../ptx-sm86/moe_group_iq3_s_nc4.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_verify.ptx", - key: [0xbe, 0xbb, 0xef, 0xc6, 0x5c, 0x2c, 0xc2, 0x1c, 0x54, 0x84, 0x71, 0xf6, 0x90, 0xce, 0x02, 0xc6, 0x73, 0x41, 0x8e, 0x8a, 0xc0, 0x66, 0xd4, 0x9f, 0x94, 0x8d, 0x0e, 0x6e, 0x35, 0xcf, 0xa2, 0x03], - len: 179130, - sha: [0x8e, 0x19, 0x61, 0xf3, 0x6f, 0x40, 0x9d, 0xea, 0x38, 0x60, 0x66, 0x6b, 0xc8, 0xd7, 0x67, 0x95, 0x1c, 0x50, 0xbb, 0xac, 0x96, 0x36, 0x6a, 0x9e, 0xc5, 0xd9, 0x9d, 0x87, 0xbe, 0xc4, 0xe9, 0x30], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_verify.ptx"), "\0").as_bytes(), - }, - Companion { - name: "gr_batch_preview.ptx", - key: [0xc8, 0x56, 0xb6, 0xf5, 0x2d, 0x41, 0xd7, 0xe8, 0xf8, 0x8d, 0x7c, 0x63, 0xed, 0x68, 0x3b, 0x94, 0x73, 0x10, 0x08, 0x87, 0x10, 0xf6, 0x62, 0xbc, 0xad, 0x0a, 0xfc, 0xed, 0x3e, 0xf6, 0x5c, 0xac], - len: 24666, - sha: [0x8b, 0x51, 0xd3, 0x67, 0x3b, 0xce, 0x01, 0x8b, 0x58, 0x7e, 0xa8, 0x1c, 0x5a, 0xb2, 0xe9, 0xd7, 0xdd, 0x4d, 0x75, 0xd0, 0x01, 0x4f, 0x6c, 0xfd, 0x4f, 0x7c, 0xf5, 0xfc, 0x17, 0xcd, 0x4c, 0xb3], - ptx: concat!(include_str!("../ptx-sm86/gr_batch_preview.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_iq4_xs.ptx", - key: [0xc8, 0x88, 0x0e, 0xf0, 0x8d, 0xcc, 0x6b, 0xfa, 0x4a, 0xcc, 0xc9, 0x89, 0x87, 0xc4, 0x5c, 0x64, 0x1e, 0x47, 0x2c, 0x52, 0x06, 0xad, 0x9d, 0x38, 0x9f, 0x5e, 0x94, 0x38, 0x5c, 0xd8, 0xc9, 0x84], - len: 63256, - sha: [0x72, 0x2e, 0xff, 0xee, 0x93, 0x55, 0xd3, 0xe1, 0x39, 0x73, 0xd8, 0xec, 0x9e, 0x77, 0xde, 0x98, 0xfe, 0xc0, 0xfd, 0x4a, 0x97, 0xea, 0xfe, 0xbb, 0x55, 0x0c, 0xf9, 0xdd, 0xfd, 0x55, 0xc0, 0x2b], - ptx: concat!(include_str!("../ptx-sm86/moe_group_iq4_xs.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_verify_window_pcie.ptx", - key: [0xcb, 0xeb, 0x32, 0x3f, 0x76, 0x47, 0x68, 0x2f, 0xee, 0x9e, 0xd3, 0xf1, 0x2f, 0xb7, 0xb7, 0xa5, 0xb3, 0xeb, 0x19, 0x2f, 0x21, 0x66, 0xc6, 0xec, 0x96, 0xb8, 0x1d, 0x55, 0xc3, 0xba, 0xb9, 0xd1], - len: 7687, - sha: [0x98, 0x5b, 0xbf, 0xc8, 0x77, 0x91, 0xbd, 0x96, 0xa2, 0xcf, 0x61, 0x32, 0xce, 0x7e, 0x49, 0x9b, 0x90, 0xeb, 0xfe, 0x7a, 0x31, 0x0e, 0xe1, 0xc5, 0x78, 0x1c, 0x49, 0xaf, 0xd1, 0x96, 0x4f, 0x67], - ptx: concat!(include_str!("../ptx-sm86/original_verify_window_pcie.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_verify.ptx", - key: [0xd0, 0xda, 0xda, 0x67, 0x15, 0xfb, 0x80, 0x8b, 0xb3, 0x28, 0x82, 0x91, 0xfd, 0x4a, 0x5c, 0x29, 0xe7, 0x8f, 0xd7, 0xfa, 0x6e, 0x70, 0xf2, 0xb9, 0x4d, 0x22, 0x0f, 0x86, 0x0b, 0xb4, 0x33, 0x53], - len: 154200, - sha: [0xba, 0x92, 0xfe, 0x4e, 0x9b, 0x5a, 0xe0, 0x48, 0x86, 0x4a, 0x1c, 0xcb, 0xa8, 0x64, 0x50, 0x22, 0x4a, 0x07, 0x83, 0x67, 0x2c, 0x0c, 0x2b, 0x99, 0xe4, 0xec, 0x32, 0x02, 0xe1, 0x66, 0x03, 0x55], - ptx: concat!(include_str!("../ptx-sm86/original_verify.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_quant80.ptx", - key: [0xd1, 0xae, 0x17, 0xce, 0xcc, 0x24, 0xe2, 0x4e, 0x0e, 0x1f, 0xc9, 0x5a, 0x73, 0x52, 0x79, 0x89, 0x71, 0x9b, 0x94, 0x5d, 0xfe, 0xed, 0x68, 0x9e, 0x80, 0x67, 0xa5, 0x8f, 0x10, 0x18, 0x11, 0x90], - len: 96194, - sha: [0x33, 0x98, 0x0b, 0x2a, 0xd2, 0x18, 0xeb, 0x46, 0xb6, 0x4c, 0x3f, 0xf0, 0xf2, 0xe7, 0x3e, 0xba, 0x2d, 0xde, 0x43, 0xed, 0xa7, 0xbf, 0x12, 0x8c, 0x62, 0xc4, 0x08, 0xad, 0xe0, 0x2b, 0xbd, 0x83], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_quant80.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_prefill_quant.ptx", - key: [0xd5, 0xa6, 0x7b, 0x91, 0xe2, 0xbd, 0x30, 0x8b, 0x6c, 0x5b, 0x3c, 0xf3, 0x80, 0xf4, 0xb1, 0x40, 0x00, 0x43, 0x28, 0xbd, 0x26, 0x4c, 0x98, 0x83, 0x70, 0xb7, 0x14, 0x37, 0xf9, 0x6b, 0x86, 0x4c], - len: 217573, - sha: [0xcb, 0xa7, 0x20, 0xbb, 0x6b, 0xfb, 0x98, 0x41, 0xfa, 0xc5, 0x71, 0x6f, 0x84, 0x88, 0x6c, 0x94, 0x7f, 0x36, 0xf4, 0xf0, 0x21, 0x0d, 0xe9, 0x10, 0xd3, 0x99, 0x5c, 0x1d, 0x8e, 0x62, 0x0d, 0xd7], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_prefill_quant.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qwen_qsa_native.ptx", - key: [0xd6, 0x04, 0x89, 0xfb, 0x70, 0xce, 0x43, 0x70, 0x04, 0x7b, 0xf5, 0x4f, 0xae, 0x8d, 0xd4, 0x6d, 0xfb, 0x53, 0xbb, 0x73, 0xb1, 0x61, 0x8c, 0x58, 0x94, 0x29, 0x32, 0xa7, 0x89, 0xd0, 0x64, 0xc5], - len: 31598, - sha: [0x91, 0x8c, 0x74, 0x1a, 0xb3, 0xde, 0x0c, 0x8e, 0x3a, 0x4d, 0xb0, 0xf4, 0x54, 0xbc, 0xfc, 0x73, 0x9b, 0x9b, 0xad, 0xcd, 0x58, 0xdd, 0x04, 0x7c, 0xc5, 0xfd, 0x87, 0x2e, 0x99, 0xc0, 0x1e, 0xf0], - ptx: concat!(include_str!("../ptx-sm86/qwen_qsa_native.ptx"), "\0").as_bytes(), - }, - Companion { - name: "gr_fixed.ptx", - key: [0xde, 0xaa, 0x95, 0xe6, 0x1d, 0x25, 0xff, 0x87, 0xfd, 0x53, 0x1b, 0x62, 0xd5, 0xc2, 0x93, 0x09, 0xb6, 0x9a, 0x37, 0x71, 0x18, 0x20, 0x4e, 0xef, 0xae, 0xe3, 0x10, 0xaf, 0x4e, 0xcf, 0xfa, 0x8b], - len: 22704, - sha: [0x89, 0x18, 0x62, 0xf3, 0xd1, 0x04, 0x0d, 0x14, 0xbf, 0xd3, 0x8f, 0xf0, 0x0e, 0x19, 0xea, 0x42, 0xf4, 0xc6, 0x30, 0xdd, 0xcc, 0xfd, 0xa1, 0x69, 0x9f, 0xf5, 0xc6, 0x8f, 0xa1, 0x26, 0xd9, 0x66], - ptx: concat!(include_str!("../ptx-sm86/gr_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qwen_qsa_select.ptx", - key: [0xe0, 0x94, 0xe1, 0x0f, 0x84, 0xcc, 0xa6, 0x12, 0xca, 0x28, 0x59, 0x6a, 0xa3, 0x94, 0xee, 0x99, 0x9e, 0x33, 0xfe, 0x7b, 0xc8, 0x4b, 0x35, 0x9b, 0xfa, 0xb6, 0xda, 0x07, 0x30, 0xd4, 0xa5, 0x19], - len: 41468, - sha: [0xe8, 0xad, 0xf4, 0x5c, 0x34, 0x90, 0x8f, 0xa7, 0xf1, 0x58, 0x3d, 0x1d, 0xa0, 0xc5, 0x83, 0x04, 0xfa, 0x02, 0x29, 0xbc, 0x2e, 0x37, 0x43, 0xc2, 0xaa, 0x30, 0x58, 0xf9, 0xe2, 0x6f, 0xf2, 0x7b], - ptx: concat!(include_str!("../ptx-sm86/qwen_qsa_select.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_kv.ptx", - key: [0xe0, 0xc1, 0xff, 0x10, 0xd3, 0xd4, 0xbc, 0xf8, 0xfd, 0x33, 0x69, 0x71, 0x30, 0x79, 0xb2, 0x32, 0xe6, 0x2c, 0xdb, 0x2c, 0x3a, 0x34, 0x5f, 0xae, 0xc4, 0x9d, 0x1e, 0x66, 0x76, 0x3f, 0x91, 0x1f], - len: 16734, - sha: [0xb9, 0x61, 0xa6, 0xbc, 0xaf, 0x30, 0x9b, 0xca, 0x67, 0xab, 0xf6, 0xc3, 0x7b, 0x8e, 0x30, 0x3b, 0x16, 0x5f, 0xcd, 0x8f, 0x51, 0xc6, 0x8f, 0x63, 0x11, 0xc5, 0xa0, 0xe1, 0x3f, 0x86, 0x1f, 0x8b], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_kv.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_attention_fixed.ptx", - key: [0xe1, 0x1a, 0xc4, 0xde, 0x66, 0xc9, 0x9c, 0x31, 0xec, 0x95, 0x37, 0x27, 0xbd, 0xac, 0x91, 0xca, 0xc9, 0x7d, 0x58, 0xd8, 0x2a, 0x3d, 0xcb, 0xe0, 0x6e, 0xf4, 0xc6, 0xe8, 0xdc, 0x2a, 0x4c, 0x66], - len: 75847, - sha: [0xa0, 0x5c, 0xff, 0x97, 0xbd, 0x7e, 0x4e, 0x0a, 0xc9, 0x24, 0xad, 0xb9, 0xf0, 0x1f, 0x7b, 0x6c, 0xa8, 0xe9, 0x67, 0x11, 0x3f, 0x84, 0xa1, 0x68, 0x7e, 0x09, 0x76, 0xb5, 0x64, 0x13, 0xa8, 0x37], - ptx: concat!(include_str!("../ptx-sm86/mtp_attention_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_head_iq.ptx", - key: [0xe5, 0x74, 0x52, 0xcc, 0xac, 0x77, 0x2a, 0x8a, 0x8a, 0x77, 0x25, 0x3b, 0xc6, 0xc9, 0x64, 0xeb, 0xb7, 0xbc, 0x61, 0xfd, 0xb2, 0xe9, 0x75, 0x27, 0xa9, 0x77, 0x5f, 0x8c, 0xcf, 0x3c, 0x3b, 0x9f], - len: 792488, - sha: [0xea, 0x98, 0x3e, 0x2b, 0x8f, 0xce, 0xae, 0xbb, 0xa0, 0xad, 0xdb, 0x29, 0x62, 0x84, 0xa1, 0xf2, 0xfa, 0x54, 0x6e, 0x26, 0x04, 0xfe, 0x8d, 0x6a, 0x10, 0x17, 0x02, 0x9a, 0xaf, 0x7e, 0x18, 0xae], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_head_iq.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq-adaptive-fixup.ptx", - key: [0xe8, 0x14, 0xd7, 0x50, 0x21, 0xa7, 0x3c, 0x38, 0x31, 0x02, 0x3d, 0x29, 0x81, 0x84, 0x72, 0x23, 0x2d, 0xb4, 0x47, 0x29, 0x21, 0x3d, 0xf1, 0x0d, 0x60, 0xc4, 0x78, 0x63, 0xaa, 0x47, 0x72, 0x78], - len: 445570, - sha: [0xa5, 0x0b, 0x8a, 0x99, 0x40, 0x09, 0xa3, 0xc6, 0x0e, 0xd8, 0x29, 0xaa, 0x45, 0xf7, 0xb1, 0x71, 0x23, 0x40, 0x12, 0x95, 0xbd, 0xaa, 0x4e, 0x03, 0xe8, 0x71, 0xb4, 0x39, 0x3c, 0x2a, 0xf9, 0x1c], - ptx: concat!(include_str!("../ptx-sm86/mmq-adaptive-fixup.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq_original_group_mul.ptx", - key: [0xea, 0x0d, 0xb7, 0x85, 0x05, 0x28, 0x9e, 0x8e, 0x74, 0x3a, 0x55, 0x2e, 0xf2, 0x3d, 0xed, 0x98, 0xd6, 0x68, 0xa4, 0x89, 0xc6, 0x79, 0xa0, 0xe4, 0x48, 0x93, 0xb0, 0x00, 0x44, 0x5b, 0x48, 0xc7], - len: 13083403, - sha: [0x8a, 0x80, 0x90, 0xb4, 0x00, 0xf4, 0x08, 0x8f, 0x3d, 0x45, 0x0a, 0x70, 0xca, 0x0f, 0x83, 0x60, 0x8f, 0xfe, 0x44, 0x73, 0xf4, 0x49, 0xd7, 0x9c, 0x69, 0xf8, 0x8c, 0x7c, 0x12, 0x2a, 0x26, 0x4a], - ptx: concat!(include_str!("../ptx-sm86/mmq_original_group_mul.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mmq_native_resident_d4.ptx", - key: [0xea, 0x33, 0xd3, 0xd1, 0xdb, 0xc3, 0xc6, 0x39, 0x81, 0x55, 0xef, 0xa1, 0x92, 0xb5, 0xbb, 0x4d, 0x5a, 0x25, 0xf7, 0x3f, 0x6e, 0x8a, 0xf6, 0x5f, 0x2d, 0xdc, 0x1b, 0x91, 0x95, 0xbb, 0x3e, 0xeb], - len: 5199, - sha: [0x95, 0x4e, 0x26, 0x5c, 0x1d, 0x6a, 0x60, 0x53, 0x6c, 0x93, 0x6d, 0x3e, 0x01, 0x24, 0x02, 0x13, 0xc5, 0x0d, 0xf2, 0xae, 0xc8, 0x8c, 0x5f, 0x42, 0x88, 0xa5, 0xd5, 0xf6, 0xe3, 0xb7, 0xc1, 0x14], - ptx: concat!(include_str!("../ptx-sm86/mmq_native_resident_d4.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_fixed.ptx", - key: [0xeb, 0x25, 0xf4, 0x5f, 0x2b, 0xf1, 0xcd, 0x3b, 0xe5, 0x7e, 0x0b, 0x5f, 0x32, 0x6a, 0x63, 0xf6, 0x66, 0x05, 0x9a, 0x58, 0x70, 0x6d, 0x7a, 0x2b, 0xd4, 0x70, 0x52, 0x6c, 0x22, 0xc0, 0xf6, 0x7a], - len: 24983, - sha: [0x67, 0x25, 0x8f, 0xde, 0x60, 0xe2, 0xe5, 0xd0, 0xe5, 0x0b, 0xe8, 0xcb, 0xd6, 0x3b, 0x0d, 0xe4, 0x2e, 0x33, 0xf7, 0x22, 0xb1, 0x61, 0x40, 0xe1, 0xb0, 0x71, 0x85, 0x7b, 0x47, 0xaa, 0xa8, 0xbe], - ptx: concat!(include_str!("../ptx-sm86/moe_fixed.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_late.ptx", - key: [0xeb, 0xc8, 0xbc, 0x0a, 0xac, 0x1b, 0xd4, 0xa7, 0x45, 0x40, 0xed, 0x24, 0x6c, 0x00, 0x96, 0x0d, 0x10, 0x15, 0x96, 0x30, 0x20, 0x11, 0x33, 0xe6, 0xd2, 0x1f, 0x30, 0x6e, 0xfe, 0xb1, 0xba, 0x2f], - len: 213285, - sha: [0x11, 0x8d, 0x23, 0x00, 0xe6, 0x7d, 0x15, 0x42, 0x0b, 0x7e, 0xbd, 0xb4, 0xee, 0x82, 0x3d, 0x91, 0xbe, 0x58, 0x55, 0x62, 0x07, 0x23, 0x85, 0x3f, 0xe9, 0xda, 0x8d, 0xef, 0x8a, 0xe5, 0xe9, 0x8b], - ptx: concat!(include_str!("../ptx-sm86/qsa_late.ptx"), "\0").as_bytes(), - }, - Companion { - name: "kar_decode_levels.ptx", - key: [0xec, 0x69, 0x77, 0x87, 0xe0, 0x00, 0x53, 0x10, 0x00, 0x5e, 0xb1, 0x69, 0xa7, 0x58, 0x31, 0x5e, 0xb5, 0x50, 0x3a, 0xc7, 0x67, 0x1a, 0x38, 0x49, 0x5e, 0xea, 0xea, 0xf4, 0xfb, 0x2a, 0x8e, 0xc9], - len: 18428, - sha: [0xb9, 0x41, 0xaf, 0xb1, 0x17, 0xd7, 0x7a, 0x57, 0x32, 0xc1, 0x66, 0x6a, 0x25, 0x29, 0x1a, 0xb9, 0xbf, 0xd6, 0x17, 0x25, 0x28, 0xbd, 0x6b, 0x52, 0x7c, 0x37, 0x39, 0x7f, 0x24, 0xfd, 0x77, 0xc4], - ptx: concat!(include_str!("../ptx-sm86/kar_decode_levels.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_prefill.ptx", - key: [0xf0, 0xa0, 0x67, 0x3d, 0x72, 0xe2, 0xaf, 0x9b, 0xaa, 0x48, 0x14, 0x64, 0xbd, 0x2f, 0x07, 0x04, 0x2a, 0x66, 0x98, 0xd4, 0x64, 0x13, 0xfe, 0x6a, 0x85, 0x4c, 0xc8, 0x30, 0x1d, 0xba, 0x67, 0x5a], - len: 68280, - sha: [0xc3, 0xba, 0x39, 0xe3, 0xc2, 0xbe, 0x4e, 0xfb, 0x0a, 0xca, 0x00, 0x19, 0xe2, 0xaa, 0xe7, 0x47, 0xff, 0x00, 0x1d, 0x13, 0x63, 0x10, 0x16, 0xe5, 0xcc, 0x9f, 0xef, 0x86, 0x7e, 0x9a, 0xc1, 0xaf], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_prefill.ptx"), "\0").as_bytes(), - }, - Companion { - name: "original_verify_qsa.ptx", - key: [0xf5, 0x7b, 0x41, 0x82, 0xe2, 0x19, 0x2b, 0xe7, 0xf5, 0xd3, 0x19, 0xe7, 0xa5, 0xe0, 0x2f, 0xaa, 0x5f, 0xc2, 0x45, 0xc0, 0x61, 0x42, 0x6c, 0xd2, 0xbf, 0xc1, 0x39, 0xcf, 0x45, 0x3a, 0xdc, 0x05], - len: 19585, - sha: [0x22, 0xd6, 0x9a, 0x56, 0xf3, 0x88, 0xc1, 0xb3, 0x83, 0xc7, 0xb1, 0x25, 0xeb, 0x11, 0xcb, 0x36, 0xb5, 0xb0, 0xe8, 0x02, 0x6e, 0x95, 0x7b, 0x87, 0xad, 0x06, 0xce, 0x07, 0xc8, 0x02, 0x52, 0x40], - ptx: concat!(include_str!("../ptx-sm86/original_verify_qsa.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_head_native.ptx", - key: [0xf8, 0x20, 0x9e, 0x1c, 0x9f, 0xbf, 0x97, 0x8b, 0xc5, 0x7b, 0x60, 0xb0, 0xb5, 0xf6, 0xed, 0xca, 0xb1, 0x90, 0x5e, 0x49, 0xa4, 0xab, 0x3a, 0xa9, 0x82, 0x60, 0x4e, 0x3e, 0x68, 0x0f, 0xa4, 0x37], - len: 7459176, - sha: [0x6b, 0x0a, 0x23, 0x33, 0x72, 0xb7, 0x51, 0x3f, 0x8c, 0x6e, 0xef, 0xd7, 0xaa, 0x7e, 0x66, 0x34, 0x99, 0xb7, 0xe2, 0x38, 0x6c, 0xd8, 0x7c, 0x82, 0x73, 0xde, 0x22, 0xd7, 0x26, 0xa9, 0x84, 0xe5], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_head_native.ptx"), "\0").as_bytes(), - }, - Companion { - name: "iq3_xxs_q8_1.ptx", - key: [0xf9, 0xc1, 0x08, 0x14, 0xf3, 0x7b, 0x75, 0xba, 0xbc, 0xae, 0xe1, 0x02, 0x8b, 0x4a, 0x13, 0x75, 0xe5, 0x30, 0x22, 0x0f, 0x86, 0x3a, 0xb3, 0x80, 0x1b, 0xeb, 0x8f, 0xcb, 0x5a, 0x19, 0x73, 0x3f], - len: 15564, - sha: [0x94, 0x65, 0x5f, 0x22, 0x89, 0x15, 0xdd, 0x3d, 0x0a, 0xe5, 0xdc, 0x3a, 0xde, 0xde, 0xf8, 0xfc, 0xeb, 0x06, 0x98, 0x20, 0xae, 0x17, 0xe1, 0x5d, 0xb9, 0x49, 0x44, 0x42, 0x79, 0x48, 0xaf, 0xda], - ptx: concat!(include_str!("../ptx-sm86/iq3_xxs_q8_1.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_native_gate.ptx", - key: [0xf9, 0xf7, 0x78, 0x15, 0x44, 0xa4, 0xa0, 0xb0, 0xb2, 0xf0, 0x73, 0x3f, 0xe0, 0x0f, 0x36, 0xb8, 0x19, 0x49, 0x54, 0x33, 0x3b, 0x9b, 0xca, 0x99, 0x95, 0x91, 0x40, 0x45, 0xd8, 0x6b, 0xaf, 0x1e], - len: 1356, - sha: [0x20, 0x00, 0x36, 0x45, 0x64, 0x34, 0x00, 0x9b, 0x96, 0x1c, 0x37, 0x1d, 0xa8, 0xa1, 0x44, 0x0d, 0xb1, 0x5a, 0x7b, 0xe9, 0x53, 0x19, 0xa8, 0xc8, 0x15, 0xe1, 0xbf, 0xe8, 0x00, 0x95, 0xf2, 0x1c], - ptx: concat!(include_str!("../ptx-sm86/qsa_native_gate.ptx"), "\0").as_bytes(), - }, - Companion { - name: "mtp_original_full_s2.ptx", - key: [0xfb, 0xb9, 0x17, 0xd5, 0x90, 0xea, 0x80, 0x33, 0x8a, 0x7b, 0xdf, 0x07, 0xb2, 0xca, 0x6d, 0x45, 0x8f, 0xa7, 0x27, 0x63, 0xba, 0x27, 0x9e, 0x57, 0x6b, 0xcc, 0x1e, 0xec, 0x88, 0x36, 0xfd, 0x55], - len: 408620, - sha: [0x84, 0xfc, 0xa0, 0x77, 0x1f, 0xef, 0x37, 0x13, 0x49, 0xc7, 0x2a, 0xdd, 0xaf, 0x76, 0x73, 0x8a, 0xe9, 0xb7, 0x55, 0x39, 0x89, 0xb5, 0xab, 0xf6, 0x60, 0x0a, 0x22, 0x35, 0x93, 0x95, 0xae, 0x83], - ptx: concat!(include_str!("../ptx-sm86/mtp_original_full_s2.ptx"), "\0").as_bytes(), - }, - Companion { - name: "qsa_decode_postops.ptx", - key: [0xfd, 0x76, 0xe6, 0xf8, 0x45, 0x57, 0xd7, 0xf2, 0xa6, 0x2a, 0xc5, 0x6e, 0x16, 0xd5, 0xe4, 0xf7, 0x88, 0x62, 0xe7, 0x56, 0xef, 0x98, 0x52, 0xb0, 0x4d, 0x59, 0x19, 0x99, 0x21, 0x3a, 0x51, 0x19], - len: 12390, - sha: [0x5f, 0xf2, 0x93, 0x19, 0x01, 0x09, 0x9c, 0x2c, 0xfd, 0xb6, 0x03, 0x94, 0x56, 0x52, 0x2a, 0x1e, 0x1c, 0x26, 0xae, 0x32, 0xb6, 0x1f, 0xdf, 0x69, 0xfb, 0xee, 0xd9, 0xc2, 0xca, 0x02, 0xdd, 0x1e], - ptx: concat!(include_str!("../ptx-sm86/qsa_decode_postops.ptx"), "\0").as_bytes(), - }, - Companion { - name: "moe_group_swiglu.ptx", - key: [0xfe, 0x6f, 0xba, 0x86, 0x65, 0x4b, 0x64, 0x65, 0x1f, 0xee, 0xe8, 0x43, 0x91, 0xba, 0x77, 0xb2, 0xb0, 0xab, 0xff, 0x8b, 0x06, 0x23, 0xcd, 0xad, 0x41, 0x69, 0x76, 0x95, 0x44, 0x39, 0x7a, 0xea], - len: 4684, - sha: [0xbe, 0x94, 0x9a, 0x3e, 0xf8, 0xc4, 0x3c, 0x2f, 0xa1, 0x1a, 0x73, 0x63, 0x7d, 0x2d, 0x2b, 0x9c, 0x8d, 0x83, 0xdf, 0x56, 0xc2, 0x78, 0x49, 0x21, 0xeb, 0x7b, 0xc2, 0xb4, 0xf0, 0xb5, 0x72, 0x26], - ptx: concat!(include_str!("../ptx-sm86/moe_group_swiglu.ptx"), "\0").as_bytes(), - }, -]; +pub(crate) static COMPANIONS: &[Companion] = &JOINED; + +#[cfg(test)] +mod tests { + use super::{COMPANIONS, ROWS}; + + /// SHA-256 over the per-row digests of (name NUL, key, len as u64 LE, sha, ptx) in table order: the value computed + /// from the single 934-line table that this layout replaced. + const FORMER_TABLE_DIGEST: &str = "803b3cb0fd174a73d78bb727989f0c08066b3d052b647c052cc26bd6e84de3fc"; + + fn hex(bytes: &[u8]) -> String { + bytes.iter().map(|b| format!("{b:02x}")).collect() + } + + #[test] + fn split_table_equals_the_former_single_table() { + assert_eq!(COMPANIONS.len(), ROWS); + assert_eq!(COMPANIONS.len(), 131); + let mut outer = Vec::with_capacity(COMPANIONS.len() * 32); + for c in COMPANIONS { + let mut row = Vec::with_capacity(c.name.len() + 1 + 32 + 8 + 32 + c.ptx.len()); + row.extend_from_slice(c.name.as_bytes()); + row.push(0); + row.extend_from_slice(&c.key); + row.extend_from_slice(&(c.len as u64).to_le_bytes()); + row.extend_from_slice(&c.sha); + row.extend_from_slice(c.ptx); + outer.extend_from_slice(&crate::qwen_ffi::sha256(&row)); + } + assert_eq!(hex(&crate::qwen_ffi::sha256(&outer)), FORMER_TABLE_DIGEST); + } +} diff --git a/crates/cuda-driver/src/sm86_table/part_1.rs b/crates/cuda-driver/src/sm86_table/part_1.rs new file mode 100644 index 00000000..d0688641 --- /dev/null +++ b/crates/cuda-driver/src/sm86_table/part_1.rs @@ -0,0 +1,358 @@ +// @generated shape of scripts/gpu-bringup/sm86_assets.py build: rows 1..27 of the sorted sm_86 table. +use super::Companion; + +/// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. +#[rustfmt::skip] +pub(super) const ROWS: &[Companion] = &[ + Companion { + name: "ple_bf16_pack.ptx", + key: [ + 0x01, 0x59, 0x28, 0xed, 0xe2, 0x02, 0x42, 0xc6, 0x31, 0x51, 0x30, 0x7b, 0xd5, 0x02, 0xbf, 0x98, + 0xf4, 0xfb, 0x58, 0x0b, 0xad, 0x2b, 0x7d, 0x34, 0x72, 0xee, 0xbb, 0xa1, 0x12, 0x95, 0x30, 0xb3, + ], + len: 8276, + sha: [ + 0xb5, 0xe9, 0x9b, 0x53, 0x10, 0xcf, 0x1c, 0x92, 0x11, 0x67, 0x45, 0x06, 0x42, 0x6e, 0xe8, 0x99, + 0x68, 0xd1, 0x4a, 0xb7, 0x71, 0x80, 0x55, 0x3d, 0x94, 0xd5, 0xbd, 0xb8, 0x8e, 0x3c, 0x9c, 0x09, + ], + ptx: concat!(include_str!("../../ptx-sm86/ple_bf16_pack.ptx"), "\0").as_bytes(), + }, + Companion { + name: "offline_native_dequant_f16.ptx", + key: [ + 0x02, 0x0b, 0xc7, 0x97, 0xfc, 0x5a, 0x8f, 0x36, 0x23, 0x07, 0x54, 0x36, 0xb4, 0x4e, 0x02, 0x1a, + 0x2e, 0x97, 0xff, 0xba, 0xaa, 0xbf, 0x54, 0xd2, 0x73, 0xea, 0xce, 0xc1, 0x31, 0x32, 0xeb, 0x2a, + ], + len: 58080, + sha: [ + 0x24, 0x31, 0xc2, 0x8a, 0x19, 0x52, 0x5c, 0x64, 0xb7, 0xf9, 0x75, 0x30, 0x6e, 0x01, 0x99, 0xce, + 0x0f, 0x0d, 0x68, 0xf5, 0x5d, 0x22, 0x39, 0xe4, 0xb4, 0x72, 0x80, 0x9f, 0x1e, 0x17, 0x36, 0x70, + ], + ptx: concat!(include_str!("../../ptx-sm86/offline_native_dequant_f16.ptx"), "\0").as_bytes(), + }, + Companion { + name: "kar_ple_fixed.ptx", + key: [ + 0x03, 0xc9, 0xf6, 0x63, 0x49, 0x5b, 0xea, 0xf1, 0xdd, 0x42, 0x02, 0x5f, 0x14, 0x80, 0x9b, 0x7b, + 0xfb, 0x8c, 0xd7, 0xad, 0x4c, 0x7f, 0xb5, 0x5e, 0x17, 0x3a, 0x79, 0xb1, 0xa9, 0x72, 0x0c, 0x3b, + ], + len: 5210, + sha: [ + 0x76, 0xda, 0x12, 0x64, 0x39, 0xb0, 0x93, 0xf3, 0x9e, 0xda, 0x77, 0x14, 0x29, 0x9b, 0x6d, 0xf9, + 0xc9, 0xa6, 0x0f, 0xaf, 0x43, 0xcb, 0x75, 0x8f, 0x49, 0xf3, 0x12, 0x42, 0x75, 0xce, 0xcf, 0x56, + ], + ptx: concat!(include_str!("../../ptx-sm86/kar_ple_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "bf16_f32_mmvf.ptx", + key: [ + 0x04, 0x45, 0x43, 0xf6, 0x81, 0xbb, 0x23, 0xeb, 0x9c, 0xae, 0x60, 0x2b, 0x1a, 0x16, 0xaa, 0x7b, + 0x23, 0x86, 0xd6, 0xd5, 0xc3, 0xb1, 0x5c, 0xc4, 0x19, 0x87, 0x33, 0x8b, 0xd6, 0x13, 0xb1, 0xc3, + ], + len: 5875, + sha: [ + 0x54, 0xa3, 0x31, 0x46, 0x55, 0x8e, 0xf7, 0x6c, 0x81, 0x7f, 0xc8, 0xe5, 0x56, 0xf7, 0x09, 0x22, + 0x8f, 0x90, 0xe2, 0xcc, 0xd6, 0x56, 0x5f, 0x57, 0xc4, 0xf8, 0xec, 0x46, 0x46, 0xe6, 0xc4, 0x42, + ], + ptx: concat!(include_str!("../../ptx-sm86/bf16_f32_mmvf.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_iq4_xs_nc4.ptx", + key: [ + 0x06, 0x11, 0xaa, 0x38, 0x6b, 0x2b, 0x36, 0x6e, 0x99, 0x42, 0xd5, 0x37, 0x17, 0x5b, 0xe5, 0xb1, + 0xd9, 0x6e, 0x9c, 0x33, 0xbe, 0x5e, 0x12, 0x36, 0xc8, 0xb4, 0x6a, 0x83, 0x18, 0xf6, 0xb6, 0xc1, + ], + len: 74210, + sha: [ + 0x7c, 0xf9, 0x63, 0x32, 0x59, 0x2e, 0x39, 0x9b, 0x49, 0xe8, 0x4e, 0x53, 0x40, 0xff, 0xbb, 0xab, + 0x26, 0xdb, 0x49, 0x25, 0x9a, 0x9b, 0x5e, 0x03, 0x04, 0x79, 0x4c, 0x1c, 0x0f, 0x54, 0x79, 0x41, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq4_xs_nc4.ptx"), "\0").as_bytes(), + }, + Companion { + name: "q8_1_quantize.ptx", + key: [ + 0x06, 0x40, 0x3c, 0x31, 0xe0, 0x94, 0x4b, 0x39, 0xc6, 0x8f, 0x3a, 0xf6, 0x37, 0xe3, 0x3d, 0xaa, + 0x5f, 0x3d, 0x4c, 0x07, 0x26, 0x8f, 0x6b, 0xce, 0x15, 0x0c, 0x89, 0x1b, 0x9c, 0xf2, 0x33, 0xb0, + ], + len: 7200, + sha: [ + 0xbb, 0x46, 0xb0, 0x53, 0xaf, 0x13, 0x94, 0xc4, 0x62, 0x17, 0x39, 0x3b, 0x4f, 0x7e, 0xff, 0xc1, + 0xc9, 0x5f, 0xc4, 0x8a, 0xa5, 0x54, 0x68, 0x2a, 0xfb, 0xa5, 0xea, 0xeb, 0x0c, 0xd9, 0xc0, 0x6a, + ], + ptx: concat!(include_str!("../../ptx-sm86/q8_1_quantize.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_gr_norm.ptx", + key: [ + 0x06, 0xd6, 0x17, 0x7b, 0x48, 0x2c, 0xb6, 0x74, 0x13, 0xc6, 0x59, 0x6a, 0x02, 0x91, 0xb4, 0xda, + 0xb1, 0x85, 0x03, 0x32, 0x16, 0x4a, 0x92, 0x12, 0xaf, 0xf6, 0x7b, 0x9e, 0xfd, 0xf2, 0x11, 0x20, + ], + len: 29069, + sha: [ + 0xaa, 0x51, 0x98, 0x13, 0x94, 0xa9, 0x4a, 0xe2, 0x22, 0xf4, 0x4c, 0x23, 0x9d, 0xff, 0x1e, 0xf2, + 0x3c, 0xa7, 0xab, 0xda, 0x2a, 0xb0, 0x8f, 0x17, 0x95, 0x43, 0xd6, 0x2e, 0x71, 0x19, 0xd2, 0x1a, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_gr_norm.ptx"), "\0").as_bytes(), + }, + Companion { + name: "offline_moe_prefill.ptx", + key: [ + 0x07, 0x5e, 0xf4, 0x38, 0xcd, 0xb6, 0x21, 0x15, 0x05, 0x46, 0xdb, 0xef, 0xf8, 0xf5, 0xe6, 0xfd, + 0xc4, 0xaa, 0xeb, 0xc2, 0xe7, 0xfa, 0x10, 0x99, 0xe6, 0xcc, 0x6e, 0xff, 0x3f, 0x5b, 0x6f, 0x34, + ], + len: 71011, + sha: [ + 0xe1, 0x5e, 0x02, 0x23, 0xec, 0x1d, 0x55, 0x5a, 0x3b, 0x89, 0xd7, 0xcb, 0xe3, 0xa6, 0xe9, 0xa0, + 0xfe, 0x45, 0xb6, 0x5d, 0x39, 0x02, 0x90, 0x10, 0xd5, 0x19, 0xc7, 0x31, 0x32, 0x48, 0xcc, 0x7f, + ], + ptx: concat!(include_str!("../../ptx-sm86/offline_moe_prefill.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_down_iq4_nl.ptx", + key: [ + 0x0b, 0x7b, 0xa2, 0xb0, 0x0b, 0x91, 0xb6, 0x64, 0x50, 0x51, 0x82, 0xbe, 0xf3, 0x2c, 0xac, 0xad, + 0x06, 0x3f, 0x11, 0xee, 0x37, 0xed, 0x93, 0x13, 0x29, 0x64, 0x8d, 0x3e, 0xe4, 0xa0, 0x4d, 0x5a, + ], + len: 8620, + sha: [ + 0x7d, 0xcf, 0xdb, 0x60, 0x83, 0x16, 0xcb, 0x28, 0xf0, 0x77, 0x6a, 0x10, 0xf8, 0x40, 0xb1, 0x98, + 0x81, 0x43, 0x5c, 0x75, 0xb7, 0xf4, 0xf2, 0x2b, 0xa2, 0xc3, 0xfe, 0xf9, 0xe5, 0xbb, 0x89, 0xcb, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_down_iq4_nl.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_s2_fixed.ptx", + key: [ + 0x0b, 0xf7, 0xb8, 0x12, 0x8c, 0x2d, 0x59, 0x0e, 0x36, 0xc8, 0xc5, 0x55, 0x97, 0xb4, 0xd0, 0x2f, + 0x3c, 0x50, 0x7e, 0x12, 0x0f, 0x3d, 0x09, 0x1c, 0xb3, 0x54, 0xea, 0xee, 0x9e, 0x09, 0x74, 0xf7, + ], + len: 103812, + sha: [ + 0x97, 0xef, 0x26, 0x18, 0x0d, 0x6c, 0xa0, 0xa6, 0xc3, 0xb4, 0xe2, 0x8c, 0x55, 0x5b, 0xf4, 0x94, + 0x12, 0x17, 0x5b, 0x7c, 0x65, 0x2d, 0x71, 0xa3, 0x1d, 0xc4, 0xee, 0x09, 0x7d, 0xc2, 0xc1, 0xb2, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_s2_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq-adaptive-selected.ptx", + key: [ + 0x0c, 0x7f, 0xa1, 0x08, 0x28, 0x02, 0x0b, 0x9e, 0xc8, 0x9b, 0x8b, 0x2f, 0xe5, 0x85, 0x50, 0x2c, + 0x84, 0x89, 0xbe, 0x92, 0xf1, 0xf8, 0x25, 0x18, 0x7d, 0x4c, 0x6b, 0x90, 0xf1, 0x06, 0x49, 0x48, + ], + len: 3249625, + sha: [ + 0x3f, 0x3c, 0xbc, 0x5f, 0x2d, 0x2d, 0xc8, 0x23, 0x83, 0xb1, 0x5a, 0x0d, 0xaf, 0xf0, 0x7f, 0xb6, + 0x77, 0xcc, 0x4e, 0x45, 0xfb, 0x35, 0x73, 0x7d, 0xdc, 0x61, 0x41, 0x2f, 0xff, 0x3f, 0x79, 0x2c, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq-adaptive-selected.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mapped_expert_copy.ptx", + key: [ + 0x10, 0x51, 0x98, 0x85, 0xee, 0x9d, 0xab, 0xb6, 0x00, 0x10, 0x15, 0x4e, 0x2f, 0x80, 0x9b, 0x39, + 0x73, 0x61, 0x86, 0xba, 0x1c, 0x0d, 0xac, 0x11, 0xa2, 0x40, 0x96, 0x5d, 0x05, 0x77, 0x62, 0x57, + ], + len: 5620, + sha: [ + 0x11, 0xda, 0x70, 0xf0, 0x16, 0x18, 0xa2, 0xa6, 0xf9, 0xd6, 0x59, 0xa6, 0xda, 0x03, 0xbb, 0x90, + 0x48, 0x0d, 0x4c, 0xbd, 0x14, 0x1d, 0x3c, 0x36, 0x6c, 0xfe, 0x90, 0xc2, 0x65, 0x9d, 0x11, 0xb0, + ], + ptx: concat!(include_str!("../../ptx-sm86/mapped_expert_copy.ptx"), "\0").as_bytes(), + }, + Companion { + name: "original_verify_window_qsa_gate.ptx", + key: [ + 0x10, 0x80, 0x7c, 0x4c, 0x62, 0xd8, 0xbf, 0x4b, 0xe7, 0x5c, 0xfb, 0x1a, 0x50, 0x77, 0xfc, 0x3e, + 0x00, 0xdc, 0x8f, 0x40, 0xea, 0x66, 0x9b, 0x22, 0xdc, 0xff, 0x7b, 0x78, 0x53, 0xab, 0x79, 0x49, + ], + len: 2232, + sha: [ + 0x0c, 0x13, 0xa5, 0xf2, 0x95, 0x3f, 0x70, 0x7b, 0xb2, 0x87, 0xbc, 0x53, 0x25, 0x83, 0xf3, 0xfd, + 0x69, 0xae, 0x8e, 0x80, 0xa7, 0x6e, 0x61, 0xdc, 0x88, 0x27, 0xe1, 0x3f, 0x00, 0x6b, 0x48, 0x49, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify_window_qsa_gate.ptx"), "\0").as_bytes(), + }, + Companion { + name: "gr_native_batch.ptx", + key: [ + 0x10, 0xa3, 0xe8, 0x36, 0xb9, 0x02, 0xe9, 0xa3, 0x87, 0x05, 0x5e, 0x98, 0x0c, 0x3e, 0xd0, 0x45, + 0xe9, 0x0b, 0xdc, 0x25, 0x1e, 0xe1, 0xe6, 0xbe, 0x57, 0x66, 0x81, 0x61, 0x8f, 0x62, 0x1d, 0xb2, + ], + len: 29664, + sha: [ + 0xda, 0xec, 0x53, 0x68, 0x4c, 0x0c, 0xc3, 0x08, 0x8d, 0x46, 0xe9, 0x24, 0x14, 0x2d, 0xd3, 0x61, + 0x32, 0xa5, 0x9f, 0xb7, 0x87, 0x16, 0x56, 0x94, 0xd1, 0x48, 0x27, 0xaf, 0xd3, 0x10, 0xd9, 0xc9, + ], + ptx: concat!(include_str!("../../ptx-sm86/gr_native_batch.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_checks.ptx", + key: [ + 0x16, 0xcb, 0x9f, 0x01, 0xe5, 0x4b, 0x05, 0x33, 0x43, 0x99, 0x37, 0xdd, 0x09, 0xae, 0xa4, 0xcc, + 0xf9, 0x8d, 0xf7, 0x36, 0x76, 0xeb, 0x2b, 0x79, 0x62, 0x98, 0xac, 0x72, 0xe1, 0x27, 0xa5, 0x91, + ], + len: 115865, + sha: [ + 0x70, 0x7a, 0xd0, 0xce, 0x70, 0xa3, 0x2b, 0x33, 0x34, 0x8b, 0x26, 0x48, 0xfd, 0xfe, 0x44, 0xaa, + 0xe0, 0xd1, 0xfa, 0x1c, 0x43, 0x0a, 0x97, 0xe7, 0x39, 0x64, 0x2e, 0x4b, 0xc3, 0x38, 0x1e, 0x62, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_checks.ptx"), "\0").as_bytes(), + }, + Companion { + name: "iq4_nl_q8_1.ptx", + key: [ + 0x18, 0x9b, 0x02, 0xce, 0xe8, 0x18, 0x63, 0x79, 0xfb, 0x7b, 0x0b, 0xd0, 0x7a, 0x83, 0x1e, 0x1f, + 0xb2, 0x76, 0x4d, 0x29, 0xa9, 0x8a, 0x17, 0xfd, 0x2b, 0x51, 0x6c, 0x54, 0x59, 0xf9, 0xd4, 0xce, + ], + len: 38554, + sha: [ + 0xeb, 0x57, 0xbb, 0xff, 0x87, 0x55, 0x63, 0x75, 0xe2, 0xf9, 0x84, 0x95, 0x5b, 0x7d, 0x28, 0x9d, + 0xf1, 0xfc, 0xab, 0xf8, 0xca, 0x20, 0x84, 0x88, 0xfa, 0x73, 0xbb, 0x3d, 0xc2, 0xe8, 0x11, 0x76, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq4_nl_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "experimental_cvec.ptx", + key: [ + 0x19, 0x3a, 0xdd, 0x5c, 0xb4, 0x48, 0xf5, 0xe1, 0x93, 0xf2, 0x0f, 0xf2, 0x48, 0xca, 0x44, 0x59, + 0xab, 0xb9, 0x62, 0xb4, 0x72, 0x66, 0x3c, 0x00, 0xd1, 0x89, 0x41, 0x31, 0x3b, 0xfa, 0x3e, 0xbc, + ], + len: 28943, + sha: [ + 0x09, 0x43, 0xc5, 0xc0, 0x4e, 0xf8, 0x63, 0x4b, 0x8e, 0xb6, 0x11, 0x33, 0x32, 0x9a, 0xd7, 0x30, + 0xf6, 0xbc, 0x39, 0xdc, 0x4e, 0x55, 0xce, 0x9a, 0xc6, 0x25, 0x87, 0x1f, 0xa1, 0x62, 0x58, 0x78, + ], + ptx: concat!(include_str!("../../ptx-sm86/experimental_cvec.ptx"), "\0").as_bytes(), + }, + Companion { + name: "experimental_keyless.ptx", + key: [ + 0x1a, 0xb8, 0xb8, 0x15, 0x6e, 0x8c, 0x82, 0x41, 0x31, 0xc0, 0x0c, 0xec, 0xda, 0x17, 0x7f, 0xe5, + 0x7d, 0x74, 0xb2, 0x86, 0xa0, 0x2b, 0x7e, 0x5a, 0xfd, 0xfa, 0x39, 0xac, 0xad, 0xaa, 0x33, 0xe6, + ], + len: 3760, + sha: [ + 0x0a, 0x16, 0xc1, 0x19, 0x5e, 0x25, 0x74, 0x7c, 0xb0, 0x7b, 0x18, 0x34, 0xf7, 0xc4, 0x52, 0xb8, + 0x91, 0x0c, 0x27, 0xac, 0x2b, 0x7d, 0x30, 0xb9, 0xf6, 0x68, 0x7d, 0x28, 0xcc, 0x76, 0xb8, 0xb9, + ], + ptx: concat!(include_str!("../../ptx-sm86/experimental_keyless.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_attention.ptx", + key: [ + 0x1c, 0x89, 0xe6, 0xcb, 0xc8, 0xbb, 0x52, 0xb4, 0x64, 0x96, 0xa1, 0xca, 0xe3, 0x14, 0x3a, 0x8a, + 0xd6, 0xcb, 0x8e, 0x8d, 0xb7, 0x0f, 0x4e, 0x6d, 0x5a, 0x87, 0x4d, 0x59, 0xfd, 0xdd, 0x4a, 0x07, + ], + len: 96184, + sha: [ + 0xf3, 0x2c, 0x26, 0xe3, 0xdf, 0x42, 0xa4, 0xa2, 0xda, 0x00, 0xf2, 0xa9, 0x79, 0x1e, 0x1a, 0xb8, + 0x98, 0x41, 0x61, 0xe8, 0x9e, 0x20, 0x3e, 0xdf, 0x88, 0x0a, 0xdc, 0xc8, 0x30, 0xe2, 0x43, 0x5c, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_attention.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_select.ptx", + key: [ + 0x1e, 0x35, 0x51, 0x47, 0x44, 0x21, 0x62, 0x29, 0xb0, 0xcf, 0xfb, 0x4f, 0x45, 0xd2, 0xf1, 0x3f, + 0x25, 0xcb, 0x95, 0xf3, 0x77, 0xa3, 0x0c, 0x1c, 0x01, 0x25, 0x43, 0xdb, 0xf5, 0x3a, 0x1c, 0x2d, + ], + len: 97179, + sha: [ + 0x38, 0xef, 0x04, 0x0e, 0xff, 0x7b, 0x93, 0xe2, 0xaf, 0x2c, 0x15, 0x3f, 0xb1, 0xd9, 0x35, 0x24, + 0xbd, 0xf1, 0x65, 0x42, 0x8a, 0xa2, 0xf8, 0xcf, 0xbd, 0xa5, 0x08, 0x3e, 0xc4, 0x07, 0x1d, 0xf3, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_select.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_iq2_s.ptx", + key: [ + 0x1e, 0x5c, 0x05, 0x7c, 0xfb, 0x36, 0xd3, 0x51, 0xcc, 0xb2, 0xba, 0x54, 0x6c, 0xf2, 0x95, 0xd1, + 0x3b, 0xfa, 0x00, 0x30, 0x65, 0xeb, 0x9b, 0x41, 0x5b, 0xf0, 0xc0, 0x11, 0x8b, 0xd4, 0x80, 0x4a, + ], + len: 42048, + sha: [ + 0xe8, 0xcb, 0x46, 0x20, 0xf1, 0xe2, 0xcf, 0x38, 0xd5, 0x6b, 0x87, 0x55, 0x33, 0xc3, 0x9e, 0x27, + 0x95, 0x94, 0x86, 0x2f, 0x77, 0x9e, 0x73, 0x1e, 0x50, 0x1d, 0xed, 0x50, 0xb2, 0xf8, 0xf5, 0x92, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq2_s.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_qsa_gate.ptx", + key: [ + 0x21, 0xf1, 0xa0, 0x14, 0xbf, 0xa0, 0x59, 0x74, 0x3a, 0x7c, 0x9d, 0x55, 0x3a, 0x46, 0x15, 0xf5, + 0x48, 0x82, 0x0b, 0xb4, 0xe7, 0xc4, 0x8f, 0x4e, 0xf1, 0xd7, 0x1f, 0x05, 0x07, 0x7b, 0x4b, 0x25, + ], + len: 26053, + sha: [ + 0xb4, 0x22, 0x8c, 0x01, 0x5b, 0xb0, 0xb0, 0x62, 0x6d, 0x31, 0x40, 0x62, 0x77, 0x20, 0x94, 0x39, + 0x0a, 0xd3, 0xba, 0xa6, 0x86, 0x64, 0xd7, 0x29, 0x9b, 0x2a, 0x17, 0x11, 0x80, 0xa4, 0x7c, 0x64, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_qsa_gate.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_combine.ptx", + key: [ + 0x22, 0x53, 0xfe, 0x2d, 0x64, 0x13, 0x50, 0xf4, 0x44, 0x5a, 0x0a, 0x69, 0xc4, 0xa0, 0xfc, 0x22, + 0xb8, 0x5c, 0x2f, 0xff, 0xca, 0x7c, 0xbd, 0x53, 0x6f, 0xfe, 0x5d, 0x29, 0x12, 0xf8, 0x1f, 0xb7, + ], + len: 12958, + sha: [ + 0x6e, 0x0f, 0xba, 0x41, 0xea, 0x8b, 0x0f, 0xe6, 0x0b, 0x1f, 0xc5, 0x1e, 0xb3, 0xe7, 0x0f, 0x5f, + 0xc9, 0xb3, 0x51, 0x63, 0xce, 0xff, 0x1d, 0xb4, 0x36, 0xd6, 0x2e, 0xf6, 0x7e, 0x9a, 0xbd, 0xfe, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_combine.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_scalar_gr.ptx", + key: [ + 0x24, 0x01, 0x60, 0x6b, 0x7e, 0xb4, 0x4a, 0xf8, 0x2a, 0x8b, 0x57, 0x48, 0x48, 0x6c, 0x72, 0xae, + 0xc9, 0xc4, 0x7a, 0x4c, 0x7d, 0xb0, 0x6e, 0x5a, 0xbf, 0xd3, 0x7d, 0xb3, 0x75, 0x64, 0x88, 0x6d, + ], + len: 387485, + sha: [ + 0x89, 0xf9, 0xe9, 0x1d, 0xc7, 0xe3, 0x28, 0xa6, 0x7a, 0xd8, 0x7e, 0x02, 0xde, 0xae, 0x1c, 0x7a, + 0x25, 0x56, 0xe7, 0x4d, 0x05, 0x98, 0x40, 0xd8, 0xe0, 0x94, 0x2d, 0x8e, 0x85, 0xe2, 0xe5, 0xcb, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_scalar_gr.ptx"), "\0").as_bytes(), + }, + Companion { + name: "original_verify_window_moe_experts.ptx", + key: [ + 0x24, 0xd2, 0x8c, 0xcd, 0x9c, 0x3a, 0x5b, 0xbe, 0xdb, 0xeb, 0x93, 0x3b, 0x4f, 0xeb, 0x37, 0x6f, + 0x84, 0x0a, 0x74, 0xe2, 0x1a, 0x44, 0x82, 0x17, 0x48, 0x8c, 0x06, 0xee, 0x23, 0x82, 0x11, 0x57, + ], + len: 991906, + sha: [ + 0xf6, 0xbe, 0xc9, 0xbb, 0x67, 0xe4, 0x5a, 0xa8, 0x40, 0x4f, 0xaa, 0xfd, 0x44, 0xdc, 0x30, 0xb7, + 0x90, 0xbf, 0x29, 0x08, 0xf4, 0x5f, 0x0c, 0x7b, 0xb0, 0xef, 0x86, 0xa0, 0x4e, 0xad, 0x97, 0x23, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify_window_moe_experts.ptx"), "\0").as_bytes(), + }, + Companion { + name: "q4_k_q8_1.ptx", + key: [ + 0x29, 0x4f, 0x3a, 0xd5, 0xfd, 0xdd, 0xf7, 0x96, 0x94, 0x13, 0x46, 0xc9, 0x14, 0x4f, 0xc4, 0x9d, + 0x4c, 0xff, 0x54, 0x78, 0xa8, 0x8d, 0xaa, 0xd6, 0xb8, 0x94, 0x1f, 0xbd, 0x4b, 0xb2, 0x40, 0xcb, + ], + len: 28282, + sha: [ + 0x7c, 0xb5, 0xfa, 0x63, 0x73, 0x59, 0x81, 0x41, 0x7d, 0x57, 0x45, 0x76, 0xcf, 0xd8, 0x7e, 0x86, + 0x43, 0xcf, 0xea, 0xd8, 0x1b, 0x84, 0x75, 0x44, 0xf9, 0xf1, 0x4c, 0x09, 0x70, 0x2b, 0x3b, 0x60, + ], + ptx: concat!(include_str!("../../ptx-sm86/q4_k_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq-original-formats.ptx", + key: [ + 0x29, 0xd9, 0x2d, 0xea, 0x14, 0x09, 0x95, 0x86, 0xc5, 0x7c, 0x97, 0x0a, 0x36, 0x46, 0xa7, 0x8e, + 0x63, 0x1a, 0x49, 0x9a, 0x71, 0x57, 0xd5, 0x6a, 0xa0, 0xe2, 0x0a, 0xc1, 0xe0, 0xb4, 0x01, 0x36, + ], + len: 2072448, + sha: [ + 0xe0, 0x6d, 0xad, 0xbb, 0x57, 0xa9, 0xf0, 0xdc, 0x0b, 0x20, 0xd8, 0xb4, 0x7f, 0xdd, 0x62, 0xa4, + 0xc8, 0x46, 0x75, 0xcc, 0xd4, 0x17, 0x0d, 0x42, 0x48, 0x95, 0x6c, 0x09, 0xb4, 0xfb, 0xd2, 0x1e, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq-original-formats.ptx"), "\0").as_bytes(), + }, +]; diff --git a/crates/cuda-driver/src/sm86_table/part_2.rs b/crates/cuda-driver/src/sm86_table/part_2.rs new file mode 100644 index 00000000..d3d42016 --- /dev/null +++ b/crates/cuda-driver/src/sm86_table/part_2.rs @@ -0,0 +1,358 @@ +// @generated shape of scripts/gpu-bringup/sm86_assets.py build: rows 28..54 of the sorted sm_86 table. +use super::Companion; + +/// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. +#[rustfmt::skip] +pub(super) const ROWS: &[Companion] = &[ + Companion { + name: "mtp_original_prefill_fixup.ptx", + key: [ + 0x29, 0xfd, 0x3f, 0x75, 0x98, 0x64, 0x39, 0x75, 0x7c, 0x3a, 0x6e, 0xb1, 0x7d, 0x93, 0xe3, 0xed, + 0x12, 0x4c, 0xc4, 0x18, 0x51, 0x97, 0xa2, 0xb4, 0x45, 0x84, 0x10, 0xd1, 0xe7, 0xf7, 0xec, 0x4b, + ], + len: 325813, + sha: [ + 0x43, 0xa2, 0xa5, 0x24, 0x43, 0xcf, 0x7a, 0x2e, 0x2e, 0xe6, 0x58, 0xf5, 0x93, 0xb0, 0xfe, 0xb3, + 0x93, 0x3d, 0xb7, 0x37, 0x93, 0x69, 0xef, 0x19, 0x15, 0xfe, 0x23, 0x99, 0x6a, 0xca, 0xda, 0x84, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill_fixup.ptx"), "\0").as_bytes(), + }, + Companion { + name: "iq4_xs_q8_1.ptx", + key: [ + 0x2c, 0x85, 0x3b, 0xad, 0xe2, 0xbb, 0x62, 0xb6, 0x71, 0x67, 0xb7, 0xcb, 0xe0, 0x03, 0x24, 0x61, + 0x6c, 0x72, 0x87, 0xc6, 0x0a, 0xb5, 0xfb, 0x8a, 0x41, 0xd2, 0xb5, 0x69, 0x01, 0x97, 0xf1, 0xb4, + ], + len: 62854, + sha: [ + 0x49, 0xbf, 0x1b, 0x11, 0x6a, 0xd9, 0xa8, 0x42, 0x7d, 0x7b, 0x64, 0x01, 0xae, 0x41, 0x4a, 0x2b, + 0xd7, 0x81, 0x3c, 0x74, 0x4d, 0x96, 0x8a, 0x99, 0x26, 0xb9, 0xcc, 0x4a, 0x22, 0x3e, 0x96, 0xd6, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq4_xs_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq-fixup-selected.ptx", + key: [ + 0x32, 0xa0, 0xc8, 0xc5, 0x45, 0x8b, 0xce, 0x5f, 0x2e, 0x07, 0xc7, 0x95, 0x7e, 0x39, 0xaa, 0x97, + 0xbe, 0xac, 0x8d, 0x79, 0xbf, 0xad, 0x4a, 0x95, 0x4c, 0x91, 0xdc, 0xe3, 0x97, 0xa4, 0x79, 0x71, + ], + len: 183342, + sha: [ + 0xbd, 0x2a, 0x21, 0xaa, 0x98, 0x59, 0xc3, 0x1d, 0x70, 0x97, 0x9d, 0x89, 0x7c, 0xe7, 0xb7, 0x9c, + 0xd4, 0x48, 0x3c, 0xde, 0xd8, 0x0a, 0x3b, 0x11, 0xbc, 0x24, 0x24, 0xdc, 0x13, 0xbc, 0x67, 0x0c, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq-fixup-selected.ptx"), "\0").as_bytes(), + }, + Companion { + name: "q8_0_q8_1.ptx", + key: [ + 0x34, 0x1a, 0xbb, 0xd0, 0x11, 0x39, 0x19, 0xd5, 0x73, 0x24, 0x1b, 0x1d, 0xc4, 0x78, 0x86, 0x51, + 0x4e, 0xa7, 0xaa, 0x1d, 0x4d, 0x3f, 0x1a, 0x86, 0x70, 0x24, 0xe7, 0x66, 0x4b, 0x50, 0x1a, 0x0a, + ], + len: 21418, + sha: [ + 0x5b, 0x7e, 0x7d, 0x2c, 0xd3, 0x17, 0xfd, 0x3b, 0x1a, 0x5b, 0xea, 0x40, 0x01, 0x32, 0xf0, 0x38, + 0x6b, 0x06, 0x9c, 0xa7, 0xdb, 0x60, 0x97, 0x45, 0x93, 0xe9, 0x02, 0x27, 0x66, 0xb3, 0x95, 0xb2, + ], + ptx: concat!(include_str!("../../ptx-sm86/q8_0_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "gr_prompt_device.ptx", + key: [ + 0x39, 0xc4, 0xea, 0xcc, 0x21, 0x1f, 0xa4, 0x5f, 0xe3, 0x68, 0xee, 0x50, 0x2d, 0x3d, 0x3f, 0xf2, + 0x12, 0x41, 0xe6, 0xfe, 0x24, 0xd5, 0xd1, 0x21, 0x1c, 0x6e, 0x18, 0xef, 0x0d, 0x37, 0x28, 0x70, + ], + len: 46298, + sha: [ + 0x1c, 0xcf, 0xf9, 0xa5, 0xce, 0x9f, 0x1a, 0xb7, 0x9c, 0xf8, 0xf5, 0xc8, 0x1d, 0xfd, 0x2a, 0x77, + 0x5a, 0xd8, 0x38, 0x11, 0x5c, 0x09, 0x41, 0x4e, 0x0e, 0x1c, 0xdb, 0x3f, 0x34, 0x7f, 0x35, 0x6b, + ], + ptx: concat!(include_str!("../../ptx-sm86/gr_prompt_device.ptx"), "\0").as_bytes(), + }, + Companion { + name: "s_gemv_legacy.ptx", + key: [ + 0x3a, 0xb4, 0xd1, 0x2a, 0x5e, 0x97, 0xc4, 0xe2, 0xf4, 0x60, 0x2c, 0x6c, 0x87, 0x23, 0x72, 0xc5, + 0xc0, 0x68, 0x5d, 0x8c, 0xf1, 0xa2, 0x02, 0x60, 0xaf, 0x6e, 0x0f, 0x52, 0x05, 0xac, 0x76, 0xd5, + ], + len: 303521, + sha: [ + 0x97, 0x47, 0xc1, 0xbe, 0x0d, 0xb5, 0x20, 0x66, 0xf1, 0xef, 0xe8, 0xef, 0xa9, 0xad, 0xdf, 0x14, + 0x23, 0xc5, 0xfd, 0x12, 0xe3, 0x17, 0x47, 0x99, 0xdf, 0x85, 0x3b, 0x0f, 0x71, 0x55, 0x76, 0x55, + ], + ptx: concat!(include_str!("../../ptx-sm86/s_gemv_legacy.ptx"), "\0").as_bytes(), + }, + Companion { + name: "iq3_native_integer_mma.ptx", + key: [ + 0x3b, 0xfb, 0x20, 0xc5, 0x31, 0xd0, 0xd5, 0x74, 0xcd, 0xd0, 0x12, 0xda, 0x9f, 0xd0, 0xca, 0xe0, + 0x63, 0xf6, 0x16, 0xd1, 0xa0, 0x70, 0xe0, 0x20, 0x17, 0x99, 0xab, 0x11, 0xd7, 0x36, 0x8e, 0x63, + ], + len: 17927, + sha: [ + 0x71, 0x0e, 0xda, 0x43, 0xa5, 0x42, 0x8c, 0x1f, 0xbe, 0xcc, 0xc6, 0x76, 0x82, 0x08, 0x93, 0x98, + 0x0e, 0xa3, 0xcf, 0x1d, 0xf1, 0x22, 0x47, 0x17, 0xea, 0x95, 0x19, 0xb2, 0xe1, 0x39, 0xe3, 0x76, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq3_native_integer_mma.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq_original_prefill_misc.ptx", + key: [ + 0x3e, 0x57, 0x32, 0x6d, 0x0d, 0xd6, 0xae, 0xc8, 0x14, 0x7e, 0x6c, 0xf8, 0x37, 0xce, 0xca, 0x9d, + 0x77, 0x9b, 0xa0, 0x6e, 0xa6, 0x7b, 0xf4, 0x31, 0x1b, 0x3c, 0xe0, 0xba, 0xa6, 0xd0, 0x4d, 0x69, + ], + len: 5267, + sha: [ + 0x7f, 0xb7, 0x4e, 0x54, 0xb7, 0xaf, 0x58, 0xdd, 0x65, 0x0d, 0x17, 0xaa, 0xa4, 0x0c, 0xa2, 0x31, + 0x57, 0xd7, 0xb9, 0x88, 0x6b, 0xba, 0xf7, 0x0f, 0x8b, 0x71, 0x09, 0xc5, 0xa7, 0xa9, 0x74, 0xf2, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq_original_prefill_misc.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_prefill_mmq.ptx", + key: [ + 0x3e, 0x67, 0x46, 0x7d, 0x41, 0x2d, 0xbf, 0x18, 0x12, 0x00, 0xd3, 0xca, 0x10, 0xf2, 0xb6, 0x69, + 0x95, 0xaf, 0xe3, 0x16, 0xcb, 0xe4, 0x02, 0x60, 0xde, 0xa2, 0x1d, 0x97, 0x31, 0x8b, 0x61, 0xe1, + ], + len: 1850087, + sha: [ + 0x2f, 0xde, 0xe9, 0xf3, 0xc3, 0x06, 0x7e, 0x27, 0x64, 0x30, 0xc6, 0xb6, 0x15, 0x45, 0xb1, 0xf8, + 0x59, 0x22, 0x60, 0xd4, 0x62, 0x64, 0x98, 0x89, 0xa8, 0xc9, 0x3b, 0xaa, 0xdf, 0x46, 0x92, 0xaa, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill_mmq.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_attention.ptx", + key: [ + 0x3f, 0xb2, 0x35, 0xca, 0x40, 0x5d, 0x24, 0xc3, 0xb8, 0xd0, 0xec, 0x46, 0x61, 0x1d, 0x9d, 0x64, + 0x01, 0x03, 0xb7, 0x1a, 0x65, 0x85, 0x99, 0x23, 0x19, 0x4f, 0x02, 0xf0, 0x6b, 0x48, 0x2f, 0x6c, + ], + len: 54452, + sha: [ + 0xdc, 0x1a, 0xcb, 0x71, 0x2c, 0x99, 0x3b, 0x09, 0xaa, 0x87, 0x86, 0x72, 0x13, 0xd5, 0x23, 0xd8, + 0x6d, 0x34, 0x2c, 0x91, 0xe7, 0x33, 0xf2, 0xdb, 0x80, 0x49, 0x7b, 0x85, 0xdc, 0xdd, 0x0b, 0x41, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_attention.ptx"), "\0").as_bytes(), + }, + Companion { + name: "ple_prompt_device.ptx", + key: [ + 0x41, 0x2e, 0xd1, 0xdc, 0xcd, 0x1f, 0xc6, 0x2c, 0x5c, 0xf6, 0xc7, 0x50, 0xad, 0x8d, 0x2f, 0x45, + 0x20, 0x5f, 0x6d, 0x19, 0xfa, 0xfc, 0x00, 0x23, 0xd6, 0x4a, 0x33, 0xd3, 0x12, 0x95, 0x09, 0x34, + ], + len: 19418, + sha: [ + 0xdb, 0x53, 0x73, 0x24, 0x8a, 0x30, 0x34, 0xea, 0x29, 0xc1, 0xd3, 0x65, 0xae, 0x26, 0x78, 0x5e, + 0x4c, 0x46, 0x6f, 0x3d, 0xdc, 0x9b, 0x26, 0x48, 0x43, 0xca, 0x58, 0xaf, 0x47, 0xc9, 0xc2, 0x03, + ], + ptx: concat!(include_str!("../../ptx-sm86/ple_prompt_device.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_s2_full_fixed.ptx", + key: [ + 0x43, 0x81, 0x4a, 0x9c, 0x17, 0x9a, 0xba, 0xba, 0x8f, 0xe0, 0xa8, 0x0b, 0x88, 0xa3, 0x15, 0xbc, + 0x94, 0xc4, 0x38, 0xf3, 0x9b, 0x38, 0x42, 0xf4, 0xe4, 0x30, 0x1e, 0x96, 0xa0, 0x32, 0xf7, 0x8d, + ], + len: 142044, + sha: [ + 0x48, 0x41, 0xdf, 0x97, 0x8e, 0x70, 0x2a, 0xd9, 0x1a, 0xdf, 0xd6, 0xb1, 0x7f, 0xd3, 0x1e, 0x53, + 0xa4, 0x12, 0x04, 0xf8, 0x0c, 0xbc, 0xa0, 0xdf, 0x2b, 0x6f, 0xad, 0xef, 0xf3, 0x5a, 0x3b, 0x78, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_s2_full_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "experimental_kv_q8.ptx", + key: [ + 0x43, 0xc3, 0x08, 0x96, 0x08, 0x30, 0x83, 0x3e, 0x29, 0x32, 0x99, 0x07, 0xe2, 0x7b, 0xe5, 0x20, + 0x3e, 0xf3, 0xbc, 0x89, 0xcc, 0x7d, 0x0a, 0x91, 0x76, 0x27, 0x0d, 0xc1, 0x87, 0x32, 0xd6, 0x00, + ], + len: 32973, + sha: [ + 0x4b, 0xe6, 0xeb, 0xa3, 0xae, 0x08, 0xf2, 0x12, 0xeb, 0x89, 0x60, 0x7c, 0xea, 0x56, 0x63, 0x8c, + 0x10, 0xfa, 0x12, 0xee, 0x40, 0x98, 0x5b, 0xeb, 0xee, 0x99, 0x75, 0x44, 0xae, 0xd7, 0xad, 0xc7, + ], + ptx: concat!(include_str!("../../ptx-sm86/experimental_kv_q8.ptx"), "\0").as_bytes(), + }, + Companion { + name: "q6_k_q8_1.ptx", + key: [ + 0x45, 0x40, 0xf6, 0x7f, 0x72, 0xe3, 0xb3, 0x5b, 0xf2, 0x1c, 0xfb, 0xde, 0x0b, 0xfd, 0xf7, 0x85, + 0x1e, 0xbe, 0x90, 0xe4, 0x15, 0x40, 0x5c, 0x0c, 0x16, 0x16, 0x6d, 0x09, 0x33, 0xd5, 0x47, 0x97, + ], + len: 26986, + sha: [ + 0x56, 0xb6, 0x06, 0xf4, 0x0b, 0x9a, 0xdd, 0xb9, 0x14, 0xed, 0x01, 0x83, 0x5e, 0x77, 0x87, 0x44, + 0x22, 0xca, 0x26, 0xc5, 0xff, 0x32, 0x09, 0x94, 0x3d, 0x1d, 0xe1, 0x22, 0xfc, 0x79, 0x69, 0x58, + ], + ptx: concat!(include_str!("../../ptx-sm86/q6_k_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_route_top10.ptx", + key: [ + 0x48, 0x04, 0xcc, 0xad, 0xee, 0x77, 0xaa, 0xbd, 0xa8, 0x80, 0xfb, 0xc0, 0xa5, 0xb3, 0x4f, 0x10, + 0xe8, 0x58, 0x51, 0xc1, 0x69, 0xea, 0xa8, 0x96, 0xf3, 0x31, 0x4b, 0xed, 0x64, 0x78, 0xe2, 0x25, + ], + len: 61900, + sha: [ + 0xe3, 0x29, 0x7c, 0x8c, 0x54, 0x4c, 0xe8, 0x40, 0x15, 0xb5, 0xba, 0x73, 0x45, 0x57, 0xd5, 0x1e, + 0xd7, 0x77, 0xed, 0x40, 0x46, 0xf7, 0x4f, 0x09, 0x33, 0x1b, 0x63, 0x56, 0x9e, 0x01, 0xb5, 0x83, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_route_top10.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_postops.ptx", + key: [ + 0x48, 0x6a, 0x73, 0xb0, 0x6b, 0x3a, 0x34, 0xf2, 0x98, 0xf5, 0x7e, 0x92, 0xc2, 0x0c, 0xc8, 0x39, + 0x4d, 0xc5, 0x9d, 0x7b, 0xd8, 0x4b, 0x5c, 0xcc, 0xf8, 0xda, 0x53, 0xaa, 0x50, 0x81, 0xac, 0x9f, + ], + len: 21830, + sha: [ + 0x34, 0x00, 0x50, 0x40, 0x42, 0xb6, 0x9f, 0x98, 0x8b, 0x9a, 0x13, 0x3c, 0x2a, 0xea, 0xf8, 0x67, + 0x69, 0xc7, 0xf3, 0x99, 0xfa, 0xaf, 0x94, 0xc6, 0x38, 0x7e, 0xbc, 0x6b, 0x46, 0xd3, 0x5d, 0xa9, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_postops.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_selected_kv.ptx", + key: [ + 0x4f, 0x2a, 0xd2, 0x04, 0x10, 0x9b, 0xdd, 0x97, 0x4a, 0x7c, 0x96, 0x5d, 0x08, 0xd9, 0x06, 0x4a, + 0xf5, 0x27, 0x56, 0xb1, 0xf6, 0xfc, 0x15, 0x02, 0x7f, 0x47, 0x7d, 0xe2, 0xfd, 0x88, 0x3f, 0x92, + ], + len: 3842, + sha: [ + 0x74, 0x02, 0x25, 0x5f, 0xdb, 0xe1, 0x21, 0xe0, 0x36, 0xaf, 0x74, 0x20, 0x3d, 0xb6, 0x0f, 0x61, + 0xd9, 0xe2, 0xe4, 0xe1, 0x08, 0xbf, 0xbe, 0xdf, 0x17, 0xc4, 0xc3, 0x9f, 0xc0, 0x4e, 0xbf, 0x62, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_selected_kv.ptx"), "\0").as_bytes(), + }, + Companion { + name: "experimental_kv_stream.ptx", + key: [ + 0x4f, 0x71, 0xe7, 0x20, 0xe0, 0xca, 0x95, 0x0d, 0x32, 0x1b, 0xa3, 0xcb, 0xb2, 0x00, 0x82, 0xca, + 0x47, 0x3e, 0x98, 0x39, 0xb7, 0x6d, 0x08, 0x89, 0x8e, 0x95, 0xb6, 0x62, 0x3b, 0xff, 0xfe, 0x50, + ], + len: 34329, + sha: [ + 0x9f, 0x99, 0x20, 0x44, 0x70, 0x2d, 0x0c, 0xa2, 0xf8, 0xcc, 0x0b, 0xfd, 0xfd, 0xb7, 0x55, 0x47, + 0x59, 0x9f, 0x91, 0x26, 0x15, 0xff, 0xdb, 0x7c, 0xdb, 0x56, 0xcc, 0x06, 0x3c, 0xe8, 0xd6, 0xcf, + ], + ptx: concat!(include_str!("../../ptx-sm86/experimental_kv_stream.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_coupled.ptx", + key: [ + 0x55, 0x47, 0x41, 0x61, 0x1c, 0xc0, 0x3e, 0x2c, 0x35, 0xb7, 0xab, 0x1d, 0xfc, 0xa9, 0xc6, 0xd6, + 0xc0, 0x1b, 0x37, 0xc1, 0x7d, 0xd4, 0x91, 0x00, 0x0c, 0xcf, 0x0a, 0x23, 0xc3, 0xbb, 0xcb, 0xf9, + ], + len: 482063, + sha: [ + 0xee, 0x6c, 0x57, 0x9d, 0x55, 0x15, 0x6e, 0x90, 0x3a, 0xf6, 0xc1, 0x8e, 0x6a, 0x47, 0x32, 0x95, + 0x5f, 0xc1, 0x26, 0xd4, 0x8a, 0x02, 0x86, 0x04, 0xdb, 0x99, 0xa4, 0xcc, 0x2f, 0xcf, 0x4d, 0x80, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_coupled.ptx"), "\0").as_bytes(), + }, + Companion { + name: "experimental_qsa_attn.ptx", + key: [ + 0x56, 0x23, 0xa5, 0xae, 0x9b, 0x2e, 0xbd, 0x2f, 0xa0, 0x10, 0xc3, 0x34, 0x36, 0x7f, 0xfc, 0x54, + 0x87, 0x9a, 0xc6, 0xdf, 0x76, 0xae, 0xf0, 0x83, 0x81, 0xdb, 0xd3, 0x2b, 0x0f, 0x7e, 0xf3, 0x11, + ], + len: 128247, + sha: [ + 0x2d, 0xe6, 0x09, 0xa4, 0xbf, 0x6e, 0xb8, 0x80, 0xbe, 0x59, 0x4d, 0x47, 0xc0, 0x7f, 0xe4, 0x0a, + 0x78, 0xd2, 0x5d, 0x70, 0xc7, 0x4e, 0xcd, 0xa7, 0x95, 0x82, 0xbd, 0x61, 0x21, 0x74, 0x99, 0xe2, + ], + ptx: concat!(include_str!("../../ptx-sm86/experimental_qsa_attn.ptx"), "\0").as_bytes(), + }, + Companion { + name: "device_poison.ptx", + key: [ + 0x58, 0x7b, 0x09, 0x7a, 0x20, 0x1a, 0x67, 0x30, 0xe8, 0xfe, 0x55, 0x43, 0x29, 0x19, 0x87, 0xbb, + 0xf8, 0x07, 0xda, 0x72, 0xda, 0x12, 0xb8, 0xe0, 0xa1, 0x69, 0xf9, 0xe5, 0xe8, 0xf6, 0xa6, 0x58, + ], + len: 870, + sha: [ + 0xab, 0x97, 0x01, 0x5f, 0xd4, 0x7e, 0x02, 0xe2, 0xbf, 0xde, 0x42, 0x49, 0x25, 0x62, 0xa5, 0x52, + 0xef, 0x78, 0xb6, 0x0b, 0x99, 0xf0, 0xf1, 0xf3, 0xbb, 0x43, 0x5a, 0x3c, 0x0c, 0x82, 0x59, 0xa9, + ], + ptx: concat!(include_str!("../../ptx-sm86/device_poison.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_iq3_s.ptx", + key: [ + 0x58, 0xd0, 0x68, 0xff, 0x3a, 0xcc, 0x42, 0x11, 0x61, 0x4f, 0x70, 0xab, 0x04, 0x70, 0x3a, 0x40, + 0x85, 0x8e, 0x14, 0x8f, 0x9a, 0xef, 0x85, 0x03, 0xed, 0x66, 0xf7, 0x64, 0x0a, 0xe2, 0xe2, 0xaa, + ], + len: 25114, + sha: [ + 0x36, 0xc2, 0xf6, 0x8c, 0x0d, 0x3a, 0x3c, 0x52, 0x47, 0x87, 0xec, 0xf0, 0x3a, 0x1f, 0x33, 0xe2, + 0xda, 0x93, 0x0a, 0x49, 0x17, 0x41, 0x9e, 0xa5, 0x89, 0x3c, 0xca, 0xa2, 0x8c, 0x33, 0xa8, 0x8c, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_s.ptx"), "\0").as_bytes(), + }, + Companion { + name: "original_sampler.ptx", + key: [ + 0x59, 0x1a, 0xa3, 0xdd, 0xa5, 0x2f, 0x41, 0xf0, 0xd1, 0x95, 0x41, 0x6c, 0xf0, 0x93, 0x96, 0x25, + 0x68, 0xd2, 0xf8, 0x3d, 0x6f, 0x76, 0x2a, 0x96, 0x78, 0xbe, 0x61, 0x94, 0x6c, 0xec, 0xb7, 0x5b, + ], + len: 475837, + sha: [ + 0x3c, 0xf7, 0xa3, 0x0f, 0x81, 0x6f, 0x9f, 0x27, 0xa2, 0x2f, 0xf8, 0x21, 0x11, 0x7e, 0x9b, 0xff, + 0x7c, 0xbc, 0xc3, 0x19, 0x69, 0xac, 0x25, 0x5d, 0x32, 0xb4, 0x0d, 0xdd, 0x4d, 0xda, 0xdc, 0x40, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_sampler.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq-selected.ptx", + key: [ + 0x5a, 0x56, 0xd8, 0xeb, 0x66, 0xf1, 0xf9, 0x8e, 0x3c, 0xb3, 0xab, 0x75, 0x18, 0x1e, 0x0f, 0x26, + 0x3e, 0x4d, 0x51, 0xc4, 0xe7, 0x1e, 0x27, 0xab, 0x2b, 0xc9, 0x9a, 0x1a, 0x3b, 0x7c, 0x01, 0xcb, + ], + len: 955352, + sha: [ + 0xc1, 0x5b, 0x58, 0x0a, 0x9f, 0xdc, 0x85, 0x67, 0x39, 0xfc, 0xa0, 0xa5, 0x68, 0x57, 0xfc, 0x7e, + 0x7e, 0xc0, 0x1b, 0x4f, 0x1c, 0x99, 0x3f, 0xfb, 0x2e, 0xde, 0x04, 0x66, 0x01, 0x04, 0x86, 0x28, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq-selected.ptx"), "\0").as_bytes(), + }, + Companion { + name: "offline_gdn_prefill.ptx", + key: [ + 0x5c, 0xc3, 0xa0, 0x28, 0x5d, 0xb9, 0x83, 0xce, 0xbe, 0x9e, 0x35, 0xfa, 0xc2, 0xd5, 0x3e, 0x57, + 0x32, 0x68, 0xaf, 0x81, 0x7f, 0x13, 0x1b, 0x23, 0x40, 0xbd, 0x00, 0x3a, 0xe3, 0xe1, 0x64, 0xce, + ], + len: 52304, + sha: [ + 0x12, 0x71, 0xac, 0x05, 0x6e, 0xa0, 0x13, 0x2b, 0xda, 0x7d, 0x11, 0x57, 0x0a, 0x29, 0x6d, 0x00, + 0x81, 0x1d, 0x82, 0xe3, 0x90, 0x1d, 0x6c, 0x5d, 0x77, 0x14, 0x77, 0xf8, 0xd9, 0x60, 0x6c, 0x37, + ], + ptx: concat!(include_str!("../../ptx-sm86/offline_gdn_prefill.ptx"), "\0").as_bytes(), + }, + Companion { + name: "ple_native_batch.ptx", + key: [ + 0x5f, 0xa5, 0xc9, 0x30, 0xf4, 0x0c, 0xb4, 0x9d, 0x9e, 0x79, 0xa3, 0x5e, 0x19, 0x11, 0xc6, 0x85, + 0x81, 0xf9, 0x2c, 0x09, 0x77, 0x50, 0xef, 0xf2, 0x8c, 0x24, 0x5e, 0x28, 0x70, 0x96, 0x4a, 0x40, + ], + len: 19699, + sha: [ + 0xf9, 0xa3, 0x97, 0x01, 0xe2, 0xcc, 0xf0, 0xf6, 0xf7, 0x2d, 0x5e, 0xce, 0x56, 0x6b, 0x78, 0x09, + 0x33, 0xea, 0xdd, 0xe6, 0x89, 0xe7, 0xff, 0x50, 0x2a, 0xcf, 0x87, 0xdb, 0x63, 0xf5, 0xd8, 0x5f, + ], + ptx: concat!(include_str!("../../ptx-sm86/ple_native_batch.ptx"), "\0").as_bytes(), + }, + Companion { + name: "ple_value_full_fixed.ptx", + key: [ + 0x61, 0x80, 0xf3, 0xde, 0xbc, 0x74, 0x34, 0x9d, 0x62, 0xe2, 0x9c, 0x17, 0xe0, 0x75, 0x17, 0xac, + 0x6c, 0x15, 0x1e, 0x71, 0xea, 0xe6, 0x72, 0x97, 0x85, 0x66, 0x49, 0x58, 0x84, 0x23, 0x25, 0xd0, + ], + len: 5199, + sha: [ + 0xbf, 0xcd, 0x7c, 0x88, 0x44, 0x62, 0xc1, 0xe1, 0xe2, 0x8e, 0x3f, 0x73, 0xc7, 0x25, 0x0f, 0xbb, + 0xa5, 0x1b, 0xc0, 0xc9, 0x5f, 0x03, 0x7d, 0xba, 0x18, 0x4f, 0x32, 0x24, 0x75, 0x8f, 0xaa, 0x33, + ], + ptx: concat!(include_str!("../../ptx-sm86/ple_value_full_fixed.ptx"), "\0").as_bytes(), + }, +]; diff --git a/crates/cuda-driver/src/sm86_table/part_3.rs b/crates/cuda-driver/src/sm86_table/part_3.rs new file mode 100644 index 00000000..f0b1820d --- /dev/null +++ b/crates/cuda-driver/src/sm86_table/part_3.rs @@ -0,0 +1,358 @@ +// @generated shape of scripts/gpu-bringup/sm86_assets.py build: rows 55..81 of the sorted sm_86 table. +use super::Companion; + +/// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. +#[rustfmt::skip] +pub(super) const ROWS: &[Companion] = &[ + Companion { + name: "q5_k_q8_1.ptx", + key: [ + 0x65, 0xcd, 0x98, 0x13, 0x8e, 0x2a, 0xd9, 0xd1, 0xc2, 0x71, 0x1f, 0xf7, 0xfc, 0x27, 0x28, 0x0f, + 0x07, 0xf1, 0xa2, 0x24, 0xfc, 0xdd, 0x2a, 0xbe, 0xea, 0x9b, 0xed, 0xf9, 0xd9, 0xd3, 0xff, 0xfc, + ], + len: 33608, + sha: [ + 0x24, 0x64, 0xea, 0x04, 0x0f, 0xfa, 0x4d, 0xa2, 0x03, 0xe7, 0xde, 0xe9, 0x14, 0x5a, 0x1e, 0xa9, + 0x88, 0xdb, 0x90, 0x2d, 0xff, 0xe7, 0xa1, 0x6d, 0x4f, 0x2c, 0xf1, 0x77, 0xcd, 0x7d, 0x32, 0xd6, + ], + ptx: concat!(include_str!("../../ptx-sm86/q5_k_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "native_head_iq.ptx", + key: [ + 0x66, 0xd3, 0xe6, 0x22, 0xee, 0x4f, 0xb8, 0xb6, 0x71, 0x92, 0x8a, 0x73, 0xda, 0xe7, 0x03, 0x85, + 0xe4, 0x41, 0x5d, 0xb4, 0x7a, 0xd5, 0x34, 0x2d, 0x5e, 0xb0, 0xd2, 0x50, 0x7b, 0xea, 0xb5, 0xe4, + ], + len: 753628, + sha: [ + 0x90, 0xda, 0x63, 0x69, 0xf0, 0x50, 0x9e, 0x6c, 0xa6, 0x41, 0xb0, 0xa4, 0x7d, 0xce, 0x03, 0x81, + 0xe8, 0x8c, 0x27, 0xf0, 0x0e, 0xb4, 0x18, 0x19, 0x82, 0xd9, 0x42, 0x22, 0x16, 0x97, 0x2a, 0x2c, + ], + ptx: concat!(include_str!("../../ptx-sm86/native_head_iq.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_device_gate.ptx", + key: [ + 0x69, 0xf0, 0x3b, 0xe1, 0x7d, 0xb1, 0x7a, 0xba, 0x2f, 0x82, 0x8c, 0xf4, 0x37, 0x91, 0x0a, 0x4d, + 0xb6, 0x63, 0x23, 0x97, 0x3d, 0xaa, 0x8b, 0x1a, 0x45, 0x9c, 0x24, 0x18, 0xf9, 0x11, 0x45, 0xd4, + ], + len: 2382, + sha: [ + 0x3b, 0xca, 0x8a, 0x59, 0x4f, 0x37, 0xdd, 0x80, 0xff, 0x12, 0xbd, 0x9b, 0x2c, 0x45, 0x4b, 0x76, + 0x68, 0xf2, 0x26, 0x57, 0x1a, 0x2f, 0x2c, 0x5d, 0x33, 0x89, 0xd7, 0xa5, 0xa9, 0x81, 0xba, 0xa7, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_device_gate.ptx"), "\0").as_bytes(), + }, + Companion { + name: "q6_batch_preview.ptx", + key: [ + 0x6a, 0x4d, 0x43, 0xe4, 0x1a, 0x45, 0xd9, 0x9f, 0xbb, 0xaa, 0xe3, 0x91, 0x70, 0x38, 0xe2, 0x81, + 0xf1, 0x1d, 0x04, 0x37, 0x0e, 0x02, 0x59, 0xea, 0x70, 0x26, 0x81, 0x14, 0x42, 0x96, 0xde, 0x79, + ], + len: 28112, + sha: [ + 0xf5, 0x4e, 0xea, 0xa6, 0xeb, 0x53, 0xa4, 0xd5, 0x02, 0x34, 0x4f, 0x90, 0x8f, 0x97, 0x65, 0xaa, + 0xdf, 0x44, 0x53, 0x77, 0xd4, 0x3a, 0x70, 0x53, 0x23, 0x59, 0xfe, 0xe2, 0x33, 0xa0, 0x06, 0x73, + ], + ptx: concat!(include_str!("../../ptx-sm86/q6_batch_preview.ptx"), "\0").as_bytes(), + }, + Companion { + name: "prefill_stage.ptx", + key: [ + 0x6f, 0x8f, 0xb3, 0xbb, 0xd1, 0x11, 0x71, 0xc9, 0x39, 0x02, 0x97, 0xd5, 0xd2, 0xc9, 0xcb, 0x90, + 0x76, 0xd4, 0xb6, 0x51, 0xf2, 0xa7, 0x04, 0x2b, 0xf1, 0x6f, 0x4c, 0xaf, 0x89, 0xa5, 0xb3, 0x84, + ], + len: 161928, + sha: [ + 0xd8, 0x1a, 0x87, 0x43, 0x7b, 0x72, 0x6b, 0xcf, 0x1a, 0x9d, 0xf0, 0xca, 0x6d, 0x5e, 0xbe, 0xdf, + 0x5c, 0x06, 0xda, 0xce, 0xe6, 0x88, 0xbd, 0xc8, 0xfe, 0x91, 0x78, 0x91, 0xcc, 0x0c, 0xda, 0x4b, + ], + ptx: concat!(include_str!("../../ptx-sm86/prefill_stage.ptx"), "\0").as_bytes(), + }, + Companion { + name: "original_verify_window_pcie_fast.ptx", + key: [ + 0x74, 0x07, 0x85, 0x9f, 0x8d, 0x88, 0x81, 0x66, 0x3f, 0x3a, 0x64, 0x6e, 0xbe, 0x28, 0x8c, 0x31, + 0x13, 0x8c, 0xce, 0x32, 0x27, 0xc1, 0xc5, 0xd9, 0xe2, 0xe5, 0x92, 0x64, 0x8e, 0xd7, 0x7a, 0xea, + ], + len: 71051, + sha: [ + 0x23, 0x48, 0x1b, 0x50, 0xaf, 0x2c, 0x50, 0x1b, 0x04, 0xed, 0xc1, 0xe9, 0xd4, 0xa3, 0x85, 0x35, + 0xcf, 0x83, 0x88, 0x46, 0xaa, 0x57, 0xd4, 0x4f, 0x0b, 0xcf, 0x2c, 0x2d, 0xc7, 0xf3, 0xd1, 0xa3, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify_window_pcie_fast.ptx"), "\0").as_bytes(), + }, + Companion { + name: "experimental_kv_q4.ptx", + key: [ + 0x74, 0x66, 0x5b, 0x01, 0x6f, 0xde, 0x9d, 0xc4, 0xf5, 0x0a, 0x36, 0xe6, 0x2c, 0xbf, 0x2e, 0x57, + 0x8c, 0x73, 0x5e, 0x48, 0xe3, 0xbe, 0x51, 0xb7, 0x07, 0x34, 0xe9, 0xe5, 0x39, 0x42, 0xcd, 0xe7, + ], + len: 36319, + sha: [ + 0x36, 0x1d, 0xb3, 0xe8, 0x47, 0x1e, 0x42, 0x77, 0x8a, 0x4b, 0x7d, 0x45, 0x9a, 0xf7, 0x28, 0x9a, + 0xa8, 0xe8, 0x01, 0x7b, 0xb3, 0xa7, 0x45, 0x5e, 0x6a, 0xa2, 0xe0, 0x49, 0xb2, 0x2a, 0xd0, 0x93, + ], + ptx: concat!(include_str!("../../ptx-sm86/experimental_kv_q4.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qwen_qsa_attention_native.ptx", + key: [ + 0x77, 0x72, 0xe4, 0xe7, 0x5d, 0x78, 0xa9, 0x91, 0x01, 0x44, 0xca, 0x10, 0x85, 0x51, 0x80, 0x0f, + 0xd4, 0x29, 0x69, 0x55, 0x78, 0x15, 0x40, 0xaf, 0xb6, 0x5f, 0x53, 0xd6, 0x12, 0xd7, 0xe1, 0xf3, + ], + len: 3139, + sha: [ + 0xda, 0xb3, 0xfd, 0x1c, 0xe3, 0xde, 0x7e, 0xfc, 0x94, 0x1e, 0xcb, 0x26, 0x84, 0x33, 0x6d, 0xea, + 0x26, 0xe3, 0x61, 0xd6, 0xc5, 0x0a, 0xbd, 0x45, 0xdc, 0xf2, 0x0f, 0x2e, 0x1e, 0x8f, 0x86, 0xdd, + ], + ptx: concat!(include_str!("../../ptx-sm86/qwen_qsa_attention_native.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_iq3_xxs.ptx", + key: [ + 0x78, 0x82, 0x05, 0x48, 0x65, 0xe5, 0x55, 0x01, 0x0d, 0x4d, 0x60, 0xfc, 0x21, 0xf1, 0xae, 0xbb, + 0x97, 0xb1, 0x0d, 0xc0, 0x6a, 0xf1, 0xaf, 0xe3, 0xd0, 0x9f, 0xce, 0x21, 0x96, 0xac, 0x37, 0x67, + ], + len: 16161, + sha: [ + 0xd7, 0x67, 0xad, 0x5a, 0x01, 0x05, 0x0a, 0x8e, 0xc6, 0x8b, 0x73, 0xc3, 0xb5, 0x30, 0x05, 0x09, + 0x40, 0x2a, 0x5f, 0x25, 0x14, 0xd6, 0x72, 0xf1, 0x93, 0x01, 0x71, 0xa5, 0xef, 0x98, 0x65, 0xbc, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_xxs.ptx"), "\0").as_bytes(), + }, + Companion { + name: "head_greedy.ptx", + key: [ + 0x78, 0x9f, 0xb7, 0xfc, 0xd5, 0x56, 0x4d, 0xea, 0xac, 0x9e, 0xbd, 0x24, 0x79, 0x7d, 0x3a, 0x15, + 0xcd, 0xbb, 0x7c, 0x45, 0xf3, 0x97, 0xa7, 0x72, 0x05, 0x7a, 0x6c, 0x5e, 0xd3, 0xf5, 0x2e, 0xb1, + ], + len: 4291, + sha: [ + 0x00, 0xa5, 0xe1, 0x17, 0x6c, 0xc8, 0x95, 0x28, 0x19, 0x41, 0x5f, 0x62, 0x2b, 0x88, 0x6e, 0xea, + 0xc3, 0xd6, 0x7b, 0x1f, 0x2b, 0xd5, 0xa4, 0xf9, 0xc7, 0x2e, 0xde, 0x97, 0x85, 0xdf, 0xd8, 0x6e, + ], + ptx: concat!(include_str!("../../ptx-sm86/head_greedy.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_gr_fixed.ptx", + key: [ + 0x7a, 0xba, 0x70, 0x01, 0x45, 0xb1, 0x9a, 0x09, 0x1d, 0x1c, 0xa2, 0x77, 0x44, 0x62, 0x01, 0xff, + 0x47, 0x69, 0xba, 0xa3, 0x66, 0xe7, 0xd5, 0xa0, 0x29, 0x4a, 0x91, 0xe7, 0x6b, 0xa6, 0x09, 0xd4, + ], + len: 103348, + sha: [ + 0xcf, 0xa8, 0x85, 0xcd, 0x69, 0xf9, 0x51, 0xd3, 0x61, 0x67, 0x31, 0x9a, 0xb0, 0x5b, 0x5a, 0x6b, + 0xbd, 0xce, 0x95, 0x98, 0xc9, 0x13, 0x3c, 0xd4, 0x30, 0x0d, 0x18, 0xa1, 0x92, 0x8f, 0x24, 0xdd, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_gr_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "gdn_fixed.ptx", + key: [ + 0x7b, 0x2f, 0x20, 0x3c, 0xe1, 0xb1, 0xb4, 0xc7, 0xe6, 0x3b, 0xb5, 0x6a, 0x1f, 0x7c, 0x35, 0x1a, + 0x21, 0x3e, 0x1f, 0x5d, 0xf9, 0x71, 0x1a, 0xd2, 0xd8, 0xdb, 0x30, 0x47, 0xae, 0xad, 0x9e, 0x25, + ], + len: 35268, + sha: [ + 0x09, 0x82, 0x29, 0x8e, 0xa9, 0xf8, 0xe4, 0xbf, 0xa7, 0x0e, 0xef, 0xb1, 0xde, 0xe0, 0xa4, 0x30, + 0x73, 0x74, 0x38, 0x9b, 0x3d, 0x60, 0x4d, 0xf5, 0xea, 0x50, 0x7f, 0x35, 0xb5, 0x2f, 0xe4, 0x10, + ], + ptx: concat!(include_str!("../../ptx-sm86/gdn_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "offline_gdn_fused_t1.ptx", + key: [ + 0x7b, 0xd0, 0x09, 0x09, 0x27, 0x3c, 0x41, 0x06, 0x55, 0xc3, 0xe1, 0x78, 0x1e, 0x58, 0xd2, 0x1a, + 0xe1, 0x54, 0x18, 0x1f, 0xbd, 0x74, 0xc6, 0xb2, 0x11, 0x55, 0x74, 0x8c, 0x97, 0x03, 0x5d, 0xd3, + ], + len: 51663, + sha: [ + 0x5d, 0x2d, 0xa8, 0x20, 0xdb, 0xc9, 0x31, 0x38, 0xe6, 0xa7, 0xce, 0x85, 0x92, 0xc7, 0x1e, 0xc3, + 0xd6, 0xa2, 0xb1, 0x0d, 0x57, 0xd1, 0x89, 0xa2, 0xab, 0x50, 0x7d, 0xce, 0x5b, 0x20, 0xd0, 0x1c, + ], + ptx: concat!(include_str!("../../ptx-sm86/offline_gdn_fused_t1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_native_decode.ptx", + key: [ + 0x7c, 0x98, 0xe8, 0xf0, 0x08, 0x92, 0x14, 0x23, 0xe3, 0x05, 0x9f, 0x81, 0xf9, 0xf4, 0xe3, 0x17, + 0xeb, 0x40, 0x7d, 0x15, 0xd6, 0xb9, 0x81, 0x5a, 0xe6, 0xda, 0xd7, 0x92, 0x08, 0x83, 0xb0, 0xda, + ], + len: 55720, + sha: [ + 0xde, 0x1e, 0x3c, 0x7a, 0xe0, 0x3c, 0x7e, 0x7f, 0x57, 0x47, 0x2e, 0xbd, 0xe7, 0x58, 0x1f, 0xf0, + 0x51, 0x62, 0xb5, 0x45, 0xb1, 0x00, 0x27, 0xf9, 0x6b, 0x2b, 0x36, 0xc4, 0x10, 0xd1, 0xa3, 0x65, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_native_decode.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_prefill_embedding.ptx", + key: [ + 0x7e, 0x49, 0xc0, 0x3b, 0x93, 0x3c, 0xdf, 0x6a, 0x4a, 0x79, 0x37, 0x6f, 0xfa, 0x97, 0xf0, 0x61, + 0x88, 0x7a, 0x54, 0x92, 0x46, 0x77, 0x43, 0xd0, 0x8e, 0x28, 0x5a, 0x13, 0x95, 0x58, 0x0f, 0xc8, + ], + len: 847405, + sha: [ + 0x2c, 0xe1, 0xd3, 0xe9, 0xaa, 0x97, 0x2f, 0x1f, 0xd0, 0xc1, 0x34, 0x27, 0x21, 0x66, 0xd2, 0x72, + 0x22, 0xe9, 0x3b, 0xae, 0x18, 0xda, 0x19, 0xfc, 0x11, 0x97, 0x41, 0x6f, 0x26, 0x4a, 0xe5, 0x54, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill_embedding.ptx"), "\0").as_bytes(), + }, + Companion { + name: "native_head_native.ptx", + key: [ + 0x81, 0xa3, 0x99, 0x0c, 0x14, 0x3e, 0x45, 0x1d, 0xac, 0x79, 0x48, 0x62, 0xcf, 0x73, 0x3f, 0x5f, + 0x41, 0x21, 0xf5, 0x2a, 0xa0, 0x70, 0x50, 0xc5, 0x6e, 0x06, 0x1c, 0x17, 0x63, 0xd1, 0x47, 0x9a, + ], + len: 7398533, + sha: [ + 0xe5, 0x44, 0x90, 0xc3, 0x6e, 0x5c, 0xd5, 0xbf, 0x1f, 0x3c, 0x77, 0xc1, 0xaa, 0xf0, 0xdb, 0x21, + 0x1c, 0x06, 0x0d, 0x53, 0xfa, 0x93, 0x0a, 0x7a, 0xd0, 0xd4, 0xe9, 0xa5, 0x1c, 0xb9, 0x33, 0x89, + ], + ptx: concat!(include_str!("../../ptx-sm86/native_head_native.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_session_native_rope.ptx", + key: [ + 0x85, 0xb7, 0xef, 0x7c, 0xa5, 0x94, 0x3d, 0xbd, 0x71, 0x07, 0x10, 0x6b, 0x30, 0x29, 0xd5, 0x02, + 0x7b, 0x46, 0x44, 0x14, 0x8d, 0x70, 0x05, 0xa4, 0x7d, 0xef, 0x7f, 0xa9, 0x01, 0xa3, 0xd7, 0x0a, + ], + len: 10518, + sha: [ + 0x8e, 0x24, 0xc9, 0xe8, 0x0e, 0xe3, 0x11, 0xc7, 0x82, 0x77, 0x00, 0x77, 0x70, 0x3c, 0x7c, 0x11, + 0x2a, 0x16, 0x3b, 0xb1, 0x12, 0x3c, 0x95, 0xb8, 0xc3, 0x12, 0x38, 0x0d, 0xf7, 0x14, 0x03, 0x25, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_session_native_rope.ptx"), "\0").as_bytes(), + }, + Companion { + name: "native_head_sampler.ptx", + key: [ + 0x86, 0x3d, 0xb1, 0x3d, 0xc6, 0x50, 0x23, 0x20, 0x6e, 0xb1, 0xa4, 0x5f, 0x29, 0xd4, 0xb9, 0x90, + 0xa6, 0x59, 0x57, 0xba, 0x15, 0xd7, 0x83, 0xc2, 0x32, 0x9b, 0xbd, 0x88, 0xec, 0x61, 0x33, 0x3f, + ], + len: 497973, + sha: [ + 0xe8, 0x64, 0x39, 0x00, 0x9f, 0x42, 0xe6, 0xbf, 0x64, 0xbf, 0xfa, 0xe8, 0x1c, 0xdc, 0x7e, 0xef, + 0x69, 0x3f, 0xac, 0x9c, 0x09, 0x32, 0x80, 0x3f, 0xf0, 0x20, 0x8f, 0x85, 0x07, 0x1a, 0x86, 0x49, + ], + ptx: concat!(include_str!("../../ptx-sm86/native_head_sampler.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq_resident_helpers.ptx", + key: [ + 0x87, 0x0c, 0x6b, 0xc8, 0xa6, 0xec, 0x32, 0x0a, 0x05, 0x9c, 0x50, 0xbe, 0x9d, 0x5c, 0x96, 0x2f, + 0xed, 0xec, 0x86, 0x63, 0x4d, 0x98, 0x8f, 0xc0, 0xe6, 0xb9, 0xd7, 0xed, 0xea, 0x11, 0x8d, 0x89, + ], + len: 4045, + sha: [ + 0x66, 0x8f, 0x35, 0x95, 0xce, 0x0d, 0xc7, 0x12, 0x77, 0x2b, 0x80, 0xbd, 0xa3, 0xb8, 0x5b, 0x5f, + 0x05, 0xdd, 0x89, 0x23, 0x2a, 0x0a, 0x15, 0x00, 0x46, 0xff, 0x1f, 0xc4, 0xb1, 0x37, 0x90, 0x94, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq_resident_helpers.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_kv.ptx", + key: [ + 0x87, 0xfd, 0x96, 0x69, 0xca, 0x28, 0x05, 0xe3, 0xaf, 0x3f, 0x97, 0x26, 0xb9, 0xd6, 0x92, 0x66, + 0xda, 0xea, 0xc4, 0x17, 0x25, 0x31, 0x6a, 0x38, 0x23, 0x63, 0xc9, 0x56, 0xfd, 0x51, 0x04, 0x65, + ], + len: 12143, + sha: [ + 0xad, 0xce, 0x0f, 0xc9, 0xb8, 0x5a, 0x2f, 0x60, 0x52, 0xcc, 0xd1, 0x13, 0x55, 0xf9, 0x11, 0x8b, + 0x88, 0x63, 0x4e, 0x52, 0x31, 0x46, 0xe9, 0xfa, 0x8e, 0x1f, 0x86, 0xf0, 0xe8, 0xdb, 0x5b, 0x6c, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_kv.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_gr_write.ptx", + key: [ + 0x88, 0x1e, 0x38, 0xf0, 0xc9, 0x78, 0x6c, 0xed, 0x23, 0x8b, 0x7a, 0x00, 0x14, 0x8a, 0x2e, 0x16, + 0xac, 0xff, 0x92, 0x7f, 0x7b, 0x8d, 0xe6, 0x6a, 0x1d, 0xd5, 0x83, 0xab, 0xf8, 0x1c, 0xf5, 0xb1, + ], + len: 133910, + sha: [ + 0x3b, 0xb1, 0x46, 0x0d, 0xe3, 0x5d, 0xa4, 0x42, 0x21, 0x7f, 0xf0, 0x35, 0x38, 0x7c, 0xaf, 0xc5, + 0x33, 0x3a, 0x7d, 0x6b, 0x6c, 0x31, 0x16, 0xc5, 0x8a, 0xb3, 0x0a, 0xce, 0xd9, 0x62, 0x0c, 0xd1, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_gr_write.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_indexer.ptx", + key: [ + 0x89, 0x15, 0x70, 0x0d, 0xd8, 0x1c, 0x99, 0x08, 0x3d, 0xe3, 0xcf, 0xf4, 0xed, 0x5d, 0x1a, 0x8b, + 0x9a, 0x0c, 0x5d, 0xb1, 0x8c, 0x4d, 0x6d, 0xef, 0x9d, 0x49, 0xb3, 0xbb, 0xc8, 0xf2, 0x82, 0x30, + ], + len: 30560, + sha: [ + 0x51, 0x62, 0x2e, 0x4f, 0x08, 0xa7, 0xe1, 0xfb, 0x52, 0x0f, 0xac, 0x0d, 0x0d, 0x8d, 0x2c, 0x3b, + 0x61, 0xdc, 0xa1, 0x22, 0x70, 0x51, 0xaa, 0x14, 0xf6, 0xf7, 0x7d, 0xfc, 0x0a, 0xdf, 0x57, 0xad, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_indexer.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_resolver.ptx", + key: [ + 0x8d, 0x3e, 0xcb, 0xae, 0xcb, 0xf2, 0x84, 0x45, 0xba, 0x64, 0x48, 0x5b, 0xdf, 0xf3, 0xd9, 0x1a, + 0x21, 0xd8, 0x7b, 0x85, 0xd5, 0x93, 0x9a, 0x01, 0x52, 0xef, 0x2f, 0x24, 0x14, 0x48, 0x0e, 0x22, + ], + len: 23915, + sha: [ + 0x32, 0xd9, 0x6c, 0xa6, 0xa7, 0x2f, 0x40, 0xed, 0xa2, 0x1d, 0x51, 0xd9, 0xf4, 0xd4, 0xd3, 0x77, + 0xc3, 0x73, 0xc6, 0x37, 0x83, 0xcc, 0x42, 0x29, 0x10, 0x88, 0x3b, 0xb8, 0xd8, 0xd8, 0xb0, 0x8d, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_resolver.ptx"), "\0").as_bytes(), + }, + Companion { + name: "q2_0_q8_1.ptx", + key: [ + 0x8e, 0x81, 0xdb, 0xba, 0xa7, 0x6d, 0x85, 0x16, 0x47, 0x63, 0x39, 0xc1, 0x68, 0xf1, 0xd9, 0xc1, + 0x72, 0x34, 0x1a, 0x78, 0xcc, 0xec, 0xda, 0x08, 0x71, 0x4a, 0x13, 0xa5, 0x68, 0x7e, 0x3b, 0x6e, + ], + len: 18542, + sha: [ + 0x8a, 0x25, 0x1c, 0x65, 0x02, 0x31, 0xac, 0x07, 0xa0, 0xce, 0xa8, 0xdd, 0xa2, 0x12, 0xbb, 0x84, + 0xd1, 0xcf, 0x5c, 0xa3, 0x72, 0xf6, 0x30, 0xce, 0x03, 0x23, 0x81, 0xe0, 0x18, 0xce, 0x59, 0xf5, + ], + ptx: concat!(include_str!("../../ptx-sm86/q2_0_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_element.ptx", + key: [ + 0x8f, 0xdf, 0xdf, 0x8e, 0xf6, 0x16, 0x69, 0x8c, 0x12, 0x30, 0x1f, 0x7d, 0xf4, 0x71, 0x6f, 0xc0, + 0x22, 0xbf, 0x34, 0xb4, 0x19, 0x09, 0x9e, 0x4c, 0x97, 0x27, 0x29, 0x92, 0x0b, 0xd5, 0xf4, 0xa7, + ], + len: 54956, + sha: [ + 0xe3, 0xd7, 0x50, 0x63, 0x73, 0xa9, 0x30, 0x1c, 0x4d, 0x0e, 0xbd, 0x40, 0x13, 0x17, 0x2c, 0xce, + 0x60, 0x91, 0xfc, 0xd5, 0x87, 0xb2, 0xad, 0xc3, 0x54, 0x1b, 0x6a, 0x55, 0xb9, 0xd5, 0xf1, 0xfd, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_element.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_prompt_attention_variants.ptx", + key: [ + 0x90, 0x41, 0xe2, 0x50, 0xf6, 0xff, 0xca, 0x2f, 0x84, 0x9c, 0x20, 0x60, 0x5a, 0x3f, 0x75, 0x8c, + 0x54, 0xf7, 0x85, 0x6e, 0x7c, 0xd0, 0x15, 0xc8, 0xa1, 0xda, 0x66, 0x25, 0x04, 0x8d, 0x6a, 0xac, + ], + len: 216290, + sha: [ + 0xa3, 0xe4, 0xd6, 0x97, 0x57, 0x88, 0xd1, 0x26, 0x72, 0xe3, 0x85, 0x5e, 0x5e, 0x9f, 0x16, 0x56, + 0x0d, 0x3d, 0x82, 0x63, 0xb7, 0x52, 0x16, 0xaa, 0xf0, 0x89, 0x5c, 0x57, 0x98, 0x70, 0xbb, 0x7d, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_attention_variants.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qwen_qsa_attention.ptx", + key: [ + 0x91, 0x21, 0x9c, 0xfb, 0xc1, 0xa7, 0x7c, 0x4b, 0xb6, 0x66, 0x61, 0x06, 0x0a, 0xc9, 0x39, 0xa5, + 0x0d, 0xc4, 0xc4, 0xd7, 0xd4, 0xdb, 0x8d, 0x50, 0xbc, 0x59, 0xfb, 0xcd, 0x16, 0x75, 0x62, 0xb2, + ], + len: 26737, + sha: [ + 0xc1, 0x11, 0xc6, 0x12, 0x6a, 0x3a, 0x67, 0x5e, 0xc8, 0x87, 0x20, 0x88, 0x1d, 0x46, 0x99, 0xa6, + 0xe7, 0x21, 0x84, 0xd2, 0xf4, 0x55, 0x87, 0x9a, 0xe0, 0x85, 0x5c, 0x56, 0xb8, 0x48, 0xbe, 0xa1, + ], + ptx: concat!(include_str!("../../ptx-sm86/qwen_qsa_attention.ptx"), "\0").as_bytes(), + }, +]; diff --git a/crates/cuda-driver/src/sm86_table/part_4.rs b/crates/cuda-driver/src/sm86_table/part_4.rs new file mode 100644 index 00000000..8a6936a9 --- /dev/null +++ b/crates/cuda-driver/src/sm86_table/part_4.rs @@ -0,0 +1,358 @@ +// @generated shape of scripts/gpu-bringup/sm86_assets.py build: rows 82..108 of the sorted sm_86 table. +use super::Companion; + +/// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. +#[rustfmt::skip] +pub(super) const ROWS: &[Companion] = &[ + Companion { + name: "moe_group_down_q2_0.ptx", + key: [ + 0x94, 0x7d, 0x08, 0xc4, 0x10, 0x9a, 0x19, 0x7a, 0xa1, 0xfa, 0xfc, 0xa4, 0xe8, 0xc9, 0x82, 0x3c, + 0x91, 0xa8, 0xbd, 0xa0, 0x34, 0xb1, 0x62, 0x79, 0x2c, 0x83, 0x9a, 0x67, 0x97, 0x55, 0x19, 0xda, + ], + len: 13458, + sha: [ + 0xfc, 0x1a, 0xfa, 0x0b, 0x72, 0x43, 0x38, 0xd9, 0x31, 0x48, 0x1f, 0x41, 0x61, 0x6b, 0x8d, 0x25, + 0x1f, 0x15, 0x0d, 0x06, 0x5d, 0x91, 0x15, 0x1a, 0x77, 0x12, 0xf9, 0xa9, 0x41, 0xce, 0x25, 0x4f, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_down_q2_0.ptx"), "\0").as_bytes(), + }, + Companion { + name: "iq3_s_q8_1.ptx", + key: [ + 0x94, 0xf7, 0x98, 0xc0, 0x08, 0x13, 0xc2, 0xfb, 0x86, 0x0b, 0x4b, 0xf7, 0x7b, 0xe9, 0x22, 0x57, + 0x67, 0xd4, 0x08, 0x95, 0x5e, 0x34, 0x21, 0x33, 0x0a, 0xc3, 0x4a, 0x4e, 0xbd, 0x43, 0x97, 0x8f, + ], + len: 24712, + sha: [ + 0xb1, 0x98, 0x60, 0x07, 0x0e, 0x69, 0xdc, 0xcd, 0x5e, 0x98, 0xd1, 0xe6, 0xbc, 0x7c, 0xdd, 0xcd, + 0xa2, 0x92, 0x8e, 0xfb, 0xd3, 0xf0, 0xbd, 0x21, 0x56, 0x8f, 0xd1, 0xae, 0x7d, 0x4a, 0xe9, 0x27, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq3_s_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_gr_post.ptx", + key: [ + 0x9b, 0x47, 0x9c, 0x0f, 0x41, 0x2a, 0xe0, 0x07, 0x73, 0x81, 0x5c, 0x9a, 0x6d, 0x89, 0xd7, 0xf4, + 0xc3, 0xf7, 0xa9, 0xf0, 0xf6, 0x91, 0x87, 0x6d, 0xe8, 0x05, 0xeb, 0x38, 0x17, 0x8d, 0x97, 0x90, + ], + len: 35821, + sha: [ + 0x77, 0x93, 0x32, 0x2e, 0x19, 0x00, 0x2f, 0xe8, 0x19, 0x97, 0xbc, 0xab, 0x03, 0xb9, 0xf4, 0xce, + 0xd6, 0xce, 0x07, 0x62, 0xde, 0x88, 0x6b, 0xed, 0xe9, 0xbb, 0x11, 0xa9, 0xd3, 0x80, 0xf6, 0x4c, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_gr_post.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_native_batch.ptx", + key: [ + 0x9b, 0xa6, 0x85, 0x23, 0xb6, 0x7a, 0x0e, 0x3b, 0x80, 0xfc, 0x16, 0x7b, 0x97, 0x30, 0x19, 0x63, + 0xcf, 0x15, 0x98, 0x12, 0xcd, 0x15, 0x7f, 0x03, 0xc5, 0xa0, 0x2b, 0x69, 0xfd, 0xa2, 0x2f, 0xc7, + ], + len: 4566, + sha: [ + 0xcb, 0xf1, 0x3c, 0x31, 0x7b, 0x78, 0x84, 0x54, 0x28, 0xc9, 0x86, 0xe9, 0xa9, 0xbf, 0xc0, 0x47, + 0x53, 0x30, 0x29, 0x55, 0x51, 0x3a, 0x4a, 0xfd, 0x11, 0xf1, 0x39, 0xf2, 0x62, 0x22, 0xb6, 0xff, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_native_batch.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_session_legacy_rope.ptx", + key: [ + 0x9b, 0xba, 0x3b, 0x35, 0x85, 0x0c, 0xe3, 0x86, 0x9e, 0x32, 0xc5, 0x6c, 0x9d, 0xe6, 0x6a, 0x06, + 0x52, 0x69, 0x11, 0x88, 0xf4, 0xc7, 0xff, 0x1d, 0xc4, 0xb1, 0xee, 0x9b, 0x2f, 0x9d, 0x0d, 0x9f, + ], + len: 12202, + sha: [ + 0x25, 0x7e, 0x32, 0x1a, 0xbe, 0xa3, 0x30, 0x92, 0x6b, 0x29, 0x9a, 0x6a, 0x03, 0x03, 0x0d, 0x4c, + 0xd2, 0xdf, 0x98, 0xe1, 0xf9, 0x7f, 0xfe, 0x07, 0x2d, 0xc1, 0x83, 0xc1, 0x1c, 0x5b, 0x9d, 0xe7, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_session_legacy_rope.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_qnorm.ptx", + key: [ + 0xa0, 0xbc, 0xfe, 0xbd, 0x6b, 0xf4, 0x77, 0xcd, 0x3a, 0xd1, 0x36, 0x07, 0xe2, 0xf0, 0x1f, 0x3c, + 0x0a, 0x9e, 0x4c, 0x70, 0x22, 0x87, 0x21, 0x36, 0x20, 0xd9, 0x1c, 0x89, 0xb9, 0x29, 0x8e, 0xb1, + ], + len: 36079, + sha: [ + 0x0f, 0x71, 0xc4, 0x60, 0xd4, 0x0a, 0x3e, 0xfb, 0xc4, 0x68, 0xba, 0xc3, 0x4b, 0xb9, 0x3f, 0x62, + 0xa7, 0x17, 0x37, 0xd7, 0x28, 0x31, 0x92, 0x17, 0x5c, 0xff, 0x7e, 0x13, 0x32, 0x38, 0x20, 0x7f, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_qnorm.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_bf16.ptx", + key: [ + 0xa1, 0x6d, 0xfc, 0xfc, 0x9a, 0x49, 0xcc, 0xab, 0x25, 0xd8, 0x03, 0x02, 0x93, 0xd5, 0x82, 0x6f, + 0x8f, 0x75, 0xe2, 0x86, 0x8f, 0xae, 0x1b, 0x6c, 0x4c, 0xef, 0x70, 0x6b, 0x6d, 0xfc, 0x3d, 0x08, + ], + len: 461120, + sha: [ + 0x07, 0xf4, 0xde, 0x80, 0xcb, 0xb0, 0xdc, 0x7d, 0xc2, 0xb7, 0x5f, 0x75, 0x6e, 0x24, 0x1b, 0x30, + 0x89, 0xd3, 0xcd, 0x97, 0xc7, 0x33, 0x6a, 0xe5, 0xf6, 0xbe, 0x0f, 0xa6, 0x42, 0x78, 0x3d, 0x81, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_bf16.ptx"), "\0").as_bytes(), + }, + Companion { + name: "iq2_s_q8_1.ptx", + key: [ + 0xa3, 0x1e, 0x65, 0x3d, 0xa8, 0xc2, 0x22, 0xe1, 0x67, 0x1c, 0xf2, 0x5e, 0xd1, 0x90, 0x17, 0xee, + 0xb0, 0xb3, 0xef, 0x4d, 0x89, 0x0c, 0x01, 0x42, 0xb1, 0x81, 0xf3, 0xd5, 0xbc, 0xfc, 0xfb, 0x2c, + ], + len: 46912, + sha: [ + 0xc6, 0xca, 0xe7, 0xc0, 0x39, 0x61, 0x79, 0x04, 0x0b, 0x0c, 0x88, 0xf3, 0xce, 0xbd, 0x24, 0x70, + 0xdf, 0x92, 0x69, 0xad, 0x5d, 0xc6, 0x6e, 0x9e, 0x22, 0x7f, 0x60, 0x0d, 0x1e, 0x79, 0xed, 0x9b, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq2_s_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "chain_window.ptx", + key: [ + 0xa3, 0xab, 0xdc, 0x41, 0x86, 0xb6, 0x6d, 0x51, 0xa8, 0x0c, 0x8e, 0xf5, 0x2f, 0x63, 0x6f, 0x18, + 0x93, 0xa2, 0x13, 0x6b, 0x88, 0x7c, 0xd6, 0x54, 0x87, 0x86, 0xfe, 0xa2, 0x79, 0xef, 0x71, 0xba, + ], + len: 2336938, + sha: [ + 0x36, 0x1e, 0x11, 0x00, 0xad, 0x58, 0xb9, 0xa2, 0x1b, 0xe3, 0xd9, 0x58, 0xef, 0x55, 0x59, 0xe7, + 0x0b, 0x72, 0xf2, 0xd0, 0x4e, 0x15, 0xdb, 0x5e, 0x9d, 0xbc, 0x14, 0xd1, 0x21, 0xe0, 0xee, 0x43, + ], + ptx: concat!(include_str!("../../ptx-sm86/chain_window.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_router_legacy.ptx", + key: [ + 0xa5, 0x84, 0x12, 0x24, 0x97, 0x57, 0xcc, 0x35, 0x1e, 0xb8, 0x33, 0x2e, 0x80, 0x7e, 0x79, 0xf1, + 0xb3, 0xda, 0x58, 0x65, 0x57, 0x4d, 0x0f, 0xb7, 0x17, 0x9e, 0xf5, 0x58, 0xdf, 0x70, 0xaf, 0x24, + ], + len: 159038, + sha: [ + 0xa9, 0x2b, 0xf0, 0xc3, 0xfc, 0x4c, 0xc5, 0x31, 0x2c, 0x14, 0xa5, 0x52, 0xf7, 0x24, 0x4d, 0x4a, + 0x7e, 0x10, 0x26, 0xbb, 0x79, 0x32, 0xb0, 0x56, 0x1d, 0x73, 0x57, 0xd8, 0xec, 0x41, 0x72, 0x7f, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_router_legacy.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq-original-formats-fixup.ptx", + key: [ + 0xa6, 0x6a, 0x85, 0x6c, 0xe4, 0x97, 0x82, 0x20, 0xbb, 0xb0, 0x12, 0x57, 0xf3, 0x34, 0xe4, 0x48, + 0x46, 0xce, 0xb3, 0x4d, 0x5d, 0xc3, 0x06, 0xdf, 0xbe, 0xba, 0x95, 0x65, 0x7e, 0x05, 0x0b, 0xf3, + ], + len: 309892, + sha: [ + 0xd2, 0x16, 0x69, 0x31, 0xf0, 0x54, 0x52, 0xde, 0x65, 0xed, 0x06, 0xd1, 0xb0, 0x60, 0xa9, 0x4c, + 0x27, 0xa8, 0x68, 0x8e, 0xf5, 0x9b, 0x5f, 0xfc, 0x96, 0x08, 0x69, 0x64, 0x7a, 0x44, 0x84, 0x8b, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq-original-formats-fixup.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq_original_group_fixup.ptx", + key: [ + 0xa8, 0xc7, 0x51, 0x91, 0xba, 0x8e, 0xf7, 0xa4, 0x57, 0x20, 0x82, 0x48, 0x50, 0xd6, 0x4c, 0xf4, + 0x43, 0x45, 0x9b, 0x30, 0xbc, 0x53, 0x79, 0xab, 0x80, 0x7e, 0xb8, 0x3e, 0x26, 0x14, 0x88, 0x3f, + ], + len: 1455508, + sha: [ + 0x18, 0xc9, 0x1c, 0x0f, 0x77, 0x48, 0x36, 0xd9, 0xcd, 0xc6, 0xee, 0x49, 0x8f, 0x3f, 0x3d, 0x66, + 0x2b, 0x40, 0x07, 0x77, 0x39, 0x95, 0x29, 0xa4, 0x38, 0xf7, 0xae, 0x27, 0x67, 0x10, 0xf2, 0x04, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq_original_group_fixup.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq_original_group_swiglu.ptx", + key: [ + 0xa9, 0x13, 0x99, 0x36, 0x00, 0x87, 0x8c, 0xed, 0xd1, 0x28, 0xbe, 0xe0, 0xf7, 0x76, 0x89, 0x51, + 0x19, 0xe5, 0x56, 0xe3, 0x3f, 0x2a, 0xd7, 0x0d, 0xad, 0xf0, 0x8e, 0x9e, 0x1a, 0x7e, 0xb9, 0xbd, + ], + len: 6090, + sha: [ + 0x7a, 0x34, 0x2b, 0xa9, 0x78, 0x1d, 0x0f, 0xdb, 0x63, 0x66, 0xc1, 0xb5, 0xbf, 0xd0, 0x65, 0xaa, + 0x40, 0x05, 0xfd, 0x3f, 0x3d, 0x19, 0x5d, 0xaf, 0x0f, 0x2f, 0x0f, 0x64, 0x7d, 0x71, 0xe9, 0xec, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq_original_group_swiglu.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_fused_gr.ptx", + key: [ + 0xac, 0x54, 0x00, 0xa7, 0x97, 0x2b, 0x3f, 0x24, 0x26, 0x48, 0xc2, 0xde, 0x71, 0xef, 0x4f, 0x17, + 0x84, 0x66, 0xd3, 0x8b, 0x13, 0x92, 0xa8, 0x3a, 0x95, 0x91, 0xb3, 0xb2, 0x4e, 0x92, 0xc5, 0x9b, + ], + len: 422848, + sha: [ + 0xe4, 0xc8, 0xcc, 0xbb, 0xfb, 0x68, 0x26, 0x7c, 0xa0, 0xba, 0xc4, 0xfd, 0xbd, 0x91, 0x04, 0x22, + 0xa3, 0x16, 0x87, 0x0b, 0x0f, 0x79, 0x9c, 0x48, 0x52, 0x9c, 0x8a, 0x9d, 0xb9, 0xea, 0xa8, 0xe6, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_fused_gr.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_fixed.ptx", + key: [ + 0xad, 0xa8, 0x7a, 0x1b, 0xd6, 0xff, 0x2f, 0x60, 0x13, 0xd2, 0xbd, 0x64, 0x1a, 0x37, 0x86, 0xeb, + 0x46, 0xb9, 0xc9, 0xfc, 0xf3, 0x58, 0x6c, 0x66, 0x60, 0x9c, 0x8e, 0xee, 0xa4, 0xb1, 0x07, 0xe8, + ], + len: 15190, + sha: [ + 0x62, 0xd0, 0x43, 0x0e, 0x9e, 0xaf, 0x35, 0xd2, 0x1b, 0x95, 0xad, 0xc8, 0x18, 0xd5, 0x7b, 0xb8, + 0x5e, 0xaf, 0x0a, 0x74, 0x66, 0x06, 0x87, 0x0d, 0xd5, 0xf1, 0xf2, 0xed, 0x25, 0xc1, 0xf7, 0x27, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_head_sampler.ptx", + key: [ + 0xb0, 0x48, 0xca, 0x90, 0xf9, 0x7e, 0x6e, 0x6f, 0x2c, 0x0d, 0x93, 0xe5, 0xc1, 0x24, 0xe5, 0xd4, + 0xad, 0xbc, 0x7b, 0x34, 0x09, 0x74, 0xe4, 0x5a, 0x4f, 0x98, 0xdc, 0x15, 0xd0, 0xb1, 0xbc, 0x59, + ], + len: 504479, + sha: [ + 0xa2, 0x45, 0xc8, 0x5c, 0x87, 0xbd, 0xf2, 0x03, 0x13, 0xbf, 0xf4, 0x22, 0x07, 0xbb, 0xd6, 0xfb, + 0xa6, 0xda, 0x14, 0x8a, 0xd3, 0xa0, 0x89, 0x4d, 0x6a, 0x5e, 0xbf, 0xa3, 0x39, 0x8e, 0xca, 0xc7, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_head_sampler.ptx"), "\0").as_bytes(), + }, + Companion { + name: "ple_fixed.ptx", + key: [ + 0xb1, 0x4c, 0x64, 0x24, 0xb3, 0x4a, 0x4f, 0xba, 0xc6, 0x8a, 0xe3, 0x33, 0xad, 0xf9, 0x77, 0xe1, + 0xa3, 0xff, 0x93, 0xe5, 0x0a, 0xe9, 0x97, 0x52, 0x8b, 0xb9, 0xa2, 0x33, 0xdf, 0xe7, 0x04, 0x86, + ], + len: 30868, + sha: [ + 0x32, 0xbc, 0x7b, 0xc0, 0xcb, 0x88, 0x9b, 0x30, 0xaf, 0xc2, 0x02, 0x88, 0x51, 0x8b, 0x90, 0xa4, + 0x13, 0x7a, 0x05, 0xb0, 0x5d, 0xaf, 0x3d, 0x4f, 0xee, 0xde, 0xcc, 0x02, 0xe5, 0x66, 0xce, 0x0a, + ], + ptx: concat!(include_str!("../../ptx-sm86/ple_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_shared.ptx", + key: [ + 0xb3, 0x6f, 0x43, 0x26, 0x92, 0xe4, 0x3f, 0x79, 0x48, 0xa2, 0x53, 0x8c, 0x22, 0xca, 0xb5, 0x5e, + 0xf6, 0x7c, 0x62, 0x5b, 0x8d, 0x44, 0x61, 0xc6, 0x7c, 0xa2, 0xa2, 0x75, 0x19, 0xb9, 0xe0, 0xf0, + ], + len: 45827, + sha: [ + 0xe9, 0x22, 0x49, 0x6b, 0x44, 0xdd, 0xb0, 0xde, 0x69, 0x00, 0xb5, 0xbe, 0xec, 0x4b, 0x35, 0x09, + 0xf2, 0xfa, 0x7e, 0x2a, 0x17, 0x2c, 0x3f, 0xe1, 0x76, 0xc1, 0x6e, 0xdd, 0x10, 0x18, 0x52, 0x90, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_shared.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_scalar_norm.ptx", + key: [ + 0xbb, 0x78, 0x4f, 0xd8, 0xa5, 0x74, 0xeb, 0x38, 0xcc, 0x3f, 0xdb, 0x92, 0x64, 0xb6, 0x9b, 0x72, + 0xcd, 0xf3, 0x40, 0x78, 0x85, 0x91, 0x88, 0x5c, 0x9b, 0x7f, 0x96, 0xa0, 0x5a, 0x6a, 0x81, 0x07, + ], + len: 16691, + sha: [ + 0x56, 0xab, 0x10, 0x69, 0x20, 0x71, 0x2b, 0x92, 0x7c, 0xe8, 0x94, 0xb7, 0x22, 0x7d, 0x7c, 0xb4, + 0x7c, 0x7a, 0xda, 0x9f, 0x07, 0x90, 0xc3, 0x65, 0x08, 0xf5, 0xc9, 0x8f, 0x74, 0x0d, 0x7c, 0xdc, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_scalar_norm.ptx"), "\0").as_bytes(), + }, + Companion { + name: "native_flash_attn.ptx", + key: [ + 0xbe, 0x35, 0x3e, 0x61, 0x9a, 0x15, 0xa5, 0x66, 0xe5, 0x7b, 0xae, 0x12, 0xa0, 0xbf, 0x30, 0xcc, + 0x17, 0x12, 0xa2, 0x81, 0xbc, 0xe6, 0x92, 0x8f, 0x3b, 0xb7, 0x6c, 0x14, 0xe5, 0x11, 0x4b, 0xba, + ], + len: 208590, + sha: [ + 0x6e, 0xaf, 0xd5, 0x7d, 0x2f, 0xcf, 0x68, 0x71, 0xb8, 0x22, 0x4f, 0xe9, 0x48, 0x52, 0x59, 0xd1, + 0xec, 0x75, 0x0f, 0xb1, 0x76, 0xa2, 0x68, 0x96, 0x6b, 0x1d, 0xe4, 0x3f, 0xfa, 0x75, 0x62, 0x97, + ], + ptx: concat!(include_str!("../../ptx-sm86/native_flash_attn.ptx"), "\0").as_bytes(), + }, + Companion { + name: "quantize-d4-selected.ptx", + key: [ + 0xbe, 0x3b, 0x9f, 0x55, 0xff, 0x60, 0x69, 0xde, 0x50, 0x52, 0xc8, 0x3e, 0xf2, 0x2d, 0xa8, 0xfe, + 0x88, 0xcd, 0x65, 0xe3, 0xe4, 0xfb, 0x1b, 0x13, 0xa7, 0xf9, 0x3d, 0xd1, 0x4f, 0x69, 0x9c, 0x1b, + ], + len: 102215, + sha: [ + 0x15, 0xe3, 0xb0, 0xb1, 0x95, 0x03, 0x41, 0x3b, 0x7f, 0x7d, 0x97, 0x21, 0xaf, 0x05, 0x11, 0xbb, + 0x5a, 0xb9, 0xf5, 0xe5, 0x9a, 0x7c, 0xf9, 0x16, 0x77, 0xa3, 0x13, 0xc2, 0x79, 0xc6, 0xa6, 0x9a, + ], + ptx: concat!(include_str!("../../ptx-sm86/quantize-d4-selected.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_router.ptx", + key: [ + 0xbe, 0x6e, 0x3c, 0x91, 0xe4, 0xf6, 0x83, 0x14, 0x64, 0xf5, 0x99, 0x37, 0x87, 0xf0, 0xbf, 0xf9, + 0x69, 0xbc, 0x5d, 0x28, 0x39, 0x5f, 0x24, 0x22, 0x6b, 0x88, 0x67, 0x6b, 0x30, 0x69, 0xa8, 0xcb, + ], + len: 107477, + sha: [ + 0x17, 0xa9, 0x4f, 0xd3, 0xc2, 0xa1, 0xe2, 0x8c, 0x56, 0xbd, 0x85, 0x10, 0xba, 0xd4, 0xb1, 0xda, + 0xa3, 0xdb, 0x39, 0xec, 0x01, 0x36, 0xdb, 0xc0, 0x33, 0x4a, 0x00, 0xfa, 0xad, 0xaf, 0x0c, 0x47, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_router.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_iq3_s_nc4.ptx", + key: [ + 0xbe, 0x6e, 0xe9, 0x07, 0xc0, 0xb3, 0x70, 0xcb, 0x99, 0x89, 0x4a, 0x03, 0x41, 0x94, 0x66, 0xf1, + 0xaa, 0x46, 0x5b, 0xa9, 0xb8, 0xe2, 0xe8, 0xcf, 0x60, 0x38, 0x87, 0xf5, 0x34, 0x45, 0x0d, 0x0c, + ], + len: 36382, + sha: [ + 0x23, 0xb7, 0x02, 0xaa, 0xf1, 0x27, 0x8d, 0xd3, 0xd4, 0x36, 0x14, 0x2b, 0x9c, 0x27, 0x32, 0x19, + 0x21, 0xf3, 0x6d, 0xda, 0x76, 0x06, 0xd1, 0xf7, 0x56, 0x97, 0x3e, 0x5d, 0xfc, 0xbd, 0x45, 0x37, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_s_nc4.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_verify.ptx", + key: [ + 0xbe, 0xbb, 0xef, 0xc6, 0x5c, 0x2c, 0xc2, 0x1c, 0x54, 0x84, 0x71, 0xf6, 0x90, 0xce, 0x02, 0xc6, + 0x73, 0x41, 0x8e, 0x8a, 0xc0, 0x66, 0xd4, 0x9f, 0x94, 0x8d, 0x0e, 0x6e, 0x35, 0xcf, 0xa2, 0x03, + ], + len: 179130, + sha: [ + 0x8e, 0x19, 0x61, 0xf3, 0x6f, 0x40, 0x9d, 0xea, 0x38, 0x60, 0x66, 0x6b, 0xc8, 0xd7, 0x67, 0x95, + 0x1c, 0x50, 0xbb, 0xac, 0x96, 0x36, 0x6a, 0x9e, 0xc5, 0xd9, 0x9d, 0x87, 0xbe, 0xc4, 0xe9, 0x30, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_verify.ptx"), "\0").as_bytes(), + }, + Companion { + name: "gr_batch_preview.ptx", + key: [ + 0xc8, 0x56, 0xb6, 0xf5, 0x2d, 0x41, 0xd7, 0xe8, 0xf8, 0x8d, 0x7c, 0x63, 0xed, 0x68, 0x3b, 0x94, + 0x73, 0x10, 0x08, 0x87, 0x10, 0xf6, 0x62, 0xbc, 0xad, 0x0a, 0xfc, 0xed, 0x3e, 0xf6, 0x5c, 0xac, + ], + len: 24666, + sha: [ + 0x8b, 0x51, 0xd3, 0x67, 0x3b, 0xce, 0x01, 0x8b, 0x58, 0x7e, 0xa8, 0x1c, 0x5a, 0xb2, 0xe9, 0xd7, + 0xdd, 0x4d, 0x75, 0xd0, 0x01, 0x4f, 0x6c, 0xfd, 0x4f, 0x7c, 0xf5, 0xfc, 0x17, 0xcd, 0x4c, 0xb3, + ], + ptx: concat!(include_str!("../../ptx-sm86/gr_batch_preview.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_iq4_xs.ptx", + key: [ + 0xc8, 0x88, 0x0e, 0xf0, 0x8d, 0xcc, 0x6b, 0xfa, 0x4a, 0xcc, 0xc9, 0x89, 0x87, 0xc4, 0x5c, 0x64, + 0x1e, 0x47, 0x2c, 0x52, 0x06, 0xad, 0x9d, 0x38, 0x9f, 0x5e, 0x94, 0x38, 0x5c, 0xd8, 0xc9, 0x84, + ], + len: 63256, + sha: [ + 0x72, 0x2e, 0xff, 0xee, 0x93, 0x55, 0xd3, 0xe1, 0x39, 0x73, 0xd8, 0xec, 0x9e, 0x77, 0xde, 0x98, + 0xfe, 0xc0, 0xfd, 0x4a, 0x97, 0xea, 0xfe, 0xbb, 0x55, 0x0c, 0xf9, 0xdd, 0xfd, 0x55, 0xc0, 0x2b, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq4_xs.ptx"), "\0").as_bytes(), + }, + Companion { + name: "original_verify_window_pcie.ptx", + key: [ + 0xcb, 0xeb, 0x32, 0x3f, 0x76, 0x47, 0x68, 0x2f, 0xee, 0x9e, 0xd3, 0xf1, 0x2f, 0xb7, 0xb7, 0xa5, + 0xb3, 0xeb, 0x19, 0x2f, 0x21, 0x66, 0xc6, 0xec, 0x96, 0xb8, 0x1d, 0x55, 0xc3, 0xba, 0xb9, 0xd1, + ], + len: 7687, + sha: [ + 0x98, 0x5b, 0xbf, 0xc8, 0x77, 0x91, 0xbd, 0x96, 0xa2, 0xcf, 0x61, 0x32, 0xce, 0x7e, 0x49, 0x9b, + 0x90, 0xeb, 0xfe, 0x7a, 0x31, 0x0e, 0xe1, 0xc5, 0x78, 0x1c, 0x49, 0xaf, 0xd1, 0x96, 0x4f, 0x67, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify_window_pcie.ptx"), "\0").as_bytes(), + }, +]; diff --git a/crates/cuda-driver/src/sm86_table/part_5.rs b/crates/cuda-driver/src/sm86_table/part_5.rs new file mode 100644 index 00000000..0ff8ac3b --- /dev/null +++ b/crates/cuda-driver/src/sm86_table/part_5.rs @@ -0,0 +1,306 @@ +// @generated shape of scripts/gpu-bringup/sm86_assets.py build: rows 109..131 of the sorted sm_86 table. +use super::Companion; + +/// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. +#[rustfmt::skip] +pub(super) const ROWS: &[Companion] = &[ + Companion { + name: "original_verify.ptx", + key: [ + 0xd0, 0xda, 0xda, 0x67, 0x15, 0xfb, 0x80, 0x8b, 0xb3, 0x28, 0x82, 0x91, 0xfd, 0x4a, 0x5c, 0x29, + 0xe7, 0x8f, 0xd7, 0xfa, 0x6e, 0x70, 0xf2, 0xb9, 0x4d, 0x22, 0x0f, 0x86, 0x0b, 0xb4, 0x33, 0x53, + ], + len: 154200, + sha: [ + 0xba, 0x92, 0xfe, 0x4e, 0x9b, 0x5a, 0xe0, 0x48, 0x86, 0x4a, 0x1c, 0xcb, 0xa8, 0x64, 0x50, 0x22, + 0x4a, 0x07, 0x83, 0x67, 0x2c, 0x0c, 0x2b, 0x99, 0xe4, 0xec, 0x32, 0x02, 0xe1, 0x66, 0x03, 0x55, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_quant80.ptx", + key: [ + 0xd1, 0xae, 0x17, 0xce, 0xcc, 0x24, 0xe2, 0x4e, 0x0e, 0x1f, 0xc9, 0x5a, 0x73, 0x52, 0x79, 0x89, + 0x71, 0x9b, 0x94, 0x5d, 0xfe, 0xed, 0x68, 0x9e, 0x80, 0x67, 0xa5, 0x8f, 0x10, 0x18, 0x11, 0x90, + ], + len: 96194, + sha: [ + 0x33, 0x98, 0x0b, 0x2a, 0xd2, 0x18, 0xeb, 0x46, 0xb6, 0x4c, 0x3f, 0xf0, 0xf2, 0xe7, 0x3e, 0xba, + 0x2d, 0xde, 0x43, 0xed, 0xa7, 0xbf, 0x12, 0x8c, 0x62, 0xc4, 0x08, 0xad, 0xe0, 0x2b, 0xbd, 0x83, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_quant80.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_prefill_quant.ptx", + key: [ + 0xd5, 0xa6, 0x7b, 0x91, 0xe2, 0xbd, 0x30, 0x8b, 0x6c, 0x5b, 0x3c, 0xf3, 0x80, 0xf4, 0xb1, 0x40, + 0x00, 0x43, 0x28, 0xbd, 0x26, 0x4c, 0x98, 0x83, 0x70, 0xb7, 0x14, 0x37, 0xf9, 0x6b, 0x86, 0x4c, + ], + len: 217573, + sha: [ + 0xcb, 0xa7, 0x20, 0xbb, 0x6b, 0xfb, 0x98, 0x41, 0xfa, 0xc5, 0x71, 0x6f, 0x84, 0x88, 0x6c, 0x94, + 0x7f, 0x36, 0xf4, 0xf0, 0x21, 0x0d, 0xe9, 0x10, 0xd3, 0x99, 0x5c, 0x1d, 0x8e, 0x62, 0x0d, 0xd7, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill_quant.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qwen_qsa_native.ptx", + key: [ + 0xd6, 0x04, 0x89, 0xfb, 0x70, 0xce, 0x43, 0x70, 0x04, 0x7b, 0xf5, 0x4f, 0xae, 0x8d, 0xd4, 0x6d, + 0xfb, 0x53, 0xbb, 0x73, 0xb1, 0x61, 0x8c, 0x58, 0x94, 0x29, 0x32, 0xa7, 0x89, 0xd0, 0x64, 0xc5, + ], + len: 31598, + sha: [ + 0x91, 0x8c, 0x74, 0x1a, 0xb3, 0xde, 0x0c, 0x8e, 0x3a, 0x4d, 0xb0, 0xf4, 0x54, 0xbc, 0xfc, 0x73, + 0x9b, 0x9b, 0xad, 0xcd, 0x58, 0xdd, 0x04, 0x7c, 0xc5, 0xfd, 0x87, 0x2e, 0x99, 0xc0, 0x1e, 0xf0, + ], + ptx: concat!(include_str!("../../ptx-sm86/qwen_qsa_native.ptx"), "\0").as_bytes(), + }, + Companion { + name: "gr_fixed.ptx", + key: [ + 0xde, 0xaa, 0x95, 0xe6, 0x1d, 0x25, 0xff, 0x87, 0xfd, 0x53, 0x1b, 0x62, 0xd5, 0xc2, 0x93, 0x09, + 0xb6, 0x9a, 0x37, 0x71, 0x18, 0x20, 0x4e, 0xef, 0xae, 0xe3, 0x10, 0xaf, 0x4e, 0xcf, 0xfa, 0x8b, + ], + len: 22704, + sha: [ + 0x89, 0x18, 0x62, 0xf3, 0xd1, 0x04, 0x0d, 0x14, 0xbf, 0xd3, 0x8f, 0xf0, 0x0e, 0x19, 0xea, 0x42, + 0xf4, 0xc6, 0x30, 0xdd, 0xcc, 0xfd, 0xa1, 0x69, 0x9f, 0xf5, 0xc6, 0x8f, 0xa1, 0x26, 0xd9, 0x66, + ], + ptx: concat!(include_str!("../../ptx-sm86/gr_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qwen_qsa_select.ptx", + key: [ + 0xe0, 0x94, 0xe1, 0x0f, 0x84, 0xcc, 0xa6, 0x12, 0xca, 0x28, 0x59, 0x6a, 0xa3, 0x94, 0xee, 0x99, + 0x9e, 0x33, 0xfe, 0x7b, 0xc8, 0x4b, 0x35, 0x9b, 0xfa, 0xb6, 0xda, 0x07, 0x30, 0xd4, 0xa5, 0x19, + ], + len: 41468, + sha: [ + 0xe8, 0xad, 0xf4, 0x5c, 0x34, 0x90, 0x8f, 0xa7, 0xf1, 0x58, 0x3d, 0x1d, 0xa0, 0xc5, 0x83, 0x04, + 0xfa, 0x02, 0x29, 0xbc, 0x2e, 0x37, 0x43, 0xc2, 0xaa, 0x30, 0x58, 0xf9, 0xe2, 0x6f, 0xf2, 0x7b, + ], + ptx: concat!(include_str!("../../ptx-sm86/qwen_qsa_select.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_kv.ptx", + key: [ + 0xe0, 0xc1, 0xff, 0x10, 0xd3, 0xd4, 0xbc, 0xf8, 0xfd, 0x33, 0x69, 0x71, 0x30, 0x79, 0xb2, 0x32, + 0xe6, 0x2c, 0xdb, 0x2c, 0x3a, 0x34, 0x5f, 0xae, 0xc4, 0x9d, 0x1e, 0x66, 0x76, 0x3f, 0x91, 0x1f, + ], + len: 16734, + sha: [ + 0xb9, 0x61, 0xa6, 0xbc, 0xaf, 0x30, 0x9b, 0xca, 0x67, 0xab, 0xf6, 0xc3, 0x7b, 0x8e, 0x30, 0x3b, + 0x16, 0x5f, 0xcd, 0x8f, 0x51, 0xc6, 0x8f, 0x63, 0x11, 0xc5, 0xa0, 0xe1, 0x3f, 0x86, 0x1f, 0x8b, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_kv.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_attention_fixed.ptx", + key: [ + 0xe1, 0x1a, 0xc4, 0xde, 0x66, 0xc9, 0x9c, 0x31, 0xec, 0x95, 0x37, 0x27, 0xbd, 0xac, 0x91, 0xca, + 0xc9, 0x7d, 0x58, 0xd8, 0x2a, 0x3d, 0xcb, 0xe0, 0x6e, 0xf4, 0xc6, 0xe8, 0xdc, 0x2a, 0x4c, 0x66, + ], + len: 75847, + sha: [ + 0xa0, 0x5c, 0xff, 0x97, 0xbd, 0x7e, 0x4e, 0x0a, 0xc9, 0x24, 0xad, 0xb9, 0xf0, 0x1f, 0x7b, 0x6c, + 0xa8, 0xe9, 0x67, 0x11, 0x3f, 0x84, 0xa1, 0x68, 0x7e, 0x09, 0x76, 0xb5, 0x64, 0x13, 0xa8, 0x37, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_attention_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_head_iq.ptx", + key: [ + 0xe5, 0x74, 0x52, 0xcc, 0xac, 0x77, 0x2a, 0x8a, 0x8a, 0x77, 0x25, 0x3b, 0xc6, 0xc9, 0x64, 0xeb, + 0xb7, 0xbc, 0x61, 0xfd, 0xb2, 0xe9, 0x75, 0x27, 0xa9, 0x77, 0x5f, 0x8c, 0xcf, 0x3c, 0x3b, 0x9f, + ], + len: 792488, + sha: [ + 0xea, 0x98, 0x3e, 0x2b, 0x8f, 0xce, 0xae, 0xbb, 0xa0, 0xad, 0xdb, 0x29, 0x62, 0x84, 0xa1, 0xf2, + 0xfa, 0x54, 0x6e, 0x26, 0x04, 0xfe, 0x8d, 0x6a, 0x10, 0x17, 0x02, 0x9a, 0xaf, 0x7e, 0x18, 0xae, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_head_iq.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq-adaptive-fixup.ptx", + key: [ + 0xe8, 0x14, 0xd7, 0x50, 0x21, 0xa7, 0x3c, 0x38, 0x31, 0x02, 0x3d, 0x29, 0x81, 0x84, 0x72, 0x23, + 0x2d, 0xb4, 0x47, 0x29, 0x21, 0x3d, 0xf1, 0x0d, 0x60, 0xc4, 0x78, 0x63, 0xaa, 0x47, 0x72, 0x78, + ], + len: 445570, + sha: [ + 0xa5, 0x0b, 0x8a, 0x99, 0x40, 0x09, 0xa3, 0xc6, 0x0e, 0xd8, 0x29, 0xaa, 0x45, 0xf7, 0xb1, 0x71, + 0x23, 0x40, 0x12, 0x95, 0xbd, 0xaa, 0x4e, 0x03, 0xe8, 0x71, 0xb4, 0x39, 0x3c, 0x2a, 0xf9, 0x1c, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq-adaptive-fixup.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq_original_group_mul.ptx", + key: [ + 0xea, 0x0d, 0xb7, 0x85, 0x05, 0x28, 0x9e, 0x8e, 0x74, 0x3a, 0x55, 0x2e, 0xf2, 0x3d, 0xed, 0x98, + 0xd6, 0x68, 0xa4, 0x89, 0xc6, 0x79, 0xa0, 0xe4, 0x48, 0x93, 0xb0, 0x00, 0x44, 0x5b, 0x48, 0xc7, + ], + len: 13083403, + sha: [ + 0x8a, 0x80, 0x90, 0xb4, 0x00, 0xf4, 0x08, 0x8f, 0x3d, 0x45, 0x0a, 0x70, 0xca, 0x0f, 0x83, 0x60, + 0x8f, 0xfe, 0x44, 0x73, 0xf4, 0x49, 0xd7, 0x9c, 0x69, 0xf8, 0x8c, 0x7c, 0x12, 0x2a, 0x26, 0x4a, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq_original_group_mul.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mmq_native_resident_d4.ptx", + key: [ + 0xea, 0x33, 0xd3, 0xd1, 0xdb, 0xc3, 0xc6, 0x39, 0x81, 0x55, 0xef, 0xa1, 0x92, 0xb5, 0xbb, 0x4d, + 0x5a, 0x25, 0xf7, 0x3f, 0x6e, 0x8a, 0xf6, 0x5f, 0x2d, 0xdc, 0x1b, 0x91, 0x95, 0xbb, 0x3e, 0xeb, + ], + len: 5199, + sha: [ + 0x95, 0x4e, 0x26, 0x5c, 0x1d, 0x6a, 0x60, 0x53, 0x6c, 0x93, 0x6d, 0x3e, 0x01, 0x24, 0x02, 0x13, + 0xc5, 0x0d, 0xf2, 0xae, 0xc8, 0x8c, 0x5f, 0x42, 0x88, 0xa5, 0xd5, 0xf6, 0xe3, 0xb7, 0xc1, 0x14, + ], + ptx: concat!(include_str!("../../ptx-sm86/mmq_native_resident_d4.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_fixed.ptx", + key: [ + 0xeb, 0x25, 0xf4, 0x5f, 0x2b, 0xf1, 0xcd, 0x3b, 0xe5, 0x7e, 0x0b, 0x5f, 0x32, 0x6a, 0x63, 0xf6, + 0x66, 0x05, 0x9a, 0x58, 0x70, 0x6d, 0x7a, 0x2b, 0xd4, 0x70, 0x52, 0x6c, 0x22, 0xc0, 0xf6, 0x7a, + ], + len: 24983, + sha: [ + 0x67, 0x25, 0x8f, 0xde, 0x60, 0xe2, 0xe5, 0xd0, 0xe5, 0x0b, 0xe8, 0xcb, 0xd6, 0x3b, 0x0d, 0xe4, + 0x2e, 0x33, 0xf7, 0x22, 0xb1, 0x61, 0x40, 0xe1, 0xb0, 0x71, 0x85, 0x7b, 0x47, 0xaa, 0xa8, 0xbe, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_fixed.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_late.ptx", + key: [ + 0xeb, 0xc8, 0xbc, 0x0a, 0xac, 0x1b, 0xd4, 0xa7, 0x45, 0x40, 0xed, 0x24, 0x6c, 0x00, 0x96, 0x0d, + 0x10, 0x15, 0x96, 0x30, 0x20, 0x11, 0x33, 0xe6, 0xd2, 0x1f, 0x30, 0x6e, 0xfe, 0xb1, 0xba, 0x2f, + ], + len: 213285, + sha: [ + 0x11, 0x8d, 0x23, 0x00, 0xe6, 0x7d, 0x15, 0x42, 0x0b, 0x7e, 0xbd, 0xb4, 0xee, 0x82, 0x3d, 0x91, + 0xbe, 0x58, 0x55, 0x62, 0x07, 0x23, 0x85, 0x3f, 0xe9, 0xda, 0x8d, 0xef, 0x8a, 0xe5, 0xe9, 0x8b, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_late.ptx"), "\0").as_bytes(), + }, + Companion { + name: "kar_decode_levels.ptx", + key: [ + 0xec, 0x69, 0x77, 0x87, 0xe0, 0x00, 0x53, 0x10, 0x00, 0x5e, 0xb1, 0x69, 0xa7, 0x58, 0x31, 0x5e, + 0xb5, 0x50, 0x3a, 0xc7, 0x67, 0x1a, 0x38, 0x49, 0x5e, 0xea, 0xea, 0xf4, 0xfb, 0x2a, 0x8e, 0xc9, + ], + len: 18428, + sha: [ + 0xb9, 0x41, 0xaf, 0xb1, 0x17, 0xd7, 0x7a, 0x57, 0x32, 0xc1, 0x66, 0x6a, 0x25, 0x29, 0x1a, 0xb9, + 0xbf, 0xd6, 0x17, 0x25, 0x28, 0xbd, 0x6b, 0x52, 0x7c, 0x37, 0x39, 0x7f, 0x24, 0xfd, 0x77, 0xc4, + ], + ptx: concat!(include_str!("../../ptx-sm86/kar_decode_levels.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_prefill.ptx", + key: [ + 0xf0, 0xa0, 0x67, 0x3d, 0x72, 0xe2, 0xaf, 0x9b, 0xaa, 0x48, 0x14, 0x64, 0xbd, 0x2f, 0x07, 0x04, + 0x2a, 0x66, 0x98, 0xd4, 0x64, 0x13, 0xfe, 0x6a, 0x85, 0x4c, 0xc8, 0x30, 0x1d, 0xba, 0x67, 0x5a, + ], + len: 68280, + sha: [ + 0xc3, 0xba, 0x39, 0xe3, 0xc2, 0xbe, 0x4e, 0xfb, 0x0a, 0xca, 0x00, 0x19, 0xe2, 0xaa, 0xe7, 0x47, + 0xff, 0x00, 0x1d, 0x13, 0x63, 0x10, 0x16, 0xe5, 0xcc, 0x9f, 0xef, 0x86, 0x7e, 0x9a, 0xc1, 0xaf, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill.ptx"), "\0").as_bytes(), + }, + Companion { + name: "original_verify_qsa.ptx", + key: [ + 0xf5, 0x7b, 0x41, 0x82, 0xe2, 0x19, 0x2b, 0xe7, 0xf5, 0xd3, 0x19, 0xe7, 0xa5, 0xe0, 0x2f, 0xaa, + 0x5f, 0xc2, 0x45, 0xc0, 0x61, 0x42, 0x6c, 0xd2, 0xbf, 0xc1, 0x39, 0xcf, 0x45, 0x3a, 0xdc, 0x05, + ], + len: 19585, + sha: [ + 0x22, 0xd6, 0x9a, 0x56, 0xf3, 0x88, 0xc1, 0xb3, 0x83, 0xc7, 0xb1, 0x25, 0xeb, 0x11, 0xcb, 0x36, + 0xb5, 0xb0, 0xe8, 0x02, 0x6e, 0x95, 0x7b, 0x87, 0xad, 0x06, 0xce, 0x07, 0xc8, 0x02, 0x52, 0x40, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify_qsa.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_head_native.ptx", + key: [ + 0xf8, 0x20, 0x9e, 0x1c, 0x9f, 0xbf, 0x97, 0x8b, 0xc5, 0x7b, 0x60, 0xb0, 0xb5, 0xf6, 0xed, 0xca, + 0xb1, 0x90, 0x5e, 0x49, 0xa4, 0xab, 0x3a, 0xa9, 0x82, 0x60, 0x4e, 0x3e, 0x68, 0x0f, 0xa4, 0x37, + ], + len: 7459176, + sha: [ + 0x6b, 0x0a, 0x23, 0x33, 0x72, 0xb7, 0x51, 0x3f, 0x8c, 0x6e, 0xef, 0xd7, 0xaa, 0x7e, 0x66, 0x34, + 0x99, 0xb7, 0xe2, 0x38, 0x6c, 0xd8, 0x7c, 0x82, 0x73, 0xde, 0x22, 0xd7, 0x26, 0xa9, 0x84, 0xe5, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_head_native.ptx"), "\0").as_bytes(), + }, + Companion { + name: "iq3_xxs_q8_1.ptx", + key: [ + 0xf9, 0xc1, 0x08, 0x14, 0xf3, 0x7b, 0x75, 0xba, 0xbc, 0xae, 0xe1, 0x02, 0x8b, 0x4a, 0x13, 0x75, + 0xe5, 0x30, 0x22, 0x0f, 0x86, 0x3a, 0xb3, 0x80, 0x1b, 0xeb, 0x8f, 0xcb, 0x5a, 0x19, 0x73, 0x3f, + ], + len: 15564, + sha: [ + 0x94, 0x65, 0x5f, 0x22, 0x89, 0x15, 0xdd, 0x3d, 0x0a, 0xe5, 0xdc, 0x3a, 0xde, 0xde, 0xf8, 0xfc, + 0xeb, 0x06, 0x98, 0x20, 0xae, 0x17, 0xe1, 0x5d, 0xb9, 0x49, 0x44, 0x42, 0x79, 0x48, 0xaf, 0xda, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq3_xxs_q8_1.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_native_gate.ptx", + key: [ + 0xf9, 0xf7, 0x78, 0x15, 0x44, 0xa4, 0xa0, 0xb0, 0xb2, 0xf0, 0x73, 0x3f, 0xe0, 0x0f, 0x36, 0xb8, + 0x19, 0x49, 0x54, 0x33, 0x3b, 0x9b, 0xca, 0x99, 0x95, 0x91, 0x40, 0x45, 0xd8, 0x6b, 0xaf, 0x1e, + ], + len: 1356, + sha: [ + 0x20, 0x00, 0x36, 0x45, 0x64, 0x34, 0x00, 0x9b, 0x96, 0x1c, 0x37, 0x1d, 0xa8, 0xa1, 0x44, 0x0d, + 0xb1, 0x5a, 0x7b, 0xe9, 0x53, 0x19, 0xa8, 0xc8, 0x15, 0xe1, 0xbf, 0xe8, 0x00, 0x95, 0xf2, 0x1c, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_native_gate.ptx"), "\0").as_bytes(), + }, + Companion { + name: "mtp_original_full_s2.ptx", + key: [ + 0xfb, 0xb9, 0x17, 0xd5, 0x90, 0xea, 0x80, 0x33, 0x8a, 0x7b, 0xdf, 0x07, 0xb2, 0xca, 0x6d, 0x45, + 0x8f, 0xa7, 0x27, 0x63, 0xba, 0x27, 0x9e, 0x57, 0x6b, 0xcc, 0x1e, 0xec, 0x88, 0x36, 0xfd, 0x55, + ], + len: 408620, + sha: [ + 0x84, 0xfc, 0xa0, 0x77, 0x1f, 0xef, 0x37, 0x13, 0x49, 0xc7, 0x2a, 0xdd, 0xaf, 0x76, 0x73, 0x8a, + 0xe9, 0xb7, 0x55, 0x39, 0x89, 0xb5, 0xab, 0xf6, 0x60, 0x0a, 0x22, 0x35, 0x93, 0x95, 0xae, 0x83, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_s2.ptx"), "\0").as_bytes(), + }, + Companion { + name: "qsa_decode_postops.ptx", + key: [ + 0xfd, 0x76, 0xe6, 0xf8, 0x45, 0x57, 0xd7, 0xf2, 0xa6, 0x2a, 0xc5, 0x6e, 0x16, 0xd5, 0xe4, 0xf7, + 0x88, 0x62, 0xe7, 0x56, 0xef, 0x98, 0x52, 0xb0, 0x4d, 0x59, 0x19, 0x99, 0x21, 0x3a, 0x51, 0x19, + ], + len: 12390, + sha: [ + 0x5f, 0xf2, 0x93, 0x19, 0x01, 0x09, 0x9c, 0x2c, 0xfd, 0xb6, 0x03, 0x94, 0x56, 0x52, 0x2a, 0x1e, + 0x1c, 0x26, 0xae, 0x32, 0xb6, 0x1f, 0xdf, 0x69, 0xfb, 0xee, 0xd9, 0xc2, 0xca, 0x02, 0xdd, 0x1e, + ], + ptx: concat!(include_str!("../../ptx-sm86/qsa_decode_postops.ptx"), "\0").as_bytes(), + }, + Companion { + name: "moe_group_swiglu.ptx", + key: [ + 0xfe, 0x6f, 0xba, 0x86, 0x65, 0x4b, 0x64, 0x65, 0x1f, 0xee, 0xe8, 0x43, 0x91, 0xba, 0x77, 0xb2, + 0xb0, 0xab, 0xff, 0x8b, 0x06, 0x23, 0xcd, 0xad, 0x41, 0x69, 0x76, 0x95, 0x44, 0x39, 0x7a, 0xea, + ], + len: 4684, + sha: [ + 0xbe, 0x94, 0x9a, 0x3e, 0xf8, 0xc4, 0x3c, 0x2f, 0xa1, 0x1a, 0x73, 0x63, 0x7d, 0x2d, 0x2b, 0x9c, + 0x8d, 0x83, 0xdf, 0x56, 0xc2, 0x78, 0x49, 0x21, 0xeb, 0x7b, 0xc2, 0xb4, 0xf0, 0xb5, 0x72, 0x26, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_swiglu.ptx"), "\0").as_bytes(), + }, +];