scripts/dev/path_to_modules.py moves each module declared with #[path] to the file the compiler looks for without the attribute, moves the children of a path-loaded file with it (such a file owns its directory like mod.rs) and rewrites include_str!/include_bytes! paths. Only the two declarations that point into the crate's tests/ directory keep their attribute. No code changes: parent files lose attribute lines. Gates that quote source paths follow: smoke-groups.json (directory patterns for runtime-gr/gdn/moe/qsa/ple/mtp; 7 real-model smokes now classify as model-assets, 3 fallback smokes now sit in their runtime group), docs/gpu-bringup.md table, docs and the qsa oracle pin path. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
297 lines
9.2 KiB
JSON
297 lines
9.2 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::",
|
|
"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::",
|
|
"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::",
|
|
"engine-qwen35-cuda/src/qwen_forward/moe_[a-z_]*/[a-z_/]*\\.rs::",
|
|
"engine-qwen35-cuda/src/qwen_forward/mtp_experts/[a-z_/]*\\.rs::",
|
|
"engine-qwen35-cuda/src/qwen_forward/router_scratch/[a-z_/]*\\.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::",
|
|
"engine-qwen35-cuda/src/qwen_forward/qsa_[a-z_]*/[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::",
|
|
"engine-qwen35-cuda/src/qwen_forward/input/ple_transport/[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::",
|
|
"engine-qwen35-cuda/src/qwen_forward/mtp_[a-z_]*/[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": []
|
|
}
|
|
]
|
|
}
|