Files
Pavlo Ratushnyi a4afb2a182 gpu-bringup: name the include dirs of an upstream checkout strata-41cf05a0/ instead of the removed engine/strata (STRA-407)
The recipe data (sm86-recipes.json, extra-seal-plan.json, rope-regeneration.json), STANDARD_INCLUDES, the sm86 include list and the one test that asserts them
now spell the include directories as strata-41cf05a0/{include,src,third_party/ggml}; prose that named engine/strata/CMakeLists.txt or the retired
build-original-verify-ptx.sh now says Strata 41cf05a0 or the precise flags. UPSTREAM.md records where to place a restored checkout.
No pin covers these files; behaviour of the tools is unchanged (the directories did not exist before either).
2026-11-23 22:29:08 +01:00

1215 lines
40 KiB
JSON

{
"schema": 1,
"note": "Assets that are unsealed placeholders in crates/cuda-driver/src but are covered by none of crates/cuda-driver/seal-plans/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 (crates/cuda-driver/seal-plans/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 the CMake of Strata 41cf05a0: 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 earlier 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/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 earlier 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 earlier 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/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 earlier 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/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 earlier 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/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 earlier 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/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 Strata 41cf05a0, 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,
"repin_expect": {
"crates/cuda-driver/src/original_verify/chain.rs": 1
}
},
{
"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",
"-Istrata-41cf05a0/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/sm120_down_sub16.cu",
"ptx": "crates/cuda-driver/src/sm120_down_sub16.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false",
"-Istrata-41cf05a0/src/kernels/cuda"
],
"include_profile": "standard",
"policy": "precise (--fmad=true --ftz=false: the recipe of original_verify_window_moe_experts.cu; claude/ffn-down-sub16: LELEKA_SM120_DOWN_SUB16, upstream native_down_multi_kernel<TD, SUB_DOWN>, bitwise window_moe_down_<T>)",
"entries": [
"sm120_moe_down_20",
"sm120_moe_down_42"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"crates/cuda-driver/src/original_verify/down.rs": [
"DOWN_SUB16.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
},
{
"cu": "crates/cuda-driver/src/mtp_original_check_batch.cu",
"ptx": "crates/cuda-driver/src/mtp_original_check_batch.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false"
],
"policy": "precise (the recipe that built the single-check kernels this one batches; the predicate is the same abs + setp.ne inf)",
"entries": [
"mtp_original_check_batch"
],
"encoding": "include_bytes",
"group": "draft-check-batch",
"optional": false
},
{
"cu": "crates/cuda-driver/src/gdn_prefill_tc.cu",
"ptx": "crates/cuda-driver/src/gdn_prefill_tc.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 prefill_stage; EXPERIMENTAL and LOSSY by design, LELEKA_PREFILL_GDN_TC: the prompt GDN recurrence as a chunked scan on f16x3 tensor-core products, a port of Strata upstream gdn_tc.cuh, not bitwise equal to leleka_prefill_gdn_rec_kh; the lossy gate of spec node quality-gate.md decides)",
"entries": [
"leleka_gdn_tc_prep",
"leleka_gdn_tc_scan_t1",
"leleka_gdn_tc_scan_t2"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"gdn_prefill_tc.rs": [
"PIN.source_sha256",
"PIN.ptx_sha256"
]
},
"group": "gdn-prefill-tc",
"optional": false
},
{
"cu": "crates/cuda-driver/src/original_verify_window_qsa_kv_rows.cu",
"ptx": "crates/cuda-driver/src/original_verify_window_qsa_kv_rows.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false"
],
"include_profile": "standard",
"policy": "precise, the recipe of mtp_original_kv.cu (the Original builds kv_q8.cu with default flags); verify-qsa-prelude K/V append rows, bitwise the n mtp_original_append launches it replaces",
"entries": [
"leleka_verify_qsa_kv_rows"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"crates/cuda-driver/src/original_verify/qsa/fused_prelude.rs": [
"KV_ROWS.sha"
]
},
"group": "verify-qsa-prelude",
"optional": false
},
{
"cu": "crates/cuda-driver/src/original_verify_window_qsa_index_rows.cu",
"ptx": "crates/cuda-driver/src/original_verify_window_qsa_index_rows.ptx",
"flags": [
"--ptx",
"-std=c++17",
"-O3",
"-arch=sm_120",
"--fmad=true",
"--use_fast_math"
],
"include_profile": "standard",
"policy": "fast-math, the recipe of original_verify_qsa.cu and draft_commit_qsa.cu (the Original compiles native_qsa_indexer with --use_fast_math); verify-qsa-prelude tail snapshot + indexer append rows, bitwise the 1 + n launches it replaces",
"entries": [
"leleka_verify_qsa_index_rows"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"crates/cuda-driver/src/original_verify/qsa/fused_prelude.rs": [
"INDEX_ROWS.sha"
]
},
"group": "verify-qsa-prelude",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_gdn_fused.cu",
"ptx": "crates/cuda-driver/src/sm120_gdn_fused.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; verify-gdn-fused-kernels: the GDN layer's conv, a/b gates and step in one launch, and upstream's unrolled a/b projection; plain C++ expressions on purpose, ptxas contracts plain mul + add/sub, so the PTX shapes are the Original's)",
"entries": [
"leleka_verify_gdn_fused_step",
"leleka_gdn_ab_unrolled_t1",
"leleka_gdn_ab_unrolled_t2",
"leleka_gdn_ab_unrolled_t3",
"leleka_gdn_ab_unrolled_t4",
"leleka_gdn_ab_unrolled_t5",
"leleka_gdn_ab_unrolled_t6",
"leleka_gdn_ab_unrolled_t8"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_gdn_fused.rs": [
"GDN_FUSED.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_combine_vec4.cu",
"ptx": "crates/cuda-driver/src/sm120_combine_vec4.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; s11-s9-combine-headmix: upstream combine_k10_vec4, the first product rounded then one explicit fmaf per expert in order then the shared add, as the sealed mtp_full_combine does per column)",
"entries": [
"leleka_verify_combine_k10_vec4"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"original_verify_window_combine_head.rs": [
"COMBINE_VEC4.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_wait_copy_rows.cu",
"ptx": "crates/cuda-driver/src/sm120_wait_copy_rows.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; claude/ffn-wait-m-rows: upstream copy_rows_from_mapped_after, thread 0 of each row block polls flag M then the rows of chain_copy_rows_from_mapped_kernel are copied; a pure copy, bitwise by construction)",
"entries": [
"leleka_verify_wait_copy_rows"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"crates/cuda-driver/src/original_verify/window_ops/wait_rows.rs": [
"WAIT_COPY_ROWS.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_combine_hits.cu",
"ptx": "crates/cuda-driver/src/sm120_combine_hits.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; claude/ffn-hits-combine: upstream combine_k10_vec4_hits = add_hits_kernel's `part + hit` on the listed rows, then the arithmetic of sm120_combine_vec4: first product rounded, nine explicit fmaf in expert order, the shared add)",
"entries": [
"leleka_verify_combine_k10_vec4_hits"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"plan_hits_combine.rs": [
"HITS_COMBINE.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_gr_down_fused.cu",
"ptx": "crates/cuda-driver/src/sm120_gr_down_fused.ptx",
"flags": [
"-ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--ftz=false"
],
"policy": "precise (--fmad=true --ftz=false: the recipe of chain_window.cu, whose chain_gr_split + chain_gr_down_t2w8_nb4 this replaces bit for bit; claude/u5a-gr-down-fused: LELEKA_SM120_GR_DOWN_FUSED; plain C++ expressions on purpose, the contraction of mul + add is decided from the expression). Self-contained: it declares the 112-byte FusedGrArgs of the sealed chain kernels itself, so it takes no include profile",
"entries": [
"leleka_gr_down_fused_t2w8"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"crates/cuda-driver/src/original_verify/gr/fused_down.rs": [
"GR_DOWN_FUSED.sha"
]
},
"group": "sm120-decode",
"optional": false
},
{
"cu": "crates/cuda-driver/src/sm120_head_chain.cu",
"ptx": "crates/cuda-driver/src/sm120_head_chain.ptx",
"flags": [
"--ptx",
"-O3",
"-arch=sm_120",
"-std=c++17",
"--fmad=true",
"--use_fast_math"
],
"policy": "fast-math (--fmad=true --use_fast_math: the flags mtp_original_full_gr_norm.cu and mtp_original_full_gr_post.cu were resealed with, extra-seal-plan group reseal-fastmath, because the batched kernels are their bodies and expf, rsqrtf and the divisions must lower to the same approximate PTX; claude/tail-fusion: LELEKA_SM120_HEAD_CHAIN_BATCH, the residual write, the head norm and the pre-final mix of all window rows as grid.y = row). Self-contained: cuda_runtime.h only, so it takes no include profile",
"entries": [
"leleka_verify_final_write_rows",
"leleka_verify_head_norm_rows",
"leleka_verify_head_pre_final_rows"
],
"encoding": "concat_include_str",
"rust_fields_to_fill": {
"crates/cuda-driver/src/original_verify/gr/head_chain.rs": [
"HEAD_CHAIN.sha"
]
},
"group": "sm120-decode",
"optional": false
}
]
}