Files
leleka/scripts/gpu-bringup/extra-seal-plan.json
T
Pavlo RatushnyiandClaude Sonnet 5.5 28d74a2efd draft-round: fused verifier commit graph (LELEKA_DRAFT_FUSED_COMMIT=on, opt-in, sm_120 only): 182 nodes -> 4
The accepted-prefix commit graph replayed each of the 36 GDN layers (conv history commit + recurrence replay through the accepted tokens) and each of the 12 QSA layers (tail restore +
8 row appends) as its own kernels. Two sealed kernels do all layers in one launch each: draft_commit_gdn_layers (precise math like original_verify.cu; the replay's output path,
which nothing reads, is not computed; the state-independent loads of all tokens are issued first) and draft_commit_qsa_layers (fast math like the resealed original_verify_qsa.cu;
one block per layer, rows in order). Model-free probe tools/draft-round/commit_probe.cpp: every state byte identical to the Original's kernels on 36 GDN and 60 QSA random
cases (n_keep 0..8, three RoPE settings, positions around block edges, holes); in a graph the GDN part is 346 -> 156 us, the QSA part 72 -> 4.5 us. Replay gate: draft-round-id1
(fused alone, DAILY alone and both): 2057/2057 top-16 logprob rows and 1036/1036 draft traces bit-identical, A/A exact.

Sealed with scripts/gpu-bringup (extra-seal-plan.json group draft-round, nvcc 13.2.86); ptx-sm86/MANIFEST.json records them as not built for sm_86 (record_commit fuses only on cc 12).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-02 13:00:32 +01:00

930 lines
30 KiB
JSON

