Files
leleka/scripts/gpu-bringup/smoke-groups.json
T
Pavlo Ratushnyi 8934a1616a STRA-338 S22: smoke inventory follows the moved tests: helpers split into child modules stay visible, every smoke has a declared group, packages of engine-core, model-format and deploy are named, the table is regenerated
SmokeInventory failed three tests at a4ceeab69 and 8890db316.

test_gates_values_and_classes_on_known_tests (caused by the S12c/S17 splits, seen after S22): the
fixture helper of actual_expert215_native_resident_gu_and_same_source_down_diagnostic moved from
mmq_native_resident_gpu.rs into mmq_native_resident_gpu/digest_fn.rs, and only `read` there opens
files. The scanner looked for file-reading helpers in the test's own file and one call deep, so a
test that reads a private fixture was classified device instead of assets. The rule is now the
module tree (x.rs with x/*.rs, or x/y.rs with x.rs) and the helper search is transitive. The
test expectation is unchanged: the smoke needs LELEKA_REAL_GU_DIR and is an assets test. Checked
against the merge base with main: every name that exists in both has the same class, gates and
needs.

test_every_smoke_lands_in_a_declared_group_and_dependencies_precede (51 smokes, 45 of them
already ungrouped on main): smoke-groups.json declares them. Unlisted cuda-driver smokes go to
transport (src/tests.rs and device_slab/tests.rs, which were lib.rs inline tests before S17,
mapped_file_dma_stress_gpu, native_head), qsa (late selection, mapped journal), mtp (scalar short
path), dispatch (qwen_dispatch/ children after the split) and runtime-moe (expert tier
residency). New groups: prefill-stage (depends on gr, gdn), pcie-copy, serve-probes (depends on
seal-loads) and cpu-probes, kind cpu: benchmarks, scale simulations and timing probes of
native-cpu-expert, engine-core and engine-qwen35-cuda that need no GPU and stay out of the default
device run. LELEKA_PLE_PROBE_ARCHIVE, LELEKA_PLE_PROBE_ROWS and LELEKA_SYNTH_KAR are asset
variables now, so the smokes that read the 55 GB archive are no longer classed as device.
CRATE_PACKAGE names leleka-engine-core, leleka-model-format and leleka-deploy (the plan used the
directory name as package).

test_doc_table_is_current: docs/gpu-bringup.md regenerated with smoke_inventory.py --update-doc
under WSL; the section on group order mentions the new groups and the cpu kind.
2026-11-06 12:27:34 +01:00

289 lines
8.7 KiB
JSON

{
"schema": 1,
"note": "Groups in dependency order (a group may only depend on groups declared above it). Tests are assigned by the first matching regex against '<repo-relative file>::<test fn>'. Tests whose body needs model/pack/oracle paths go to asset_group automatically, CPU-mock protocol tests to mock_group; neither runs by default.",
"asset_group": "model-assets",
"mock_group": "mock-only",
"fallback_group": "misc-device",
"groups": [
{
"name": "driver-basic",
"kind": "device",
"depends_on": [],
"desc": "libcuda loads, device 0 is usable, fixed vector/matvec kernels, numeric refusals (LELEKA_CUDA_REAL_GPU=1)",
"match": [
"crates/cuda-driver/tests/gpu_driver\\.rs::",
"crates/cuda-driver/tests/q5_gpu\\.rs::installed_driver_q5_numeric_refusals",
"crates/cuda-driver/tests/q6_gpu\\.rs::installed_driver_q6_numeric_refusals"
]
},
{
"name": "seal-loads",
"kind": "device",
"depends_on": [
"driver-basic"
],
"desc": "sealed window PTX load on the card and export every named entry; MTP RT bank placement (needs sealing, step c/d)",
"match": [
"original_verify_window_gpu\\.rs::",
"original_mtp_bank_gpu\\.rs::"
]
},
{
"name": "new-pins",
"kind": "device",
"depends_on": [
"driver-basic"
],
"desc": "experimental KV/keyless/cvec kernels and KAR level-decode vs CPU references (fail closed until their pins are sealed); closed native_flash_attn / s_gemv_legacy / poison programs",
"match": [
"experimental_gpu_smoke\\.rs::",
"kar_decode_levels_gpu_smoke\\.rs::",
"closed_kernels_gpu_smoke\\.rs::"
]
},
{
"name": "transport",
"kind": "device",
"depends_on": [
"driver-basic"
],
"desc": "owned copies, readback, fixed packing, matrix/upload transports, device slab views, mapped-table aliases (synthetic data)",
"match": [
"async_owned_copy_gpu\\.rs::",
"owned_gate_up_upload_gpu\\.rs::",
"full_matrix_transport_gpu\\.rs::",
"moe_down_pack_gpu\\.rs::",
"prepared_routed_gate_up_gpu\\.rs::",
"ple_key_bulk_gpu\\.rs::",
"crates/cuda-driver/src/lib\\.rs::",
"crates/cuda-driver/src/mmq\\.rs::",
"crates/cuda-driver/src/tests\\.rs::",
"device_slab/tests\\.rs::",
"mapped_file_dma_stress_gpu\\.rs::",
"native_head\\.rs::"
]
},
{
"name": "gr",
"kind": "device",
"depends_on": [
"transport"
],
"desc": "gated-recurrence (GR) driver proofs: read guard, batch injection, micro-batch read",
"match": [
"gr_read_guard\\.rs::",
"gr_batch_inject_workspace_gpu\\.rs::",
"gr_batch_read\\.rs::"
]
},
{
"name": "gdn",
"kind": "device",
"depends_on": [
"transport"
],
"desc": "GDN driver proofs: fused T1, prefill batch, closed row queue",
"match": [
"gdn_fused_t1_gpu\\.rs::",
"gdn_native_batch_gpu\\.rs::",
"gdn_closed_queue_gpu\\.rs::"
]
},
{
"name": "moe-mmq",
"kind": "device",
"depends_on": [
"transport"
],
"desc": "MoE/MMQ driver proofs: grouped projections, routed queues/workspaces, prefill batch, greedy head, shared tail",
"match": [
"moe_prefill_batch_gpu\\.rs::",
"moe_group_projection\\.rs::",
"grouped_down_columns_gpu\\.rs::",
"grouped_gu21_gu23_gpu\\.rs::",
"grouped_gu21_gu23_nc4_gpu\\.rs::",
"routed_[a-z_]*\\.rs::",
"mmq_[a-z_]*gpu\\.rs::",
"head_greedy_gpu\\.rs::",
"qwen_shared_tail_gpu\\.rs::"
]
},
{
"name": "qsa",
"kind": "device",
"depends_on": [
"transport"
],
"desc": "QSA selected-KV proof; late-position selection/top-k, mapped journal; INT8 KV append bit-exactness and KV streaming (resolve, miss copy, staging) vs fully resident",
"match": [
"qsa_selected_kv\\.rs::",
"kv_stream_gpu\\.rs::",
"qsa_late_gpu\\.rs::",
"qsa_mapped_journal\\.rs::"
]
},
{
"name": "ple",
"kind": "device",
"depends_on": [
"transport"
],
"desc": "PLE closed queue and whole-value proofs",
"match": [
"ple_closed_queue_gpu\\.rs::",
"ple_value_full_gpu\\.rs::"
]
},
{
"name": "mtp",
"kind": "device",
"depends_on": [
"transport"
],
"desc": "MTP dense KV ring and input-prefix proofs",
"match": [
"mtp_dense_kv_ring_gpu\\.rs::",
"mtp_input_workspace_gpu\\.rs::",
"mtp_original_scalar_short_gpu\\.rs::"
]
},
{
"name": "dispatch",
"kind": "device",
"depends_on": [
"gr",
"gdn"
],
"desc": "qwen_dispatch queued GR completion and GDN whole products (installed-driver proofs in qwen_dispatch/)",
"match": [
"qwen_dispatch(/[a-z_]+)?\\.rs::"
]
},
{
"name": "runtime-gr",
"kind": "device",
"depends_on": [
"gr"
],
"desc": "leleka-engine-qwen35-cuda GR proofs",
"match": [
"engine-qwen35-cuda/src/qwen_forward/gr[a-z_]*\\.rs::"
]
},
{
"name": "runtime-gdn",
"kind": "device",
"depends_on": [
"gdn"
],
"desc": "leleka-engine-qwen35-cuda GDN proofs",
"match": [
"engine-qwen35-cuda/src/qwen_forward/gdn_[a-z_]*\\.rs::"
]
},
{
"name": "runtime-moe",
"kind": "device",
"depends_on": [
"moe-mmq"
],
"desc": "leleka-engine-qwen35-cuda MoE/router/expert proofs, expert tier residency",
"match": [
"engine-qwen35-cuda/src/qwen_forward/moe_[a-z_]*\\.rs::",
"engine-qwen35-cuda/src/qwen_forward/router_scratch_gpu\\.rs::",
"engine-qwen35-cuda/src/qwen_forward/mtp_expert_[a-z_]*\\.rs::",
"engine-qwen35-cuda/src/qwen_forward/original_serve_residency_gpu\\.rs::"
]
},
{
"name": "runtime-qsa",
"kind": "device",
"depends_on": [
"qsa"
],
"desc": "leleka-engine-qwen35-cuda QSA proofs",
"match": [
"engine-qwen35-cuda/src/qwen_forward/qsa_[a-z_]*\\.rs::"
]
},
{
"name": "runtime-ple",
"kind": "device",
"depends_on": [
"ple"
],
"desc": "leleka-engine-qwen35-cuda PLE proofs",
"match": [
"engine-qwen35-cuda/src/qwen_forward/ple_[a-z_]*\\.rs::"
]
},
{
"name": "runtime-mtp",
"kind": "device",
"depends_on": [
"mtp"
],
"desc": "leleka-engine-qwen35-cuda MTP proofs",
"match": [
"engine-qwen35-cuda/src/qwen_forward/mtp_[a-z_]*\\.rs::"
]
},
{
"name": "prefill-stage",
"kind": "device",
"depends_on": [
"gr",
"gdn"
],
"desc": "prefill stage kernels (GDN, GR, staged input) bit-for-bit against the originals; deferred status (LELEKA_PREFILL_STAGE_GPU=yes)",
"match": [
"prefill_stage[a-z_]*_gpu\\.rs::",
"deferred_status_gpu\\.rs::"
]
},
{
"name": "pcie-copy",
"kind": "device",
"depends_on": [
"driver-basic"
],
"desc": "host-to-device copy paths (production, raw loop, raw batch; pageable, page-locked, mixed) and a bandwidth measurement; the page-locked/mixed raw-batch cases fail with error 700 on the RTX 3080 laptop under Windows",
"match": [
"original_pcie_copy_gpu_smoke\\.rs::"
]
},
{
"name": "serve-probes",
"kind": "device",
"depends_on": [
"seal-loads"
],
"desc": "GPU bring-up probes of the Original serve path without a model: arena, executor, preflight (sealed asset report, device limits, lazy constructors, prefill arena, synthetic MTP owner and verifier)",
"match": [
"crates/cuda-driver/tests/original_(arena|executor|serve_preflight)_probe\\.rs::"
]
},
{
"name": "cpu-probes",
"kind": "cpu",
"depends_on": [],
"desc": "CPU-only #[ignore] benchmarks, scale simulations and timing probes (no GPU); excluded from the default device run, select with --groups cpu-probes",
"match": [
"crates/native-cpu-expert/",
"crates/engine-core/",
"kar_ple_cache\\.rs::scan_against_queue",
"original_serve_residency/tests\\.rs::"
]
},
{
"name": "misc-device",
"kind": "device",
"depends_on": [
"driver-basic"
],
"desc": "device-only smokes that match no other group (review the list before trusting them)",
"match": []
}
]
}