build: pin CUDA toolkit to 13.2.2 (nvcc 13.2.86) matching the host driver (CUDA 13.2); bootstrap reads release from the lock; group closed-kernel smokes
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
4fbc8a1ca0
commit
88482263e3
@@ -1,63 +1,63 @@
|
||||
{
|
||||
"release": "13.0.1",
|
||||
"manifest_url": "https://developer.download.nvidia.com/compute/cuda/redist/redistrib_13.0.1.json",
|
||||
"manifest_sha256": "9c494bc13b34e8fbcad083a6486d185b0906068b821722502edf9d0e3bd14096",
|
||||
"release": "13.2.2",
|
||||
"manifest_url": "https://developer.download.nvidia.com/compute/cuda/redist/redistrib_13.2.2.json",
|
||||
"manifest_sha256": "89d93e6de640d47eb43c63437fe1be426ed21dd58cc79933a29acbca33c6eeb8",
|
||||
"components": [
|
||||
{
|
||||
"component": "cuda_nvcc",
|
||||
"version": "13.0.88",
|
||||
"relative_path": "cuda_nvcc/linux-x86_64/cuda_nvcc-linux-x86_64-13.0.88-archive.tar.xz",
|
||||
"sha256": "48e35be3cfbf4b4fbc16828eaec8a7048ee789403049dc409f7b643d6259cf7a",
|
||||
"md5": "e3e925c644055b9306aec9c9b84d1975",
|
||||
"size": "26657716"
|
||||
"version": "13.2.86",
|
||||
"relative_path": "cuda_nvcc/linux-x86_64/cuda_nvcc-linux-x86_64-13.2.86-archive.tar.xz",
|
||||
"sha256": "b04e5ca5b41f8b5629ce5f16930920e6af437f32c9777fcb67e0361f732b6f43",
|
||||
"md5": "ee35f71437931f205b0ea63678345307",
|
||||
"size": "31085360"
|
||||
},
|
||||
{
|
||||
"component": "cuda_crt",
|
||||
"version": "13.0.88",
|
||||
"relative_path": "cuda_crt/linux-x86_64/cuda_crt-linux-x86_64-13.0.88-archive.tar.xz",
|
||||
"sha256": "5a3279a049ffc1cdb951c44cb95206acfdde9e9ae5e87825fc18d7e4a6878bb0",
|
||||
"md5": "f90b38d702a29668d97e8f94a399ea31",
|
||||
"size": "79800"
|
||||
"version": "13.2.86",
|
||||
"relative_path": "cuda_crt/linux-x86_64/cuda_crt-linux-x86_64-13.2.86-archive.tar.xz",
|
||||
"sha256": "174ad29ab90c9301bd25f32f935345e65f19fbb0f39c15788daae25b0e924892",
|
||||
"md5": "71dbffcd66c21eb2bc9cc486ca7aa5b1",
|
||||
"size": "80220"
|
||||
},
|
||||
{
|
||||
"component": "cuda_cudart",
|
||||
"version": "13.0.88",
|
||||
"relative_path": "cuda_cudart/linux-x86_64/cuda_cudart-linux-x86_64-13.0.88-archive.tar.xz",
|
||||
"sha256": "bc44226f069402ab327bcf9e754660621aa6bc61fb7fc6afe03b794dfaaab658",
|
||||
"md5": "4ec0cce22fdbeeacb4bb406a800e27bc",
|
||||
"size": "1491604"
|
||||
"version": "13.2.86",
|
||||
"relative_path": "cuda_cudart/linux-x86_64/cuda_cudart-linux-x86_64-13.2.86-archive.tar.xz",
|
||||
"sha256": "d6be2b3546fa93e5dec9e3d118d31f9540d0b7af5319ee3c6726f202dfc5b5d4",
|
||||
"md5": "a843084f35cc646dae1084013099696c",
|
||||
"size": "1558760"
|
||||
},
|
||||
{
|
||||
"component": "cuda_cccl",
|
||||
"version": "13.0.85",
|
||||
"relative_path": "cuda_cccl/linux-x86_64/cuda_cccl-linux-x86_64-13.0.85-archive.tar.xz",
|
||||
"sha256": "ed845eae8c1767706b6ee91e40c608a03f6f633551a849b63f7346d32d73ee60",
|
||||
"md5": "c0dd26e0c41dc35bd73435a4799c7508",
|
||||
"size": "991284"
|
||||
"version": "13.2.86",
|
||||
"relative_path": "cuda_cccl/linux-x86_64/cuda_cccl-linux-x86_64-13.2.86-archive.tar.xz",
|
||||
"sha256": "a14f52d5cc8a00a22bccd6c0ab6b1427c7dde7e8251adf321e768a7fc47bb2a5",
|
||||
"md5": "d922a5c129fcc54a0d71467a9bdc0076",
|
||||
"size": "1207024"
|
||||
},
|
||||
{
|
||||
"component": "cuda_culibos",
|
||||
"version": "13.0.85",
|
||||
"relative_path": "cuda_culibos/linux-x86_64/cuda_culibos-linux-x86_64-13.0.85-archive.tar.xz",
|
||||
"sha256": "98fca11f9ab89be61385a67eee686c1ebf76fad9c7269d0cf9090edfcdb8a8ac",
|
||||
"md5": "4b61b30864c47e1292f6d132653140d1",
|
||||
"size": "21412"
|
||||
"version": "13.2.86",
|
||||
"relative_path": "cuda_culibos/linux-x86_64/cuda_culibos-linux-x86_64-13.2.86-archive.tar.xz",
|
||||
"sha256": "2e17d411a8b337768691ce6289a558b43e4baea9187552b2d41c133ebebe09ac",
|
||||
"md5": "09308954cef7c9b60a3a5c041293d3ba",
|
||||
"size": "21476"
|
||||
},
|
||||
{
|
||||
"component": "libnvvm",
|
||||
"version": "13.0.88",
|
||||
"relative_path": "libnvvm/linux-x86_64/libnvvm-linux-x86_64-13.0.88-archive.tar.xz",
|
||||
"sha256": "17ef1665b63670887eeba7d908da5669fa8c66bb73b5b4c1367f49929c086353",
|
||||
"md5": "816927093ffbdc10fddd751f045396b1",
|
||||
"size": "43645408"
|
||||
"version": "13.2.86",
|
||||
"relative_path": "libnvvm/linux-x86_64/libnvvm-linux-x86_64-13.2.86-archive.tar.xz",
|
||||
"sha256": "029fc2a43904a2208a83dfd5834c4c343394d1117279f849863ae94208a88b8a",
|
||||
"md5": "c08fc2b5ea86e42765a244631ef580ca",
|
||||
"size": "45460688"
|
||||
},
|
||||
{
|
||||
"component": "libcublas",
|
||||
"version": "13.0.2.14",
|
||||
"relative_path": "libcublas/linux-x86_64/libcublas-linux-x86_64-13.0.2.14-archive.tar.xz",
|
||||
"sha256": "158c1d7e862282d5218ed82f173ba14679c0f8afa1fe8cb4a3a34a4c0a9a5ff9",
|
||||
"md5": "f17607125167fbb269fdb40b6991b543",
|
||||
"size": "800056524"
|
||||
"version": "13.4.1.3",
|
||||
"relative_path": "libcublas/linux-x86_64/libcublas-linux-x86_64-13.4.1.3-archive.tar.xz",
|
||||
"sha256": "2ae4563b6f49f29c65cd550146a7acc9b12633e11c2c9d748545ca7fc5cfcd74",
|
||||
"md5": "e2e17fef59c7b7c4bec699ea4f41e3ed",
|
||||
"size": "808733088"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -331,6 +331,9 @@ variables); **mock**: isolated CPU harness protocol tests, not GPU smokes.
|
||||
| new-pins | cuda-driver lib | `experimental_gpu_stream_resolve_copies_missed_blocks` | device | (ignore only) | - |
|
||||
| new-pins | cuda-driver lib | `kar_levels_device_decode_matches_cpu_for_levels_2_to_5` | device | (ignore only) | - |
|
||||
| new-pins | cuda-driver lib | `kar_levels_expert_mlp_matches_cpu_within_tolerance` | device | (ignore only) | - |
|
||||
| new-pins | cuda-driver lib | `closed_gpu_poison_fills_the_nan_pattern_and_nothing_else` | device | (ignore only) | - |
|
||||
| new-pins | cuda-driver lib | `closed_gpu_native_flash_attn_matches_the_fp64_specification` | device | (ignore only) | - |
|
||||
| new-pins | cuda-driver lib | `closed_gpu_s_gemv_matches_the_shim_executed_golden` | device | (ignore only) | - |
|
||||
| ple | cuda-driver lib | `original_first_whole_ple_queue_causal_history_status_reset_and_cleanup` | device | LELEKA_STRA169_RUN_PLE_CLOSED_QUEUE=yes | - |
|
||||
| ple | cuda-driver lib | `whole_value_matches_original_40_tiles_and_refuses_closed_shapes` | device | (ignore only) | - |
|
||||
| qsa | cuda-driver lib | `original_first_selected_kv_bytes_attention_reorder_refusals_cleanup` | device | LELEKA_STRA172_RUN_QSA_SELECTED_KV=yes | - |
|
||||
|
||||
@@ -37,7 +37,7 @@ def download(url, dest, expected, limit, exact=None):
|
||||
|
||||
|
||||
def validate_lock(lock, manifest):
|
||||
if lock['release']!='13.0.1' or lock['manifest_url']!=BASE+'redistrib_13.0.1.json':
|
||||
if lock['manifest_url']!=BASE+'redistrib_'+lock['release']+'.json' or not lock['release'].startswith('13.'):
|
||||
raise ValueError('unsupported toolkit release')
|
||||
if len(lock['components'])!=len(COMPONENTS) or {x['component'] for x in lock['components']}!=COMPONENTS:
|
||||
raise ValueError('unexpected CUDA component set')
|
||||
@@ -177,7 +177,7 @@ def main():
|
||||
with tempfile.TemporaryDirectory(prefix='.cuda-stage-',dir=output.parent) as temp:
|
||||
stage=Path(temp);prefix=stage/'toolkit';prefix.mkdir(mode=0o700)
|
||||
manifest=stage/'manifest.json'
|
||||
if lock['manifest_url']!=BASE+'redistrib_13.0.1.json':raise ValueError('unsupported manifest URL')
|
||||
if lock['manifest_url']!=BASE+'redistrib_'+lock['release']+'.json':raise ValueError('unsupported manifest URL')
|
||||
download(lock['manifest_url'],manifest,lock['manifest_sha256'],1024**2)
|
||||
validate_lock(lock,json.loads(manifest.read_text()))
|
||||
for item in lock['components']:
|
||||
|
||||
@@ -11,7 +11,7 @@ installs the PTX and patches the Rust pins.
|
||||
compile_assets.py --preflight # Mac-safe: pins, includes, policy lint, sealed shas
|
||||
compile_assets.py --dry-run --rope-flags preserve # prints the nvcc command lines
|
||||
compile_assets.py --fake-nvcc --out /tmp/x --rope-flags preserve # exercise the pipeline, FAKE PTX
|
||||
compile_assets.py --toolkit $HOME/cuda-13.0.88 --out DIR --rope-flags preserve
|
||||
compile_assets.py --toolkit $HOME/cuda-13.2.86 --out DIR --rope-flags preserve
|
||||
|
||||
Exit status 0 only if every selected asset compiled and validated.
|
||||
"""
|
||||
|
||||
@@ -13,7 +13,7 @@ import sys
|
||||
def main(argv):
|
||||
if "--version" in argv or "-V" in argv:
|
||||
print("nvcc: NVIDIA (R) Cuda compiler driver (FAKE fake-nvcc, not a compiler)")
|
||||
print("Cuda compilation tools, release 13.0, V13.0.88")
|
||||
print("Cuda compilation tools, release 13.0, V13.2.86")
|
||||
return 0
|
||||
out = None
|
||||
source = None
|
||||
|
||||
@@ -5,52 +5,228 @@
|
||||
"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)",
|
||||
"match": ["experimental_gpu_smoke\\.rs::", "kar_decode_levels_gpu_smoke\\.rs::"]},
|
||||
{"name": "transport", "kind": "device", "depends_on": ["driver-basic"],
|
||||
"desc": "owned copies, readback, fixed packing, matrix/upload transports (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::"]},
|
||||
{"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", "match": ["qsa_selected_kv\\.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::"]},
|
||||
{"name": "dispatch", "kind": "device", "depends_on": ["gr", "gdn"],
|
||||
"desc": "qwen_dispatch queued GR completion and GDN whole products", "match": ["qwen_dispatch\\.rs::"]},
|
||||
{"name": "runtime-gr", "kind": "device", "depends_on": ["gr"],
|
||||
"desc": "leleka-runtime GR proofs", "match": ["leleka-runtime/src/qwen_forward/gr[a-z_]*\\.rs::"]},
|
||||
{"name": "runtime-gdn", "kind": "device", "depends_on": ["gdn"],
|
||||
"desc": "leleka-runtime GDN proofs", "match": ["leleka-runtime/src/qwen_forward/gdn_[a-z_]*\\.rs::"]},
|
||||
{"name": "runtime-moe", "kind": "device", "depends_on": ["moe-mmq"],
|
||||
"desc": "leleka-runtime MoE/router/expert proofs",
|
||||
"match": ["leleka-runtime/src/qwen_forward/moe_[a-z_]*\\.rs::", "leleka-runtime/src/qwen_forward/router_scratch_gpu\\.rs::",
|
||||
"leleka-runtime/src/qwen_forward/mtp_expert_[a-z_]*\\.rs::"]},
|
||||
{"name": "runtime-qsa", "kind": "device", "depends_on": ["qsa"],
|
||||
"desc": "leleka-runtime QSA proofs", "match": ["leleka-runtime/src/qwen_forward/qsa_[a-z_]*\\.rs::"]},
|
||||
{"name": "runtime-ple", "kind": "device", "depends_on": ["ple"],
|
||||
"desc": "leleka-runtime PLE proofs", "match": ["leleka-runtime/src/qwen_forward/ple_[a-z_]*\\.rs::"]},
|
||||
{"name": "runtime-mtp", "kind": "device", "depends_on": ["mtp"],
|
||||
"desc": "leleka-runtime MTP proofs", "match": ["leleka-runtime/src/qwen_forward/mtp_[a-z_]*\\.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": []}
|
||||
{
|
||||
"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 (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::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"match": [
|
||||
"qsa_selected_kv\\.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::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "dispatch",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"gr",
|
||||
"gdn"
|
||||
],
|
||||
"desc": "qwen_dispatch queued GR completion and GDN whole products",
|
||||
"match": [
|
||||
"qwen_dispatch\\.rs::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtime-gr",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"gr"
|
||||
],
|
||||
"desc": "leleka-runtime GR proofs",
|
||||
"match": [
|
||||
"leleka-runtime/src/qwen_forward/gr[a-z_]*\\.rs::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtime-gdn",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"gdn"
|
||||
],
|
||||
"desc": "leleka-runtime GDN proofs",
|
||||
"match": [
|
||||
"leleka-runtime/src/qwen_forward/gdn_[a-z_]*\\.rs::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtime-moe",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"moe-mmq"
|
||||
],
|
||||
"desc": "leleka-runtime MoE/router/expert proofs",
|
||||
"match": [
|
||||
"leleka-runtime/src/qwen_forward/moe_[a-z_]*\\.rs::",
|
||||
"leleka-runtime/src/qwen_forward/router_scratch_gpu\\.rs::",
|
||||
"leleka-runtime/src/qwen_forward/mtp_expert_[a-z_]*\\.rs::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtime-qsa",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"qsa"
|
||||
],
|
||||
"desc": "leleka-runtime QSA proofs",
|
||||
"match": [
|
||||
"leleka-runtime/src/qwen_forward/qsa_[a-z_]*\\.rs::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtime-ple",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"ple"
|
||||
],
|
||||
"desc": "leleka-runtime PLE proofs",
|
||||
"match": [
|
||||
"leleka-runtime/src/qwen_forward/ple_[a-z_]*\\.rs::"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "runtime-mtp",
|
||||
"kind": "device",
|
||||
"depends_on": [
|
||||
"mtp"
|
||||
],
|
||||
"desc": "leleka-runtime MTP proofs",
|
||||
"match": [
|
||||
"leleka-runtime/src/qwen_forward/mtp_[a-z_]*\\.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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -342,7 +342,7 @@ def mini_repo(root: Path, cu_pin=True):
|
||||
src.mkdir(parents=True)
|
||||
(root / "docs").mkdir()
|
||||
(root / "deploy").mkdir()
|
||||
(root / "deploy/cuda-toolkit.lock.json").write_text(json.dumps({"components": [{"component": "cuda_nvcc", "version": "13.0.88"}]}))
|
||||
(root / "deploy/cuda-toolkit.lock.json").write_text(json.dumps({"components": [{"component": "cuda_nvcc", "version": "13.2.86"}]}))
|
||||
cu = 'extern "C" __global__ void leleka_a(int x){}\nextern "C" __global__ void leleka_b(int x){}\n'
|
||||
(src / "a.cu").write_text(cu)
|
||||
(src / "b.cu").write_text(cu.replace("leleka_a", "leleka_c").replace("leleka_b", "leleka_d"))
|
||||
@@ -933,7 +933,7 @@ class RemoteSyncScript(unittest.TestCase):
|
||||
class FakeToolkitThroughTheRealPath(unittest.TestCase):
|
||||
"""--toolkit: provenance must equal the lock; the version check runs; a mismatching nvcc is refused."""
|
||||
|
||||
def make_tk(self, root: Path, lock_override=None, version="13.0.88"):
|
||||
def make_tk(self, root: Path, lock_override=None, version="13.2.86"):
|
||||
tk = root / "tk"
|
||||
(tk / "bin").mkdir(parents=True)
|
||||
nvcc = tk / "bin" / "nvcc"
|
||||
@@ -961,7 +961,7 @@ class FakeToolkitThroughTheRealPath(unittest.TestCase):
|
||||
code, _, err = run_quiet(C.main, ["--toolkit", str(tk), "--out", str(Path(d) / "o"), "--rope-flags", "preserve", "--only", "device_poison"])
|
||||
self.assertEqual(code, 2)
|
||||
self.assertIn("13.2.2", err)
|
||||
self.assertIn("13.0.88", err)
|
||||
self.assertIn("13.2.86", err)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user