{
"schema": 1,
"note": "Assets that are unsealed placeholders in crates/cuda-driver/src but are covered by none of docs/cuda-seal-plan*.json. Same entry format as those plans (plus group/optional/deferred/entry_prefix_counts/include_profile). Recipes are taken from the placeholder/.cu headers; none has been compiled. Sibling plans carry cu_pin; these entries have none because no pin was ever written, so the compile manifest (cu sha256 at compile time) is the pin. The six reseal-fastmath entries are the verifier reviewer's audit (docs/cuda-seal-plan-additions-window.json numerics_risk_fast_math.audit): they REPLACE already-sealed PTX, so their old digests are re-pinned wherever they appear (repin_expect).",
"assets": [
{
"cu": "crates/cuda-driver/src/kar_decode_levels.cu",
"ptx": "crates/cuda-driver/src/kar_decode_levels.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--ftz=false",
"--prec-div=true",
"--prec-sqrt=true",
"--fmad=true"
],
"policy": "precise (flags quoted from the placeholder header of kar_decode_levels.ptx; no fast-math)",
"entries": [
"leleka_kar_decode_levels_f32",
"leleka_kar_multiply_f32",
"leleka_kar_swiglu_f32"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"kar_decode_levels.rs": [
"KAR_DECODE_LEVELS_PIN.source_sha256",
"KAR_DECODE_LEVELS_PIN.ptx_sha256"
]
},
"group": "kar"
},
{
"cu": "crates/cuda-driver/src/mmq_original_group_swiglu.cu",
"ptx": "crates/cuda-driver/src/mmq_original_group_swiglu.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math",
"--extended-lambda"
],
"policy": "fast-math, flags quoted from the sibling mmq_original_group_{mul,fixup}.cu header ('ROOT must compile sm120 --use_fast_math'); swiglu itself uses explicit __expf. UNVERIFIED against engine/strata CMake: decide before sealing.",
"entries": [
"leleka_original_mmq_swiglu",
"leleka_original_mmq_gather",
"leleka_original_mmq_gu_finite"
],
"encoding": "include_bytes",
"include_profile": "standard",
"rust_fields_to_fill": {
"mmq_original_group.rs": [
"SEALED[0]"
]
},
"group": "mmq_group",
"optional": true,
"atomic_group": "mmq_group"
},
{
"cu": "crates/cuda-driver/src/mmq_original_group_mul.cu",
"ptx": "crates/cuda-driver/src/mmq_original_group_mul.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math",
"--extended-lambda"
],
"policy": "fast-math, flags quoted from the .cu header and the stra169 mmq-original-formats recipe (--use_fast_math --extended-lambda). UNVERIFIED: decide before sealing.",
"entry_prefix_counts": {
"_Z9mul_mat_q": 66
},
"encoding": "include_bytes",
"include_profile": "standard",
"rust_fields_to_fill": {
"mmq_original_group.rs": [
"SEALED[1]"
]
},
"group": "mmq_group",
"optional": true,
"atomic_group": "mmq_group"
},
{
"cu": "crates/cuda-driver/src/mmq_original_group_fixup.cu",
"ptx": "crates/cuda-driver/src/mmq_original_group_fixup.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math",
"--extended-lambda"
],
"policy": "fast-math, flags quoted from the .cu header and the stra169 mmq-original-formats-fixup recipe. UNVERIFIED: decide before sealing.",
"entry_prefix_counts": {
"_Z24mul_mat_q_stream_k_fixup": 66
},
"encoding": "include_bytes",
"include_profile": "standard",
"rust_fields_to_fill": {
"mmq_original_group.rs": [
"SEALED[2]"
]
},
"group": "mmq_group",
"optional": true,
"atomic_group": "mmq_group"
},
{
"cu": "crates/cuda-driver/src/mtp_original_scalar_norm.cu",
"ptx": "crates/cuda-driver/src/mtp_original_scalar_norm.ptx",
"flags": [],
"deferred": "placeholder says 'literal Original scalar MTP assets; no executable entry'. No recipe exists in any plan; the scalar MTP prefill path (mtp_original_scalar_prefill.rs) stays fail-closed.",
"group": "scalar_mtp"
},
{
"cu": "crates/cuda-driver/src/mtp_original_scalar_gr.cu",
"ptx": "crates/cuda-driver/src/mtp_original_scalar_gr.ptx",
"flags": [],
"deferred": "placeholder says 'literal Original scalar MTP assets; no executable entry'. The .cu is a host+device translation unit (fused_gr.cu with <random>, <cstdio>, Strata headers), not a PTX-only source; needs a decision by the owner.",
"group": "scalar_mtp"
},
{
"cu": "crates/cuda-driver/src/native_parity.cu",
"ptx": "crates/cuda-driver/src/native_parity.ptx",
"flags": [],
"deferred": "placeholder says 'compile native_parity.cu using pinned Original headers and flags. No executable entries.' Parity oracle source (iq_kernels.cu derivative); not needed for serving.",
"group": "native_parity"
},
{
"cu": "crates/cuda-driver/src/mtp_original_full_head_native.cu",
"ptx": "crates/cuda-driver/src/mtp_original_full_head_native.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"policy": "fast-math RESEAL: the Original compiles native_mmvq.cu quantize_q8_1 (head_quant) with --use_fast_math (native_mmvq on the CMake fast-math list); the copy sealed by scripts/build-original-verify-ptx.sh used the non-fast flags. Audit: head_quant has two div.rn.f32 where the Original emits div.full.f32.",
"encoding": "include_bytes",
"group": "reseal-fastmath",
"atomic_group": "reseal-fastmath",
"mandatory": true,
"repin_expect": {
"crates/cuda-driver/src/original_verify_window_proj.rs": 1
},
"include_profile": "standard",
"entries_from_symbols": true
},
{
"cu": "crates/cuda-driver/src/original_verify_qsa.cu",
"ptx": "crates/cuda-driver/src/original_verify_qsa.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"policy": "fast-math RESEAL: the Original compiles native_qsa_indexer.cu append<false> with --use_fast_math (native_qsa_indexer on the CMake fast-math list); the copy sealed by scripts/build-original-verify-ptx.sh used the non-fast flags. Audit: powf/cosf/sinf are the libm forms here, __powf/cos.approx/sin.approx in the Original.",
"encoding": "concat_include_str",
"group": "reseal-fastmath",
"atomic_group": "reseal-fastmath",
"mandatory": true,
"repin_expect": {
"crates/cuda-driver/src/original_verify.rs": 1
},
"include_profile": "standard",
"entries": [
"verify_qsa_append_analytic",
"verify_qsa_append_table"
]
},
{
"cu": "crates/cuda-driver/src/mtp_original_full_router.cu",
"ptx": "crates/cuda-driver/src/mtp_original_full_router.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"policy": "fast-math RESEAL: the Original compiles native_router.cu route with --use_fast_math (native_router on the CMake fast-math list); the copy sealed by scripts/build-original-verify-ptx.sh used the non-fast flags. Audit: expf and reciprocal.",
"encoding": "include_bytes",
"group": "reseal-fastmath",
"atomic_group": "reseal-fastmath",
"mandatory": true,
"repin_expect": {
"crates/cuda-driver/src/original_verify_window_moe.rs": 1
},
"include_profile": "standard",
"entries_from_symbols": true
},
{
"cu": "crates/cuda-driver/src/mtp_original_full_gr_post.cu",
"ptx": "crates/cuda-driver/src/mtp_original_full_gr_post.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"policy": "fast-math RESEAL: the Original compiles native_gr_postops.cu with --use_fast_math (native_gr_postops on the CMake fast-math list); the copy sealed by scripts/build-original-verify-ptx.sh used the non-fast flags. Audit: sigmoid/silu expf and division.",
"encoding": "include_bytes",
"group": "reseal-fastmath",
"atomic_group": "reseal-fastmath",
"mandatory": true,
"repin_expect": {
"crates/cuda-driver/src/original_verify_window_gr.rs": 1
},
"include_profile": "standard",
"entries_from_symbols": true
},
{
"cu": "crates/cuda-driver/src/mtp_original_full_gr_norm.cu",
"ptx": "crates/cuda-driver/src/mtp_original_full_gr_norm.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"policy": "fast-math RESEAL: the Original compiles native_gr_norm.cu weighted_rms_norm with --use_fast_math (native_gr_norm on the CMake fast-math list); the copy sealed by scripts/build-original-verify-ptx.sh used the non-fast flags. Audit: mean = partial / n_cols.",
"encoding": "include_bytes",
"group": "reseal-fastmath",
"atomic_group": "reseal-fastmath",
"mandatory": true,
"repin_expect": {
"crates/cuda-driver/src/original_verify_window_gr.rs": 1
},
"include_profile": "standard",
"entries_from_symbols": true
},
{
"cu": "crates/cuda-driver/src/ple_native_batch.cu",
"ptx": "crates/cuda-driver/src/ple_native_batch.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"--use_fast_math"
],
"policy": "fast-math RESEAL: the Original compiles native_ple_postops.cu with --use_fast_math (native_ple_postops on the CMake fast-math list); the copy sealed by scripts/build-original-verify-ptx.sh used the non-fast flags. Audit: sqrtf/expf/division. Only with a PLE block. Recipe: the stra169 plan's flags plus --use_fast_math (no -std, no includes).",
"encoding": "concat_include_str",
"group": "reseal-fastmath",
"atomic_group": "reseal-fastmath",
"mandatory": true,
"repin_expect": {
"crates/cuda-driver/src/original_verify_window_gr.rs": 1,
"crates/cuda-driver/src/ple_batch_queue.rs": 1
},
"rust_fields_to_fill": {
"ple_batch_queue.rs": [
"PTX_BYTES"
]
}
},
{
"cu": "crates/cuda-driver/src/native_head_native.cu",
"ptx": "crates/cuda-driver/src/native_head_native.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math"
],
"policy": "native_mmvq.cu/native_bf16.cu are --use_fast_math in engine/strata/CMakeLists.txt; native head kernels adapt ggml mmvq/quantize",
"entries": [
"head_n11_s0",
"head_n11_s1",
"head_n11_t2_large",
"head_n11_t2_small",
"head_n11_t2_upstream",
"head_n11_t3_large",
"head_n11_t3_small",
"head_n11_t3_upstream",
"head_n11_t4_large",
"head_n11_t4_small",
"head_n11_t4_upstream",
"head_n11_t5_large",
"head_n11_t5_small",
"head_n11_t5_upstream",
"head_n11_t6_large",
"head_n11_t6_small",
"head_n11_t6_upstream",
"head_n11_t7_large",
"head_n11_t7_small",
"head_n11_t7_upstream",
"head_n11_t8_large",
"head_n11_t8_small",
"head_n11_t8_upstream",
"head_n12_s0",
"head_n12_s1",
"head_n12_t2_large",
"head_n12_t2_small",
"head_n12_t2_upstream",
"head_n12_t3_large",
"head_n12_t3_small",
"head_n12_t3_upstream",
"head_n12_t4_large",
"head_n12_t4_small",
"head_n12_t4_upstream",
"head_n12_t5_large",
"head_n12_t5_small",
"head_n12_t5_upstream",
"head_n12_t6_large",
"head_n12_t6_small",
"head_n12_t6_upstream",
"head_n12_t7_large",
"head_n12_t7_small",
"head_n12_t7_upstream",
"head_n12_t8_large",
"head_n12_t8_small",
"head_n12_t8_upstream",
"head_n13_s0",
"head_n13_s1",
"head_n13_t2_large",
"head_n13_t2_small",
"head_n13_t2_upstream",
"head_n13_t3_large",
"head_n13_t3_small",
"head_n13_t3_upstream",
"head_n13_t4_large",
"head_n13_t4_small",
"head_n13_t4_upstream",
"head_n13_t5_large",
"head_n13_t5_small",
"head_n13_t5_upstream",
"head_n13_t6_large",
"head_n13_t6_small",
"head_n13_t6_upstream",
"head_n13_t7_large",
"head_n13_t7_small",
"head_n13_t7_upstream",
"head_n13_t8_large",
"head_n13_t8_small",
"head_n13_t8_upstream",
"head_n14_s0",
"head_n14_s1",
"head_n14_t2_large",
"head_n14_t2_small",
"head_n14_t2_upstream",
"head_n14_t3_large",
"head_n14_t3_small",
"head_n14_t3_upstream",
"head_n14_t4_large",
"head_n14_t4_small",
"head_n14_t4_upstream",
"head_n14_t5_large",
"head_n14_t5_small",
"head_n14_t5_upstream",
"head_n14_t6_large",
"head_n14_t6_small",
"head_n14_t6_upstream",
"head_n14_t7_large",
"head_n14_t7_small",
"head_n14_t7_upstream",
"head_n14_t8_large",
"head_n14_t8_small",
"head_n14_t8_upstream",
"head_n20_s0",
"head_n20_s1",
"head_n20_t2_large",
"head_n20_t2_small",
"head_n20_t2_upstream",
"head_n20_t3_large",
"head_n20_t3_small",
"head_n20_t3_upstream",
"head_n20_t4_large",
"head_n20_t4_small",
"head_n20_t4_upstream",
"head_n20_t5_large",
"head_n20_t5_small",
"head_n20_t5_upstream",
"head_n20_t6_large",
"head_n20_t6_small",
"head_n20_t6_upstream",
"head_n20_t7_large",
"head_n20_t7_small",
"head_n20_t7_upstream",
"head_n20_t8_large",
"head_n20_t8_small",
"head_n20_t8_upstream",
"head_n23_s0",
"head_n23_s1",
"head_n23_t2_large",
"head_n23_t2_small",
"head_n23_t2_upstream",
"head_n23_t3_large",
"head_n23_t3_small",
"head_n23_t3_upstream",
"head_n23_t4_large",
"head_n23_t4_small",
"head_n23_t4_upstream",
"head_n23_t5_large",
"head_n23_t5_small",
"head_n23_t5_upstream",
"head_n23_t6_large",
"head_n23_t6_small",
"head_n23_t6_upstream",
"head_n23_t7_large",
"head_n23_t7_small",
"head_n23_t7_upstream",
"head_n23_t8_large",
"head_n23_t8_small",
"head_n23_t8_upstream",
"head_n2_s0",
"head_n2_s1",
"head_n2_t2_large",
"head_n2_t2_small",
"head_n2_t2_upstream",
"head_n2_t3_large",
"head_n2_t3_small",
"head_n2_t3_upstream",
"head_n2_t4_large",
"head_n2_t4_small",
"head_n2_t4_upstream",
"head_n2_t5_large",
"head_n2_t5_small",
"head_n2_t5_upstream",
"head_n2_t6_large",
"head_n2_t6_small",
"head_n2_t6_upstream",
"head_n2_t7_large",
"head_n2_t7_small",
"head_n2_t7_upstream",
"head_n2_t8_large",
"head_n2_t8_small",
"head_n2_t8_upstream",
"head_n42_s0",
"head_n42_s1",
"head_n42_t2_large",
"head_n42_t2_small",
"head_n42_t2_upstream",
"head_n42_t3_large",
"head_n42_t3_small",
"head_n42_t3_upstream",
"head_n42_t4_large",
"head_n42_t4_small",
"head_n42_t4_upstream",
"head_n42_t5_large",
"head_n42_t5_small",
"head_n42_t5_upstream",
"head_n42_t6_large",
"head_n42_t6_small",
"head_n42_t6_upstream",
"head_n42_t7_large",
"head_n42_t7_small",
"head_n42_t7_upstream",
"head_n42_t8_large",
"head_n42_t8_small",
"head_n42_t8_upstream",
"head_n6_s0",
"head_n6_s1",
"head_n6_t2_large",
"head_n6_t2_small",
"head_n6_t2_upstream",
"head_n6_t3_large",
"head_n6_t3_small",
"head_n6_t3_upstream",
"head_n6_t4_large",
"head_n6_t4_small",
"head_n6_t4_upstream",
"head_n6_t5_large",
"head_n6_t5_small",
"head_n6_t5_upstream",
"head_n6_t6_large",
"head_n6_t6_small",
"head_n6_t6_upstream",
"head_n6_t7_large",
"head_n6_t7_small",
"head_n6_t7_upstream",
"head_n6_t8_large",
"head_n6_t8_small",
"head_n6_t8_upstream",
"head_n8_s0",
"head_n8_s1",
"head_n8_t2_large",
"head_n8_t2_small",
"head_n8_t2_upstream",
"head_n8_t3_large",
"head_n8_t3_small",
"head_n8_t3_upstream",
"head_n8_t4_large",
"head_n8_t4_small",
"head_n8_t4_upstream",
"head_n8_t5_large",
"head_n8_t5_small",
"head_n8_t5_upstream",
"head_n8_t6_large",
"head_n8_t6_small",
"head_n8_t6_upstream",
"head_n8_t7_large",
"head_n8_t7_small",
"head_n8_t7_upstream",
"head_n8_t8_large",
"head_n8_t8_small",
"head_n8_t8_upstream",
"head_quant"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"native_head.rs": [
"NATIVE_ASSET_PIN"
]
},
"group": "serve-assets",
"optional": false,
"include_profile": "standard"
},
{
"cu": "crates/cuda-driver/src/native_head_iq.cu",
"ptx": "crates/cuda-driver/src/native_head_iq.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math"
],
"policy": "same native_mmvq.cu fast-math policy (IQ dot products)",
"entries": [
"head_embed_one",
"head_embed_rows",
"head_i16_c1",
"head_i16_c2",
"head_i16_c4",
"head_i16_c8",
"head_i16_old",
"head_i17_c1",
"head_i17_c2",
"head_i17_c4",
"head_i17_c8",
"head_i17_old",
"head_i18_c1",
"head_i18_c2",
"head_i18_c4",
"head_i18_c8",
"head_i18_old",
"head_i21_c1",
"head_i21_c2",
"head_i21_c4",
"head_i21_c8",
"head_i21_old",
"head_i22_c1",
"head_i22_c2",
"head_i22_c4",
"head_i22_c8",
"head_i22_old",
"head_i29_c1",
"head_i29_c2",
"head_i29_c4",
"head_i29_c8",
"head_i29_old",
"head_i7_old"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"native_head.rs": [
"IQ_ASSET_PIN"
]
},
"group": "serve-assets",
"optional": false,
"include_profile": "standard"
},
{
"cu": "crates/cuda-driver/src/native_head_sampler.cu",
"ptx": "crates/cuda-driver/src/native_head_sampler.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17"
],
"policy": "Original sampler is not in the CMake fast-math list",
"entries": [
"sampler_greedy_kernel",
"sampler_kernel",
"sampler_one_block_kernel",
"sampler_split_merge_kernel",
"sampler_split_part_kernel"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"native_head.rs": [
"SAMPLER_ASSET_PIN"
]
},
"group": "serve-assets",
"optional": false,
"include_profile": "standard"
},
{
"cu": "crates/cuda-driver/src/original_sampler.cu",
"ptx": "crates/cuda-driver/src/original_sampler.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17"
],
"policy": "Original sampler is not in the CMake fast-math list",
"entries": [
"coupled_merge_kernel",
"coupled_penalize_kernel",
"coupled_stage_kernel",
"sampler_greedy_kernel",
"sampler_kernel",
"sampler_one_block_kernel",
"sampler_split_merge_kernel",
"sampler_split_part_kernel"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_sampler.rs": [
"ASSET_PIN"
]
},
"group": "serve-assets",
"optional": false,
"include_profile": "standard"
},
{
"cu": "crates/cuda-driver/src/mtp_original_session_native_rope.cu",
"ptx": "crates/cuda-driver/src/mtp_original_session_native_rope.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math"
],
"policy": "native_rope.cu is in the CMake fast-math list; UNVERIFIED mapping, confirm against the Original rope kernel before sealing",
"entries": [
"mtp_session_analytic",
"mtp_session_table"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"mtp_original_session.rs": [
"SESSION_NATIVE_ASSET_PIN"
]
},
"group": "serve-assets",
"optional": false,
"include_profile": "standard"
},
{
"cu": "crates/cuda-driver/src/mtp_original_session_legacy_rope.cu",
"ptx": "crates/cuda-driver/src/mtp_original_session_legacy_rope.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--use_fast_math"
],
"policy": "legacy rope table kernel follows native_rope.cu fast-math policy; UNVERIFIED mapping, confirm before sealing",
"entries": [
"mtp_session_legacy"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"mtp_original_session.rs": [
"SESSION_LEGACY_ASSET_PIN"
]
},
"group": "serve-assets",
"optional": false,
"include_profile": "standard"
},
{
"cu": "crates/cuda-driver/src/prefill_stage.cu",
"ptx": "crates/cuda-driver/src/prefill_stage.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--ftz=false",
"--prec-div=true",
"--prec-sqrt=true",
"--fmad=true"
],
"policy": "precise (the recipe of kar_decode_levels and the fixed KAR PLE kernels it replaces for chunk-wide use; no fast-math)",
"entries": [
"leleka_prefill_ple_scatter",
"leleka_prefill_ple_decode",
"leleka_prefill_embed_broadcast",
"leleka_prefill_gr_norm_rs",
"leleka_prefill_gr_mix_r",
"leleka_prefill_gr_write_norm_rs",
"leleka_prefill_gr_write",
"leleka_prefill_dequant_q8_0",
"leleka_prefill_dequant_q4_k",
"leleka_prefill_dequant_q5_k",
"leleka_prefill_dequant_q6_k",
"leleka_prefill_dequant_iq4_nl",
"leleka_prefill_dequant_iq4_xs",
"leleka_prefill_gdn_conv_tiled",
"leleka_prefill_gdn_l2",
"leleka_prefill_gdn_out_norm",
"leleka_prefill_gdn_rec"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"prefill_stage.rs": [
"PIN.source_sha256",
"PIN.ptx_sha256"
]
},
"group": "prefill-stage",
"optional": false
},
{
"cu": "crates/cuda-driver/src/chain_window.cu",
"ptx": "crates/cuda-driver/src/chain_window.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false"
],
"include_profile": "standard",
"policy": "precise (--fmad=true --ftz=false: the recipe of original_verify.cu, mtp_original_full_fused_gr.cu and mtp_original_full_attention.cu, whose kernels these replace bit for bit)",
"entries": [
"chain_copy_i32_from_mapped_kernel",
"chain_wait_copy_i32_kernel",
"chain_copy_rows_from_mapped_kernel",
"chain_doorbell_publish_kernel",
"chain_gdn_ab_multi_kernel",
"chain_gr_split",
"chain_gr_up16",
"chain_gr_up8",
"chain_qsa_decode_chunk"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_chain.rs": [
"CHAIN.sha"
]
},
"group": "chain-window",
"optional": false
},
{
"cu": "crates/cuda-driver/src/qsa_late.cu",
"ptx": "crates/cuda-driver/src/qsa_late.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--ftz=false",
"--prec-div=true",
"--prec-sqrt=true",
"--fmad=true"
],
"policy": "precise (integer and comparison arithmetic only; the recipe of prefill_stage)",
"entries": [
"leleka_qsa_topk_fast",
"leleka_qsa_score_scan_fast",
"leleka_qsa_topk_wide",
"leleka_qsa_topk_wide_failed",
"leleka_qsa_topk_sample"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"qsa_late.rs": [
"PIN.source_sha256",
"PIN.ptx_sha256"
]
},
"group": "qsa-late",
"optional": false
},
{
"cu": "crates/cuda-driver/src/qsa_cluster.cu",
"ptx": "crates/cuda-driver/src/qsa_cluster.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--ftz=false",
"--prec-div=true",
"--prec-sqrt=true",
"--fmad=true"
],
"policy": "precise (integer and comparison arithmetic only; sm_90+ cluster barriers, no sm_86 companion)",
"entries": [
"leleka_qsa_topk_cluster"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"qsa_cluster.rs": [
"PIN.source_sha256",
"PIN.ptx_sha256"
]
},
"group": "qsa-cluster",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_attn_daily.cu",
"ptx": "crates/cuda-driver/src/sm120_attn_daily.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false"
],
"include_profile": "standard",
"policy": "precise (--fmad=true --ftz=false: the recipe of mtp_original_full_attention.cu, whose chunk and merge kernels these replace bit for bit; upstream STRATA_ATTN_DAILY)",
"entries": [
"leleka_qsa_decode_chunk_daily",
"leleka_qsa_decode_merge_v2"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_sm120.rs": [
"ATTN_DAILY.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_gu_swiglu.cu",
"ptx": "crates/cuda-driver/src/sm120_gu_swiglu.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false",
"-Iengine/strata/src/kernels/cuda"
],
"include_profile": "standard",
"policy": "precise (--fmad=true --ftz=false: the recipe of original_verify_window_moe_experts.cu; upstream STRATA_GU_SWIGLU, bitwise the three kernels it replaces)",
"entries": [
"sm120_moe_gu_swiglu_16",
"sm120_moe_gu_swiglu_17",
"sm120_moe_gu_swiglu_18",
"sm120_moe_gu_swiglu_21",
"sm120_moe_gu_swiglu_22",
"sm120_moe_gu_swiglu_23"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_sm120.rs": [
"GU_SWIGLU.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/draft_commit.cu",
"ptx": "crates/cuda-driver/src/draft_commit.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false"
],
"include_profile": "standard",
"policy": "precise (--fmad=true --ftz=false: the recipe of original_verify.cu, which the Original does not build fast-math; draft-round fused GDN commit, bitwise the 72 kernels it replaces)",
"entries": [
"draft_commit_gdn_layers"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_draft.rs": [
"DRAFT_COMMIT.sha"
]
},
"group": "draft-round",
"optional": false
},
{
"cu": "crates/cuda-driver/src/draft_commit_qsa.cu",
"ptx": "crates/cuda-driver/src/draft_commit_qsa.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"include_profile": "standard",
"policy": "fast-math, the RESEALED recipe of original_verify_qsa.cu (the Original compiles native_qsa_indexer with --use_fast_math: __powf/cos.approx/sin.approx); draft-round fused QSA commit, bitwise the 108 kernels it replaces",
"entries": [
"draft_commit_qsa_layers"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_draft.rs": [
"DRAFT_COMMIT_QSA.sha"
]
},
"group": "draft-round",
"optional": false
}
]
}