diff --git a/benchmarks/fixtures/responses/commentary-tool-prompt.json b/benchmarks/fixtures/responses/commentary-tool-prompt.json index 4ddefaf9..fab4f752 100644 --- a/benchmarks/fixtures/responses/commentary-tool-prompt.json +++ b/benchmarks/fixtures/responses/commentary-tool-prompt.json @@ -1,5 +1,5 @@ { - "provenance": "Pinned engine/strata/serve/chat_template.jinja rendered with Jinja2 3.1.6; sanitized fixture", + "provenance": "Pinned third_party/strata/serve/chat_template.jinja rendered with Jinja2 3.1.6; sanitized fixture", "request": { "model": "strata-local", "reasoning": { diff --git a/control-plane/src/cli/model_text.rs b/control-plane/src/cli/model_text.rs index 45085dbc..d0215ea2 100644 --- a/control-plane/src/cli/model_text.rs +++ b/control-plane/src/cli/model_text.rs @@ -35,7 +35,7 @@ fn single_commands(action: &str, rest: &[String]) -> Outcome { fn batch_commands(action: &str, rest: &[String]) -> Outcome { match (action, rest) { - // Batch forms for the differential harness (scripts/offline/diff_tokenizer.py): one JSON value per line. + // Batch forms for the differential harness: one JSON value per line. ("pre-tokenize-batch", []) => Some(pre_tokenize_batch()), ("tokenize-batch", [path, flags_rest @ ..]) if flags_rest.iter().all(|flag| flag == "--special") => { Some(tokenize_batch(path, !flags_rest.is_empty())) @@ -122,7 +122,7 @@ fn request_kwargs(request: &Json) -> Vec<(&str, Json)> { } /// JSON lines {"messages": [...], "tools": [...]|null, "add_generation_prompt": true, "kwargs": {...}} -> -/// {"ok": ""} or {"error": ""}: the pinned chat template, for scripts/offline/diff_chat_template.py. +/// {"ok": ""} or {"error": ""}: the pinned chat template. fn render_chat() -> Result<(), BoxError> { for line in std::io::stdin().lines() { let request: Json = serde_json::from_str(&line?)?; diff --git a/control-plane/src/native_pack/tests.rs b/control-plane/src/native_pack/tests.rs index 4653f606..da87b86b 100644 --- a/control-plane/src/native_pack/tests.rs +++ b/control-plane/src/native_pack/tests.rs @@ -65,7 +65,7 @@ fn the_native_ple_key_encodings_are_the_originals() { } /// Numpy (`astype(float16)`) and gguf-py (`BF16.quantize_blocks`) answers for 4096 f32 bit patterns, from -/// `scripts/offline/gen_goldens.py`. The packer's F32 -> F16 / BF16 helpers must match bit for bit. +/// the Original's offline tooling (Strata 41cf05a0). The packer's F32 -> F16 / BF16 helpers must match bit for bit. #[test] fn f16_and_bf16_rounding_match_numpy_and_gguf_py() { let vectors = include_bytes!("../../tests/fixtures/offline/f16_bf16_vectors.golden"); diff --git a/control-plane/src/server_api.rs b/control-plane/src/server_api.rs index cb74c61c..69ef42ca 100644 --- a/control-plane/src/server_api.rs +++ b/control-plane/src/server_api.rs @@ -2,7 +2,7 @@ //! that is not an inference API: `GET /props`, `GET /slots`, `GET /v1/status`, `GET /api/health`, //! `GET|POST /settings`, `POST /load`, `POST /unload`, `POST /v1/load`, `POST /v1/unload`, CORS and //! the own-page guard. Behaviour is checked against the real Python handlers in -//! `tests/http_surface.rs` (fixtures from `tests/golden/gen_goldens.py http`). +//! `tests/http_surface.rs` (fixtures recorded from the Original's Python server). //! //! One engine at a time: `total_slots` is 1 and `/slots` lists one slot while the engine is loaded. diff --git a/control-plane/src/wire.rs b/control-plane/src/wire.rs index 2991fb02..f67ea2d7 100644 --- a/control-plane/src/wire.rs +++ b/control-plane/src/wire.rs @@ -184,7 +184,7 @@ mod tests { } /// Every GEN/GENI line equals what the Original's `StrataEngine.generate` writes to the pipe - /// (fixture from `tests/golden/gen_goldens.py`, which runs that real code with a fake pipe). + /// (fixture recorded by running that real code with a fake pipe). #[test] fn gen_lines_equal_the_python_servers_for_every_sampling_key() { let fixture: serde_json::Value = diff --git a/control-plane/tests/chat_template_oracle.rs b/control-plane/tests/chat_template_oracle.rs index e8dac84c..eaec4d25 100644 --- a/control-plane/tests/chat_template_oracle.rs +++ b/control-plane/tests/chat_template_oracle.rs @@ -1,10 +1,9 @@ //! The native Jinja renderer against the Python server's `ChatTemplate` (jinja2) on generated conversations. //! -//! `tests/fixtures/offline/chat_template_oracle.json` comes from `scripts/offline/gen_goldens.py chat_template_oracle`: +//! `tests/fixtures/offline/chat_template_oracle.json` was recorded from the Original's Python code (Strata 41cf05a0): //! 90 renders (every role incl. developer and tool, list content with image/video parts, assistant `tool_calls` //! with mapping arguments, tools, `enable_thinking` / `reasoning_effort` / `preserve_thinking`, no generation //! prompt) and 25 conversations the template refuses, with the exact `raise_exception` message. -//! `scripts/offline/diff_chat_template.py` runs the same generator live over thousands of cases. use leleka_control_plane::prompt::{ChatInput, Json, pinned}; use serde::Deserialize; diff --git a/control-plane/tests/dequant_oracle.rs b/control-plane/tests/dequant_oracle.rs index bbfe4979..3234714b 100644 --- a/control-plane/tests/dequant_oracle.rs +++ b/control-plane/tests/dequant_oracle.rs @@ -1,8 +1,8 @@ //! Dequantization versus the pinned gguf-py (`quants.dequantize`, llama.cpp 3cf03257) and `tools/iq_fixture.py`. //! //! `tests/fixtures/offline/dequant_oracle.json` holds one seeded 256-value row of each of 23 block types and the -//! oracle's float32 bits (`scripts/offline/gen_goldens.py dequant_oracle`; `scripts/offline/diff_dequant.py` runs -//! 32 rows x 3 seeds live). The production visitor (`gguf_f32_stream::visit`: independent Rust decoders where they +//! oracle's float32 bits (recorded from the Original's Python code, Strata 41cf05a0). The production +//! visitor (`gguf_f32_stream::visit`: independent Rust decoders where they //! exist, the pinned ggml C bridge otherwise) must reproduce every float bit for bit. Q8_K has no gguf-py //! dequantizer; its reference is `d * qs`. use leleka_control_plane::{gguf, gguf_f32_stream}; diff --git a/control-plane/tests/gguf_header_differential.rs b/control-plane/tests/gguf_header_differential.rs index ad63fb8a..c7677c0b 100644 --- a/control-plane/tests/gguf_header_differential.rs +++ b/control-plane/tests/gguf_header_differential.rs @@ -1,10 +1,9 @@ //! GGUF header reader versus `Strata 41cf05a0, tools/gguf_reader.py`. //! -//! `tests/fixtures/offline/gguf_headers.json` is generated by `scripts/offline/gen_goldens.py` from the unmodified +//! `tests/fixtures/offline/gguf_headers.json` was recorded offline from the unmodified //! Python reader: random GGUF v3 headers (all 13 metadata value types, arrays, unicode, alignment, split keys, //! 1-4 dimensional tensors of every block geometry) with the metadata and tensor directory it parses from each, and -//! its `BLOCK_GEOMETRY` table. The live differential over thousands of files is -//! `scripts/offline/diff_gguf_header.py`. +//! its `BLOCK_GEOMETRY` table. use leleka_control_plane::{gguf, gguf_json}; use serde_json::Value; use std::{fs, path::PathBuf}; diff --git a/control-plane/tests/http_surface.rs b/control-plane/tests/http_surface.rs index c2bc0d50..9f7b24e4 100644 --- a/control-plane/tests/http_surface.rs +++ b/control-plane/tests/http_surface.rs @@ -2,7 +2,7 @@ //! The operational HTTP surface (`/props`, `/slots`, `/settings`, `/load`, `/unload`, `/v1/load`, //! `/v1/unload`, `/v1/status`, `/api/health`, CORS, own-page guard) against the real Python //! handlers: every scenario in `tests/fixtures/golden/http_surface.json` was recorded from -//! `Strata 41cf05a0, serve/server.py` by `tests/golden/gen_goldens.py http`, and is replayed here +//! `Strata 41cf05a0, serve/server.py`, and is replayed here //! against the Rust router with a real worker supervisor and the mock engine. //! //! Deliberate differences, skipped in the comparison: the chat template text, the build/version diff --git a/control-plane/tests/reasoning_budget_oracle.rs b/control-plane/tests/reasoning_budget_oracle.rs index 5aa0f6c1..9ac09320 100644 --- a/control-plane/tests/reasoning_budget_oracle.rs +++ b/control-plane/tests/reasoning_budget_oracle.rs @@ -1,7 +1,7 @@ //! The reasoning-budget logic against the Python server's `Service.reasoning_budget` and `Service.run` (#123). //! -//! `tests/fixtures/offline/reasoning_budget_oracle.json` comes from `scripts/offline/gen_goldens.py -//! reasoning_budget_oracle`: 247 budget lookups (request and configured values of every JSON type, with the message +//! `tests/fixtures/offline/reasoning_budget_oracle.json` was recorded from the Original's Python +//! code (Strata 41cf05a0): 247 budget lookups (request and configured values of every JSON type, with the message //! of the 400) and 400 generations of the unmodified `Service.run` over a scripted engine and a byte-level toy //! vocabulary, recording each engine call (prompt, max_new), the finish reason, the completion tokens and the text //! the output parser was fed. diff --git a/crates/context/src/setup_policy.rs b/crates/context/src/setup_policy.rs index 84ee2294..c25ee13d 100644 --- a/crates/context/src/setup_policy.rs +++ b/crates/context/src/setup_policy.rs @@ -4,7 +4,7 @@ //! (`derived_factor`, `setup_resolve_rope`); this module holds the rest: which contexts the RAM allows //! ([`ram_ctx`], [`ctx_ram_need`]), how many GiB of experts to keep resident ([`resident_budget_gib`]) and the //! low-RAM mode's arithmetic (`low_ram_*`). Every function is checked against `import setup` over a grid by -//! `tests/setup_policy_oracle.rs` (golden from `scripts/offline/gen_goldens.py setup_policy`). +//! `tests/setup_policy_oracle.rs` (golden recorded from the Original's `setup.py`). //! //! Floating point is IEEE double on both sides, evaluated in the same order; Python's `round()` is round-half-even //! (`f64::round_ties_even`). diff --git a/crates/context/tests/rope_plan_golden.rs b/crates/context/tests/rope_plan_golden.rs index a4ff993b..4b899b45 100644 --- a/crates/context/tests/rope_plan_golden.rs +++ b/crates/context/tests/rope_plan_golden.rs @@ -1,5 +1,5 @@ //! Golden tests for `rope_scaling` and `memory_plan` against fixtures produced by the ORIGINAL's host code -//! (see `rope_plan_golden/gen_rope_golden.sh` and `gen_plan_golden.sh`; clang++ on macOS, arm64). +//! (clang++ on macOS, arm64). //! //! Rope: the C++ side links `rope_scaling.hpp` unmodified and the two `build_rope_table` definitions extracted //! verbatim from `rope.cu`, compiled `-O2 -ffp-contract=off`. Tables are checked bit-for-bit through FNV-1a 64 diff --git a/crates/context/tests/rope_plan_golden/memory_plan_golden.json b/crates/context/tests/rope_plan_golden/memory_plan_golden.json index e9b45727..c79f4b74 100644 --- a/crates/context/tests/rope_plan_golden/memory_plan_golden.json +++ b/crates/context/tests/rope_plan_golden/memory_plan_golden.json @@ -1,5 +1,5 @@ { - "generator": "strata-plan built from engine/strata/src/plan/plan_main.cpp (unmodified) + extracted layer.cpp kv_pool_bytes", + "generator": "strata-plan built from Strata 41cf05a0, src/plan/plan_main.cpp (unmodified) + extracted layer.cpp kv_pool_bytes", "state_bytes_default": 117669888, "cli": [ { diff --git a/crates/context/tests/rope_plan_golden/rope_golden.json b/crates/context/tests/rope_plan_golden/rope_golden.json index 101eecf6..cb92d7b4 100644 --- a/crates/context/tests/rope_plan_golden/rope_golden.json +++ b/crates/context/tests/rope_plan_golden/rope_golden.json @@ -1,5 +1,5 @@ { - "generator": "gen_rope_golden.cpp over rope_scaling.hpp + rope.cu build_rope_table (verbatim)", + "generator": "host build over rope_scaling.hpp + rope.cu build_rope_table (verbatim)", "cases": [ { "name": "none_default", "desc": "default-constructed RopeScaling (today's engine)", "n_rot": 64, diff --git a/crates/context/tests/setup_policy_oracle.rs b/crates/context/tests/setup_policy_oracle.rs index 5cd535b3..da5977b1 100644 --- a/crates/context/tests/setup_policy_oracle.rs +++ b/crates/context/tests/setup_policy_oracle.rs @@ -1,5 +1,5 @@ //! `setup.py` sizing rules versus `import setup` (the unmodified oracle), over the grid in -//! `tests/fixtures/setup_policy_oracle.json` (`scripts/offline/gen_goldens.py setup_policy`). Floats are compared +//! `tests/fixtures/setup_policy_oracle.json`. Floats are compared //! bit for bit. use leleka_context::{ rope_scaling::{RopeScalingType, derived_factor, setup_resolve_rope}, diff --git a/crates/cuda-driver/kernels/mapped_expert_copy.cu b/crates/cuda-driver/kernels/mapped_expert_copy.cu index 330120b7..85b3cef7 100644 --- a/crates/cuda-driver/kernels/mapped_expert_copy.cu +++ b/crates/cuda-driver/kernels/mapped_expert_copy.cu @@ -1,5 +1,5 @@ // Original Strata fetch_blobs_kernel; arithmetic-free uint4 copy. -// engine/strata/src/kernels/cuda/verify_kernels.cu, pinned upstream provenance. +// Strata 41cf05a0, src/kernels/cuda/verify_kernels.cu, pinned upstream provenance. #include #include extern "C" __global__ void fetch_blobs_kernel(const unsigned long long* __restrict__ src, const int32_t* __restrict__ n, diff --git a/crates/cuda-driver/ptx-sm86/MANIFEST.json b/crates/cuda-driver/ptx-sm86/MANIFEST.json index 7834ed73..1b30b512 100644 --- a/crates/cuda-driver/ptx-sm86/MANIFEST.json +++ b/crates/cuda-driver/ptx-sm86/MANIFEST.json @@ -124,13 +124,13 @@ "count": 3 } ], - "sm120_bytes": 5980, + "sm120_bytes": 5983, "sm120_nvcc": null, "sm120_path": "crates/cuda-driver/src/bf16_f32_mmvf.ptx", - "sm120_sha256": "044543f681bb23eb9cae602b1a16aa7b2386d6d5c3b15cc41987338bd613b1c3", + "sm120_sha256": "8b0d71f343f2b2b34b0e742e3bb08c2192be33e8016c2136e63fc7f34f477aaa", "sm120_stored_nul": false, - "sm86_bytes": 5874, - "sm86_sha256": "54a33146558ef76c817fc8e556f709228f90e2ccd6565f57c4f8ec4646e6c442" + "sm86_bytes": 5877, + "sm86_sha256": "29e6a266d9608df5ff00c87ca8296c55f4ea53ed4d1fe01f0b785b76984d4318" }, { "entries": 19, @@ -476,13 +476,13 @@ "count": 1 } ], - "sm120_bytes": 24712, + "sm120_bytes": 24718, "sm120_nvcc": "13.0.88", "sm120_path": "crates/cuda-driver/src/iq3_s_q8_1.ptx", - "sm120_sha256": "94f798c00813c2fb860b4bf77be9225767d408955e3421330ac34a4ebd43978f", + "sm120_sha256": "ebfcabd456b8cf16608c529b906849e4391096322a88e5a665ac87657a91dde6", "sm120_stored_nul": false, - "sm86_bytes": 24711, - "sm86_sha256": "b19860070e69dccd5e98d1e6bc7cddcda2928efbd3f0bd21568fd1ae7d4ae927" + "sm86_bytes": 24717, + "sm86_sha256": "46a64e151bbdfe0e5b3a4b36e6abab396aeed026872b608e76b9a482bea8240a" }, { "entries": 1, @@ -916,13 +916,13 @@ "count": 1 } ], - "sm120_bytes": 25114, + "sm120_bytes": 25120, "sm120_nvcc": "13.0.88", "sm120_path": "crates/cuda-driver/src/moe_group_iq3_s.ptx", - "sm120_sha256": "58d068ff3acc4211614f70ab04703a40858e148f9aef8503ed66f7640ae2e2aa", + "sm120_sha256": "46b0d5365a1529c65f478aa5335089e56eb624370f9c17c87e79b7369f0e7b8a", "sm120_stored_nul": false, - "sm86_bytes": 25113, - "sm86_sha256": "36c2f68c0d3a3c524787ecf03a1f33e2da930a4917419ea5893ccaa28c33a88c" + "sm86_bytes": 25119, + "sm86_sha256": "0e5e0434421077516213079c02d9f98ff4bcfa46347903786e1decd520bbfd14" }, { "entries": 2, @@ -936,13 +936,13 @@ "count": 1 } ], - "sm120_bytes": 36382, + "sm120_bytes": 36388, "sm120_nvcc": "13.0.88", "sm120_path": "crates/cuda-driver/src/moe_group_iq3_s_nc4.ptx", - "sm120_sha256": "be6ee907c0b370cb99894a03419466f1aa465ba9b8e2e8cf603887f534450d0c", + "sm120_sha256": "7a13911f998d38bba5c52862f92799d17a662e8427c1cdff24f01c1f30a7fd94", "sm120_stored_nul": false, - "sm86_bytes": 36381, - "sm86_sha256": "23b702aaf1278dd3d436142b9c27321921f36dda7606d1f756973e5dfcbd4537" + "sm86_bytes": 36387, + "sm86_sha256": "e12dea8f921efd99c9483012f8da00c5ba1ba66b0444ff4ba98fed4903ed51e5" }, { "entries": 1, @@ -1635,12 +1635,12 @@ "-std=c++17", "--fmad=true", "--ftz=false", - "-Iengine/strata/include", - "-Iengine/strata/third_party/ggml", + "-Istrata-41cf05a0/include", + "-Istrata-41cf05a0/third_party/ggml", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-include", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-src", - "-Iengine/strata/src" + "-Istrata-41cf05a0/src" ], "isa": "9.2", "method": "recompile", diff --git a/crates/cuda-driver/ptx-sm86/bf16_f32_mmvf.ptx b/crates/cuda-driver/ptx-sm86/bf16_f32_mmvf.ptx index 8df695c4..052e122b 100644 --- a/crates/cuda-driver/ptx-sm86/bf16_f32_mmvf.ptx +++ b/crates/cuda-driver/ptx-sm86/bf16_f32_mmvf.ptx @@ -1,5 +1,5 @@ // Adapted from the pinned native operation: -// engine/strata/src/kernels/cuda/native_bf16.cu +// Strata 41cf05a0, src/kernels/cuda/native_bf16.cu // SHA-256 70b44795528fb73d636be5914d60f0adaa849a48cc38f309d327a2976c3ed3da // and exact BF16 bit expansion in bf16_bits.hpp // SHA-256 813b51f17c5c264d642f4d77b3d6e5f35e7ea7310ba87b18b3a2a5bc9185198f. diff --git a/crates/cuda-driver/ptx-sm86/iq3_s_q8_1.ptx b/crates/cuda-driver/ptx-sm86/iq3_s_q8_1.ptx index c3b586d1..05588906 100644 --- a/crates/cuda-driver/ptx-sm86/iq3_s_q8_1.ptx +++ b/crates/cuda-driver/ptx-sm86/iq3_s_q8_1.ptx @@ -1,7 +1,7 @@ // IQ3_S Q8_1 routed projection; derived from llama.cpp/ggml native Fmt21. // Copyright (c) 2023-2026 The ggml authors. MIT License. -// Native source: engine/strata/src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 -// Grid source: engine/strata/third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c +// Native source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 +// Grid source: Strata 41cf05a0, third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c // Full MIT notice is retained in crates/quant-core/LICENSE-GGML. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/crates/cuda-driver/ptx-sm86/moe_group_iq3_s.ptx b/crates/cuda-driver/ptx-sm86/moe_group_iq3_s.ptx index 43f43e66..6d7d2ef5 100644 --- a/crates/cuda-driver/ptx-sm86/moe_group_iq3_s.ptx +++ b/crates/cuda-driver/ptx-sm86/moe_group_iq3_s.ptx @@ -1,7 +1,7 @@ // IQ3_S Q8_1 routed projection; derived from llama.cpp/ggml native Fmt21. // Copyright (c) 2023-2026 The ggml authors. MIT License. -// Native source: engine/strata/src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 -// Grid source: engine/strata/third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c +// Native source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 +// Grid source: Strata 41cf05a0, third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c // Full MIT notice is retained in crates/quant-core/LICENSE-GGML. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/crates/cuda-driver/ptx-sm86/moe_group_iq3_s_nc4.ptx b/crates/cuda-driver/ptx-sm86/moe_group_iq3_s_nc4.ptx index 5c23688f..542a3f8b 100644 --- a/crates/cuda-driver/ptx-sm86/moe_group_iq3_s_nc4.ptx +++ b/crates/cuda-driver/ptx-sm86/moe_group_iq3_s_nc4.ptx @@ -5,8 +5,8 @@ // Tail activation loads clamp to last genuine pointer; only live stores write. // IQ3_S Q8_1 routed projection; derived from llama.cpp/ggml native Fmt21. // Copyright (c) 2023-2026 The ggml authors. MIT License. -// Native source: engine/strata/src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 -// Grid source: engine/strata/third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c +// Native source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 +// Grid source: Strata 41cf05a0, third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c // Full MIT notice is retained in crates/quant-core/LICENSE-GGML. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-experimental.json b/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-experimental.json index 2a9107ca..06f3cb81 100644 --- a/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-experimental.json +++ b/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-experimental.json @@ -1,6 +1,6 @@ { "schema": 1, - "note": "Additions for the experimental Strata modes. None of these six .cu files has been compiled; PINS in experimental.rs are all zero and admit_ptx refuses every asset until Root builds the PTX and freezes the digests. Flags follow engine/strata/CMakeLists.txt: none of the six Original TUs is in the --use_fast_math list (native_* only) and the strata_kernels target adds no other CUDA flag besides CUDA_STANDARD 17, so the build is precise (no --use_fast_math) with default -fmad contraction.", + "note": "Additions for the experimental Strata modes. None of these six .cu files has been compiled; PINS in experimental.rs are all zero and admit_ptx refuses every asset until Root builds the PTX and freezes the digests. Flags follow Strata 41cf05a0, CMakeLists.txt: none of the six Original TUs is in the --use_fast_math list (native_* only) and the strata_kernels target adds no other CUDA flag besides CUDA_STANDARD 17, so the build is precise (no --use_fast_math) with default -fmad contraction.", "assets": [ { "cu": "crates/cuda-driver/src/experimental_kv_q4.cu", @@ -17,7 +17,7 @@ ], "policy": "EXPERIMENTAL, off by default (OptIn). FWHT-256 + Q4_0 append (step/batched) + gather; Original kv_q4.cu precise (default flags, not in the fast-math list); K8V4's Q4_0 V half and rotated INT8's FWHT", "direct_original_headers": [], - "original": "engine/strata/src/kernels/cuda/kv_q4.cu", + "original": "Strata 41cf05a0, src/kernels/cuda/kv_q4.cu", "rust_consumers": { "experimental.rs": { "sha256": "efdff8bf38d53c7b3825316a86169a56c8d3ca166e39a2ed889872de52c15981", @@ -53,7 +53,7 @@ ], "policy": "EXPERIMENTAL, off by default (OptIn). INT8 append (K+V, K8V4 K half, V-only) + gather; Original kv_q8.cu precise", "direct_original_headers": [], - "original": "engine/strata/src/kernels/cuda/kv_q8.cu", + "original": "Strata 41cf05a0, src/kernels/cuda/kv_q8.cu", "rust_consumers": { "experimental.rs": { "sha256": "efdff8bf38d53c7b3825316a86169a56c8d3ca166e39a2ed889872de52c15981", @@ -89,7 +89,7 @@ ], "policy": "EXPERIMENTAL, off by default (OptIn). CLOCK residency resolver, block copy, ring table, u4 copy; Original kv_stream.cu precise; integer only", "direct_original_headers": [], - "original": "engine/strata/src/kernels/cuda/kv_stream.cu", + "original": "Strata 41cf05a0, src/kernels/cuda/kv_stream.cu", "rust_consumers": { "experimental.rs": { "sha256": "efdff8bf38d53c7b3825316a86169a56c8d3ca166e39a2ed889872de52c15981", @@ -113,8 +113,8 @@ { "cu": "crates/cuda-driver/src/experimental_keyless.cu", "cu_pin": { - "sha256": "77c50e5baff842e31f0d71624a5706f46ed74a56cdfc5e4211086d2ef08671c5", - "bytes": 1987 + "sha256": "44304e967dc68e92233f6b78c25e6d80475ea4c0e94262cf928f7405cd553733", + "bytes": 1990 }, "ptx": "crates/cuda-driver/src/experimental_keyless.ptx", "flags": [ @@ -125,7 +125,7 @@ ], "policy": "EXPERIMENTAL, off by default (OptIn). per-head query routing (fmaf-ordered 256x256); Original keyless.cu precise", "direct_original_headers": [], - "original": "engine/strata/src/kernels/cuda/keyless.cu", + "original": "Strata 41cf05a0, src/kernels/cuda/keyless.cu", "rust_consumers": { "experimental.rs": { "sha256": "efdff8bf38d53c7b3825316a86169a56c8d3ca166e39a2ed889872de52c15981", @@ -161,7 +161,7 @@ ], "policy": "EXPERIMENTAL, off by default (OptIn). experimental attention modes 2/3/4 + merge; Original qsa_decode_attn.cu precise (expf/exp2f exact, not in the fast-math list)", "direct_original_headers": [], - "original": "engine/strata/src/kernels/cuda/qsa_decode_attn.cu", + "original": "Strata 41cf05a0, src/kernels/cuda/qsa_decode_attn.cu", "rust_consumers": { "experimental.rs": { "sha256": "efdff8bf38d53c7b3825316a86169a56c8d3ca166e39a2ed889872de52c15981", @@ -185,8 +185,8 @@ { "cu": "crates/cuda-driver/src/experimental_cvec.cu", "cu_pin": { - "sha256": "d4fe221b11569db73247644bb79118b34d040b49c14897e0bac158dcd4ca356e", - "bytes": 4783 + "sha256": "89038128664ea4688e20de69eb32f55dd17c3a51bb1d67ec7774cba97ec70686", + "bytes": 4786 }, "ptx": "crates/cuda-driver/src/experimental_cvec.ptx", "flags": [ @@ -197,7 +197,7 @@ ], "policy": "EXPERIMENTAL, off by default (OptIn). control-vector apply; Original cvec.cu default flags (its own __expf in sigmoidf_ is explicit in the source)", "direct_original_headers": [], - "original": "engine/strata/src/kernels/cuda/cvec.cu", + "original": "Strata 41cf05a0, src/kernels/cuda/cvec.cu", "rust_consumers": { "experimental.rs": { "sha256": "efdff8bf38d53c7b3825316a86169a56c8d3ca166e39a2ed889872de52c15981", diff --git a/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-window.json b/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-window.json index d6e1ccf8..043e5d01 100644 --- a/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-window.json +++ b/crates/cuda-driver/seal-plans/cuda-seal-plan-additions-window.json @@ -1,7 +1,7 @@ { "schema": 1, "purpose": "Assets Root must seal for the literal Verifier window recorder (OriginalVerifyWindowOps). Everything not listed under new_sources is an already sealed asset that the window producers merely bind (SHA-256 pinned in the AssetSpec constants of crates/cuda-driver/src/original_verify_window_*.rs).", - "toolkit": "deploy/cuda-toolkit.lock.json (CUDA 13.0.88), built through scripts/build-original-verify-ptx.sh", + "toolkit": "deploy/cuda-toolkit.lock.json (CUDA 13.0.88), built with the precise nvcc flags (--fmad=true --ftz=false)", "new_sources": [ { "source": "crates/cuda-driver/src/original_verify_window_moe_experts.cu", @@ -13,8 +13,8 @@ "-arch=sm_120", "--fmad=true", "--ftz=false", - "-Iengine/strata/include", - "-Iengine/strata/third_party/ggml", + "-Istrata-41cf05a0/include", + "-Istrata-41cf05a0/third_party/ggml", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-include", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -37,7 +37,7 @@ "window_moe_down_7", "window_moe_down_8" ], - "derived_from": "engine/strata/src/kernels/cuda/iq_kernels.cu (native_gu_kernel, native_gu_multi_kernel, native_down_kernel, native_down_multi_kernel via native_expert_grouped / launch_gu / launch_down; textually includes crates/cuda-driver/src/mtp_original_full_head_iq.cu, the sealed copy of iq_kernels.cu; engine/strata/CMakeLists.txt gives iq_kernels.cu no per-source COMPILE_OPTIONS)", + "derived_from": "Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu (native_gu_kernel, native_gu_multi_kernel, native_down_kernel, native_down_multi_kernel via native_expert_grouped / launch_gu / launch_down; textually includes crates/cuda-driver/src/mtp_original_full_head_iq.cu, the sealed copy of iq_kernels.cu; Strata 41cf05a0, CMakeLists.txt gives iq_kernels.cu no per-source COMPILE_OPTIONS)", "notes": "NEW source: no sealed PTX instantiates the grouped gate/up and down templates for the target's formats. The rest of native_expert_grouped (swiglu_entries_kernel, quantize_q8_1_kernel) is sealed in mtp_original_full_head_iq.ptx under mangled names. The PTX will also carry the unused head_* / dequant entries of the included file. Update EXPERTS.sha in original_verify_window_moe.rs after sealing; the build script's required-exports check should list the exports above.", "install": "Compile, append exactly ONE terminal NUL byte (like the other sealed MTP assets), write over the placeholder .ptx, then replace the all-zero `sha` of the matching AssetSpec by sha256 of the bytes BEFORE the NUL." }, @@ -51,8 +51,8 @@ "-arch=sm_120", "--fmad=true", "--use_fast_math", - "-Iengine/strata/include", - "-Iengine/strata/third_party/ggml", + "-Istrata-41cf05a0/include", + "-Istrata-41cf05a0/third_party/ggml", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-include", "-Icrates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -60,8 +60,8 @@ "exports": [ "verify_window_qsa_gate" ], - "derived_from": "engine/strata/src/kernels/cuda/native_qsa.cu (kernel `gate`; CMakeLists.txt compiles native_qsa.cu with --use_fast_math)", - "nvcc_note": "--use_fast_math (as engine/strata/CMakeLists.txt compiles native_qsa.cu) implies --ftz=true --prec-div=false --prec-sqrt=false --fmad=true; --ftz=false is deliberately NOT passed.", + "derived_from": "Strata 41cf05a0, src/kernels/cuda/native_qsa.cu (kernel `gate`; CMakeLists.txt compiles native_qsa.cu with --use_fast_math)", + "nvcc_note": "--use_fast_math (as Strata 41cf05a0, CMakeLists.txt compiles native_qsa.cu) implies --ftz=true --prec-div=false --prec-sqrt=false --fmad=true; --ftz=false is deliberately NOT passed.", "install": "Compile, append exactly ONE terminal NUL byte (like the other sealed MTP assets), write over the placeholder .ptx, then replace the all-zero `sha` of the matching AssetSpec by sha256 of the bytes BEFORE the NUL." } ], @@ -160,7 +160,7 @@ "native_qsa_indexer", "native_qsa_score" ], - "note": "engine/strata/CMakeLists.txt compiles these Original sources with --use_fast_math. The sealed Rust copies below were built with the precise flags of scripts/build-original-verify-ptx.sh (--fmad=true --ftz=false). Some copies reproduce the fast-math operations with explicit intrinsics in the .cu (e.g. mtp_original_full_shared.cu: __fdividef/__expf); the others are a numerics risk for bit-exact parity with the Original window until a per-kernel golden comparison on the GPU (or a re-seal with --use_fast_math) proves otherwise.", + "note": "Strata 41cf05a0, CMakeLists.txt compiles these Original sources with --use_fast_math. The sealed Rust copies below were built with the precise flags (--fmad=true --ftz=false). Some copies reproduce the fast-math operations with explicit intrinsics in the .cu (e.g. mtp_original_full_shared.cu: __fdividef/__expf); the others are a numerics risk for bit-exact parity with the Original window until a per-kernel golden comparison on the GPU (or a re-seal with --use_fast_math) proves otherwise.", "candidate_resealed_assets": [ { "ptx": "mtp_original_full_head_native.ptx / mtp_original_tail.ptx / mtp_original_full_checks.ptx", @@ -204,7 +204,7 @@ } ], "audit": { - "method": "For each Original source in the fast-math list that the window launches, the fast-math-sensitive operations (/ , expf, sqrtf, powf, sinf, cosf, logf) were listed from engine/strata/src/kernels/cuda/*.cu and compared with the instruction mix of the sealed PTX. A precise nvcc compile emits div.rn/rcp.rn/sqrt.rn and the multi-instruction expf sequence (fma.rn + ex2.approx.ftz + mul); --use_fast_math emits div.full, rcp.approx.ftz, sqrt.approx.ftz, ex2.approx.ftz(x*log2e), sin/cos.approx.ftz and .ftz on the arithmetic. Only qsa_decode_postops.ptx carries .ftz on its arithmetic.", + "method": "For each Original source in the fast-math list that the window launches, the fast-math-sensitive operations (/ , expf, sqrtf, powf, sinf, cosf, logf) were listed from Strata 41cf05a0, src/kernels/cuda/*.cu and compared with the instruction mix of the sealed PTX. A precise nvcc compile emits div.rn/rcp.rn/sqrt.rn and the multi-instruction expf sequence (fma.rn + ex2.approx.ftz + mul); --use_fast_math emits div.full, rcp.approx.ftz, sqrt.approx.ftz, ex2.approx.ftz(x*log2e), sin/cos.approx.ftz and .ftz on the arithmetic. Only qsa_decode_postops.ptx carries .ftz on its arithmetic.", "sealed_precise_but_original_fast_math": [ { "ptx": "mtp_original_full_head_native.ptx", @@ -257,7 +257,7 @@ "original_verify.ptx, mtp_original_full_fused_gr.ptx, mtp_original_kv.ptx, qsa_prompt_select.ptx, qsa_prompt_resolver.ptx, mtp_original_full_element.ptx, mtp_original_full_s2.ptx, mtp_original_full_head_iq.ptx, mtp_original_full_router_legacy.ptx (all precise in the Original)" ], "not_in_verify_window": "native_flash_attn.cu and native_qsa_score.cu are launched only by the single-token layer.cpp path, never by verify.cpp (qsa_decode_attn_batch / qsa_block_scores are precise)", - "action": "Re-seal the six assets above from their existing .cu with --use_fast_math (scripts/build-original-verify-ptx.sh compiles every source with the precise flags) and update their SHA pins; none of those sources contains hand-written intrinsics that a fast-math build would double-apply. The same assets back the MTP path, so the MTP golden comparisons must be redone after the re-seal." + "action": "Re-seal the six assets above from their existing .cu with --use_fast_math (every source was sealed with the precise flags) and update their SHA pins; none of those sources contains hand-written intrinsics that a fast-math build would double-apply. The same assets back the MTP path, so the MTP golden comparisons must be redone after the re-seal." }, "not_candidates_original_is_precise": [ { diff --git a/crates/cuda-driver/seal-plans/cuda-seal-plan-additions.json b/crates/cuda-driver/seal-plans/cuda-seal-plan-additions.json index c3813da7..e53b88c0 100644 --- a/crates/cuda-driver/seal-plans/cuda-seal-plan-additions.json +++ b/crates/cuda-driver/seal-plans/cuda-seal-plan-additions.json @@ -1,6 +1,6 @@ { "schema": 1, - "note": "Additions to CUDA-SEAL-PLAN.json (schema 1, see stra169 plan) for the .cu assets added on claude/port-forward-leaves. Same fields; seal_sha256/seal_length are filled by the sealing session after nvcc. None of these needs -I/work/include (they include only cuda_fp16.h/cuda_runtime.h/libc headers). Verify each compiled entry list with `cuobjdump -sass`/`grep .entry` against `entries` before pinning. Flags follow engine/strata/CMakeLists.txt: --use_fast_math only for files in the native_* fast-math list.", + "note": "Additions to CUDA-SEAL-PLAN.json (schema 1, see stra169 plan) for the .cu assets added on claude/port-forward-leaves. Same fields; seal_sha256/seal_length are filled by the sealing session after nvcc. None of these needs -I/work/include (they include only cuda_fp16.h/cuda_runtime.h/libc headers). Verify each compiled entry list with `cuobjdump -sass`/`grep .entry` against `entries` before pinning. Flags follow Strata 41cf05a0, CMakeLists.txt: --use_fast_math only for files in the native_* fast-math list.", "assets": [ { "cu": "crates/cuda-driver/src/qsa_prompt_attention_variants.cu", @@ -81,8 +81,8 @@ { "cu": "crates/cuda-driver/src/mmq_original_prefill_misc.cu", "cu_pin": { - "sha256": "da4cc72e19ca1ad694f4be807d6c0c1337ecfd8ca553fe31dd4c5185ed24cf4a", - "bytes": 3072 + "sha256": "c5b2242dd01a48168052e4dd42ed5ab37bf44bd1bcc47a9bccb8f4ab7460faad", + "bytes": 3075 }, "ptx": "crates/cuda-driver/src/mmq_original_prefill_misc.ptx", "flags": [ @@ -154,8 +154,8 @@ { "cu": "crates/cuda-driver/src/s_gemv_legacy.cu", "cu_pin": { - "sha256": "0922bb96ca3b2f1110509adab242cf76fa1f910cde859d1e4e4150c607b51952", - "bytes": 51423 + "sha256": "0476de35304abd5149fc3b123e2a81855d79b37d36e0f4022433732fe94090ca", + "bytes": 51401 }, "ptx": "crates/cuda-driver/src/s_gemv_legacy.ptx", "flags": [ @@ -211,7 +211,7 @@ } ], "flags_policy_audit": { - "audited": "2026-10-14 with scripts/cuda-stubs/literal_diff.py (SOURCES=1) over every crates/cuda-driver/src/*.cu, against engine/strata/CMakeLists.txt", + "audited": "2026-10-14 with a literal-diff check (SOURCES=1) over every crates/cuda-driver/src/*.cu, against Strata 41cf05a0, CMakeLists.txt", "cmake_policy": { "per_source_use_fast_math": [ "native_mmvq", @@ -229,7 +229,7 @@ "native_qsa_indexer", "native_qsa_score" ], - "cmake_lines": "engine/strata/CMakeLists.txt:340-352 (strata_kernels), :965 (strata_mmq)", + "cmake_lines": "Strata 41cf05a0, CMakeLists.txt:340-352 (strata_kernels), :965 (strata_mmq)", "strata_mmq_extended_lambda_use_fast_math": [ "src/prefill/moe_mmq.cu", "src/prefill/ggml_cuda_host.cu", @@ -320,6 +320,6 @@ "mtp_original_full_fused_gr (fused_gr)", "mtp_original_full_s2 / mtp_original_full_shared / mtp_original_full_verify / mtp_original_full_element / mtp_original_full_gr_write / mtp_original_full_head_iq / mtp_original_full_head_sampler / mtp_original_full_coupled / mtp_original_full_quant80" ], - "stale_toolkit_comments": "kar_decode_levels.cu, experimental_*.cu, mmq_original_group_*.cu, mmq_original_formats*.cu say nvcc 12.8.93; deploy/cuda-toolkit.lock.json and scripts/build-original-verify-ptx.sh pin 13.0.88" + "stale_toolkit_comments": "kar_decode_levels.cu, experimental_*.cu, mmq_original_group_*.cu, mmq_original_formats*.cu say nvcc 12.8.93; deploy/cuda-toolkit.lock.json pins 13.0.88" } } diff --git a/crates/cuda-driver/src/bf16_f32_mmvf.ptx b/crates/cuda-driver/src/bf16_f32_mmvf.ptx index 2c02e385..69d98c1d 100644 --- a/crates/cuda-driver/src/bf16_f32_mmvf.ptx +++ b/crates/cuda-driver/src/bf16_f32_mmvf.ptx @@ -1,5 +1,5 @@ // Adapted from the pinned native operation: -// engine/strata/src/kernels/cuda/native_bf16.cu +// Strata 41cf05a0, src/kernels/cuda/native_bf16.cu // SHA-256 70b44795528fb73d636be5914d60f0adaa849a48cc38f309d327a2976c3ed3da // and exact BF16 bit expansion in bf16_bits.hpp // SHA-256 813b51f17c5c264d642f4d77b3d6e5f35e7ea7310ba87b18b3a2a5bc9185198f. diff --git a/crates/cuda-driver/src/closed_kernels.rs b/crates/cuda-driver/src/closed_kernels.rs index 4a3cb6a6..220a71ae 100644 --- a/crates/cuda-driver/src/closed_kernels.rs +++ b/crates/cuda-driver/src/closed_kernels.rs @@ -54,8 +54,8 @@ pub const PINS: [PtxPin; 3] = [ }, PtxPin { source_sha256: [ - 9, 34, 187, 150, 202, 59, 47, 17, 16, 80, 154, 218, 178, 66, 207, 118, 250, 31, 145, 12, 222, 133, 157, 30, - 78, 65, 80, 198, 7, 181, 25, 82, + 4, 118, 222, 53, 48, 74, 189, 81, 73, 252, 59, 18, 62, 42, 129, 133, 93, 121, 179, 125, 54, 224, 244, 2, + 36, 51, 115, 47, 233, 64, 144, 202, ], ptx_sha256: [ 58, 180, 209, 42, 94, 151, 196, 226, 244, 96, 44, 108, 135, 35, 114, 197, 192, 104, 93, 140, 241, 162, 2, diff --git a/crates/cuda-driver/src/experimental.rs b/crates/cuda-driver/src/experimental.rs index e0061b02..77cc13be 100644 --- a/crates/cuda-driver/src/experimental.rs +++ b/crates/cuda-driver/src/experimental.rs @@ -136,8 +136,8 @@ pub const PINS: [PtxPin; 6] = [ }, PtxPin { source_sha256: [ - 119, 197, 14, 91, 175, 248, 66, 227, 31, 13, 113, 98, 74, 87, 6, 244, 110, 215, 74, 86, 205, 252, 94, 66, - 17, 8, 109, 46, 240, 134, 113, 197, + 68, 48, 78, 150, 125, 198, 142, 146, 35, 63, 107, 120, 194, 94, 109, 128, 71, 94, 164, 192, 233, 66, 98, + 207, 146, 143, 116, 5, 205, 85, 55, 51, ], ptx_sha256: [ 26, 184, 184, 21, 110, 140, 130, 65, 49, 192, 12, 236, 218, 23, 127, 229, 125, 116, 178, 134, 160, 43, 126, @@ -156,8 +156,8 @@ pub const PINS: [PtxPin; 6] = [ }, PtxPin { source_sha256: [ - 212, 254, 34, 27, 17, 86, 157, 183, 50, 71, 100, 75, 183, 145, 24, 179, 77, 4, 11, 73, 193, 72, 151, 224, - 186, 193, 88, 220, 212, 202, 53, 110, + 137, 3, 129, 40, 102, 78, 164, 104, 142, 32, 222, 105, 235, 50, 245, 93, 209, 124, 58, 81, 187, 29, 103, + 236, 119, 116, 203, 169, 126, 199, 6, 134, ], ptx_sha256: [ 25, 58, 221, 92, 180, 72, 245, 225, 147, 242, 15, 242, 72, 202, 68, 89, 171, 185, 98, 180, 114, 102, 60, 0, diff --git a/crates/cuda-driver/src/experimental_cvec.cu b/crates/cuda-driver/src/experimental_cvec.cu index d18fa73c..884d0422 100644 --- a/crates/cuda-driver/src/experimental_cvec.cu +++ b/crates/cuda-driver/src/experimental_cvec.cu @@ -6,7 +6,7 @@ // an explicit ExperimentalOptIn (experimental.rs). With the flag off and no pending write the kernel is a no-op; // with a pending write it applies the fused hyper-connection read's own arithmetic. // -// LITERAL PORT of engine/strata/src/kernels/cuda/cvec.cu: `cvec_kernel`'s BODY and `sigmoidf_` are +// LITERAL PORT of Strata 41cf05a0, src/kernels/cuda/cvec.cu: `cvec_kernel`'s BODY and `sigmoidf_` are // byte-identical to the Original's (experimental_cvec.rs::literal_bodies_match_the_original). Edits: // `__global__ cvec_kernel` became the `__device__ cvec_kernel_body` function called by the `extern "C" __global__` // entry; the host tables (g_dev, cvec_upload, cvec_apply) are Rust. A null `bo`/`inj` is a 64-bit zero argument. diff --git a/crates/cuda-driver/src/experimental_keyless.cu b/crates/cuda-driver/src/experimental_keyless.cu index e0db63a7..6d27dc1a 100644 --- a/crates/cuda-driver/src/experimental_keyless.cu +++ b/crates/cuda-driver/src/experimental_keyless.cu @@ -5,7 +5,7 @@ // model-quality gate (docs/keyless-runtime.md): this is an unqualified experiment, off by default, and the driver // refuses the program without an explicit ExperimentalOptIn (experimental.rs). // -// LITERAL PORT of engine/strata/src/kernels/cuda/keyless.cu: the kernel BODY is byte-identical to the Original's +// LITERAL PORT of Strata 41cf05a0, src/kernels/cuda/keyless.cu: the kernel BODY is byte-identical to the Original's // (experimental_attn.rs::literal_bodies_match_the_original). Edits: `__global__ route_kernel` became the // `__device__ route_kernel_body` function called by the `extern "C" __global__` entry; the host wrapper // `keyless_route_query` (argument checks and launch geometry) is Rust. diff --git a/crates/cuda-driver/src/experimental_kv_q4.cu b/crates/cuda-driver/src/experimental_kv_q4.cu index b3410af5..7670d80f 100644 --- a/crates/cuda-driver/src/experimental_kv_q4.cu +++ b/crates/cuda-driver/src/experimental_kv_q4.cu @@ -3,7 +3,7 @@ // 256-point Walsh-Hadamard transform they rely on. Off by default; the driver refuses to open this program // without an explicit ExperimentalOptIn for a mode that needs it (experimental.rs). // -// LITERAL PORT of engine/strata/src/kernels/cuda/kv_q4.cu (Original, PR #21). Every kernel BODY below is +// LITERAL PORT of Strata 41cf05a0, src/kernels/cuda/kv_q4.cu (Original, PR #21). Every kernel BODY below is // byte-identical to the Original's (experimental_kv.rs::literal_bodies_match_the_original compares them). // The only edits: // 1. each `__global__` kernel became a `__device__ ..._body` function with the same parameters, called by diff --git a/crates/cuda-driver/src/experimental_kv_q8.cu b/crates/cuda-driver/src/experimental_kv_q8.cu index 43374dfa..fa48230c 100644 --- a/crates/cuda-driver/src/experimental_kv_q8.cu +++ b/crates/cuda-driver/src/experimental_kv_q8.cu @@ -8,7 +8,7 @@ // Both are lossy/unqualified and off by default; the driver refuses this program without an explicit // ExperimentalOptIn (experimental.rs). The production INT8 path of the Rust runtime does not use this file. // -// LITERAL PORT of engine/strata/src/kernels/cuda/kv_q8.cu. Kernel BODIES are byte-identical to the Original's +// LITERAL PORT of Strata 41cf05a0, src/kernels/cuda/kv_q8.cu. Kernel BODIES are byte-identical to the Original's // (experimental_kv.rs::literal_bodies_match_the_original). Edits: each `__global__` kernel became a // `__device__ ..._body` function with the same parameters called by an `extern "C" __global__` entry with a // flat pointer/integer ABI (KvHostPools rebuilt from pointers; a null pointer argument is a 64-bit zero); @@ -22,7 +22,7 @@ // `cur_stride` (the Original's S26 multi-token append); the body is copied verbatim and the entry instantiates the // single-token form (MULTI = false, strides 0), the old behaviour bit for bit, with its ABI unchanged. The MULTI // branch is therefore not instantiated here. The Original's 8-wide gather (kv_gather_q8_wide_kernel) exists only -// under STRATA_EXPERIMENTAL_SM60 and is not part of this sm_120 program (tests/literal_port.rs lists it as excluded). +// under STRATA_EXPERIMENTAL_SM60 and is not part of this sm_120 program. // Not compiled after the re-sync (no nvcc on that host): the sealed PTX is the 2026-10-15 build of the previous source // and experimental::PENDING_RESEAL makes the program refuse to open until the server reseals it. // Sealed 2026-10-15 with nvcc 13.2.86 -ptx -O3 -arch=sm_120 -std=c++17, precise math (the Original builds kv_q8.cu with diff --git a/crates/cuda-driver/src/experimental_kv_stream.cu b/crates/cuda-driver/src/experimental_kv_stream.cu index fe4df915..bf4d58fa 100644 --- a/crates/cuda-driver/src/experimental_kv_stream.cu +++ b/crates/cuda-driver/src/experimental_kv_stream.cu @@ -5,7 +5,7 @@ // bitwise equal to resident attention), but it is unqualified in this port and off by default; the driver // refuses this program without an explicit ExperimentalOptIn (experimental.rs). // -// LITERAL PORT of engine/strata/src/kernels/cuda/kv_stream.cu (resolve_kernel, copy_kernel, reset_kernel, +// LITERAL PORT of Strata 41cf05a0, src/kernels/cuda/kv_stream.cu (resolve_kernel, copy_kernel, reset_kernel, // ring_kernel, block_scan, Runs, RT). Bodies are byte-identical to the Original's // (experimental_stream.rs::literal_bodies_match_the_original). Edits: `__global__` kernels became // `__device__ ..._body` functions with the same parameters called by `extern "C" __global__` entries with a flat diff --git a/crates/cuda-driver/src/experimental_qsa_attn.cu b/crates/cuda-driver/src/experimental_qsa_attn.cu index 43458f6e..fcfdab24 100644 --- a/crates/cuda-driver/src/experimental_qsa_attn.cu +++ b/crates/cuda-driver/src/experimental_qsa_attn.cu @@ -7,7 +7,7 @@ // ExperimentalOptIn (experimental.rs). The fp16 and INT8 modes of the Original kernel are NOT instantiated here // (INT8 is qsa_native_decode.cu; fp16 is not part of the Rust runtime). // -// LITERAL PORT of engine/strata/src/kernels/cuda/qsa_decode_attn.cu: warp_sum, warp_max, load8_*, load8<>, +// LITERAL PORT of Strata 41cf05a0, src/kernels/cuda/qsa_decode_attn.cu: warp_sum, warp_max, load8_*, load8<>, // attn_chunk_kernel<> and attn_merge_kernel BODIES are byte-identical to the Original's // (experimental_attn.rs::literal_bodies_match_the_original), as are the constants and mrope_pos. Edits: the // `__global__` kernels became `__device__ ..._body` functions with the same parameters, called by @@ -24,7 +24,7 @@ // LANE_CELL, QUERY_SWIZZLE, REDUCE12>` (with reduce12_gfx906 / reduce12_head_of_lane), copied verbatim; the entries // instantiate it with the three flags off, which is the previous kernel's arithmetic. The Original's alternate // schedules and batch variants (attn_chunk_kernel_pre75 and its helpers, attn_merge_v2_kernel, the INT8 v3 kernel, -// the slot / row kernels) are not part of this program: tests/literal_port.rs lists each as excluded with its reason. +// the slot / row kernels) are not part of this program. // Not compiled after the re-sync (no nvcc on that host): the sealed PTX is the 2026-10-15 build of the previous // source and experimental::PENDING_RESEAL makes the program refuse to open until the server reseals it. // Sealed 2026-10-15 with nvcc 13.2.86 -ptx -O3 -arch=sm_120 -std=c++17, precise math (the Original builds diff --git a/crates/cuda-driver/src/ffi/context_handle.rs b/crates/cuda-driver/src/ffi/context_handle.rs index 040f2bb6..58349cf0 100644 --- a/crates/cuda-driver/src/ffi/context_handle.rs +++ b/crates/cuda-driver/src/ffi/context_handle.rs @@ -121,7 +121,7 @@ fn routed_ptx(format: RoutedFormat) -> &'static [u8] { // standalone installed-Driver proof is distinct from composition. RoutedFormat::IQ3_XXS => concat!(include_str!("../iq3_xxs_q8_1.ptx"), "\0").as_bytes(), // Root-delivered STRA-149 frozen routed artifact - // 94f798c00813c2fb860b4bf77be9225767d408955e3421330ac34a4ebd43978f. + // ebfcabd456b8cf16608c529b906849e4391096322a88e5a665ac87657a91dde6. RoutedFormat::IQ3_S => concat!(include_str!("../iq3_s_q8_1.ptx"), "\0").as_bytes(), // Root-delivered STRA-150 frozen routed artifact a31e653d. RoutedFormat::IQ2_S => concat!(include_str!("../iq2_s_q8_1.ptx"), "\0").as_bytes(), diff --git a/crates/cuda-driver/src/iq3_s_q8_1.ptx b/crates/cuda-driver/src/iq3_s_q8_1.ptx index afa0a63c..063a8ca8 100644 --- a/crates/cuda-driver/src/iq3_s_q8_1.ptx +++ b/crates/cuda-driver/src/iq3_s_q8_1.ptx @@ -1,7 +1,7 @@ // IQ3_S Q8_1 routed projection; derived from llama.cpp/ggml native Fmt21. // Copyright (c) 2023-2026 The ggml authors. MIT License. -// Native source: engine/strata/src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 -// Grid source: engine/strata/third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c +// Native source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 +// Grid source: Strata 41cf05a0, third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c // Full MIT notice is retained in crates/quant-core/LICENSE-GGML. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/crates/cuda-driver/src/mmq_original_prefill_misc.cu b/crates/cuda-driver/src/mmq_original_prefill_misc.cu index 4b405a6d..bd77d17a 100644 --- a/crates/cuda-driver/src/mmq_original_prefill_misc.cu +++ b/crates/cuda-driver/src/mmq_original_prefill_misc.cu @@ -3,7 +3,7 @@ // Literal Original prefill/moe_mmq.cu kernels that the Rust MMQ owners did not carry: copy1_kernel (the // unaligned branch of gather_native), strata_q2_kernel (a Strata-pack Q2_0 expert blob -> GGUF Q2_0 blocks) and // iota_kernel (the identity row map `ids_identity`, written by Prefill::run at the start of every prompt). -// Bodies are copied verbatim from engine/strata/src/prefill/moe_mmq.cu; only the export names change +// Bodies are copied verbatim from Strata 41cf05a0, src/prefill/moe_mmq.cu; only the export names change // (leleka_original_mmq_*), the anonymous namespace is dropped. Original build flags for this file: // --extended-lambda -use_fast_math (no arithmetic here, so precise/fast-math PTX is identical). // Launch geometry (Original): 256 threads, ceil(n / 256) blocks, n = elements below. diff --git a/crates/cuda-driver/src/moe_group_iq3_s.ptx b/crates/cuda-driver/src/moe_group_iq3_s.ptx index c27b3826..e36a6502 100644 --- a/crates/cuda-driver/src/moe_group_iq3_s.ptx +++ b/crates/cuda-driver/src/moe_group_iq3_s.ptx @@ -1,7 +1,7 @@ // IQ3_S Q8_1 routed projection; derived from llama.cpp/ggml native Fmt21. // Copyright (c) 2023-2026 The ggml authors. MIT License. -// Native source: engine/strata/src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 -// Grid source: engine/strata/third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c +// Native source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 +// Grid source: Strata 41cf05a0, third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c // Full MIT notice is retained in crates/quant-core/LICENSE-GGML. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/crates/cuda-driver/src/moe_group_iq3_s_nc4.ptx b/crates/cuda-driver/src/moe_group_iq3_s_nc4.ptx index 4cb7d856..dfecc878 100644 --- a/crates/cuda-driver/src/moe_group_iq3_s_nc4.ptx +++ b/crates/cuda-driver/src/moe_group_iq3_s_nc4.ptx @@ -5,8 +5,8 @@ // Tail activation loads clamp to last genuine pointer; only live stores write. // IQ3_S Q8_1 routed projection; derived from llama.cpp/ggml native Fmt21. // Copyright (c) 2023-2026 The ggml authors. MIT License. -// Native source: engine/strata/src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 -// Grid source: engine/strata/third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c +// Native source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu SHA256 07fe5567a7fc75a079dcc7887975dffe490607564c16ad884423b903ab08a537 +// Grid source: Strata 41cf05a0, third_party/ggml/ggml-common.h SHA256 0061131b615c5721fc88a78feeb22c1f8c450f1c2646a317d80796a653bf595c // Full MIT notice is retained in crates/quant-core/LICENSE-GGML. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/crates/cuda-driver/src/offline_gdn_fused_t1_kernel.cu b/crates/cuda-driver/src/offline_gdn_fused_t1_kernel.cu index 23e43d45..75c3b129 100644 --- a/crates/cuda-driver/src/offline_gdn_fused_t1_kernel.cu +++ b/crates/cuda-driver/src/offline_gdn_fused_t1_kernel.cu @@ -3,7 +3,7 @@ // i.e. `fused_gdn_conv_l2` + `fused_gdn_ab` + `fused_gdn_step_norm` in place of the decomposed // conv / L2 / alpha-beta / gate / step / out-norm launches. // -// Origin: engine/strata/src/kernels/cuda/fused_gdn.cu (Strata upstream commit recorded in docs/upstream.md): +// Origin: Strata 41cf05a0, src/kernels/cuda/fused_gdn.cu (Strata upstream commit recorded in third_party/strata/UPSTREAM.md): // gdn_conv_l2_kernel, gdn_ab_kernel, gdn_step_norm_kernel. // The bodies below are the original statements unchanged. The ONLY edits: // * each original `__global__` kernel became a `__device__ __forceinline__` body of identical parameters and @@ -19,7 +19,7 @@ // nvcc -ptx -O3 -arch=sm_120 offline_gdn_fused_t1_kernel.cu -o offline_gdn_fused_t1.ptx // The PTX, its length and sha256 are produced and pinned by the toolchain owner (see gdn_fused_t1.rs). // -// Strata is MIT-licensed upstream code of its authors; see engine/strata for the provenance record. +// Strata is MIT-licensed upstream code of its authors; see third_party/strata/UPSTREAM.md for the provenance record. #include diff --git a/crates/cuda-driver/src/offline_gdn_prefill_kernel.cu b/crates/cuda-driver/src/offline_gdn_prefill_kernel.cu index 6bf2ebae..567bda11 100644 --- a/crates/cuda-driver/src/offline_gdn_prefill_kernel.cu +++ b/crates/cuda-driver/src/offline_gdn_prefill_kernel.cu @@ -1,6 +1,6 @@ // STRA-169 candidate source: the Strata PREFILL GDN kernels, transcribed verbatim. // -// Origin: engine/strata/src/prefill/kernels.cu (Strata upstream commit recorded in docs/upstream.md): +// Origin: Strata 41cf05a0, src/prefill/kernels.cu (Strata upstream commit recorded in third_party/strata/UPSTREAM.md): // gdn_gates_kernel, gdn_conv_kernel, gdn_conv_tiled_kernel, gdn_conv_hist_kernel, gdn_l2_kernel, // gdn_rec_cols_pipe_kernel, gdn_out_norm_kernel, and the BF16/FP16 image tail of gr_mix_kernel. // This is NOT the pinned native/decode T1 arithmetic of offline_gdn_kernel.cu (that one stays untouched and keeps @@ -22,7 +22,7 @@ // nvcc -ptx -O3 -arch=sm_120 offline_gdn_prefill_kernel.cu -o offline_gdn_prefill.ptx // The PTX, its length and sha256 are produced and pinned by the toolchain owner (see gdn_native_batch.rs). // -// Strata is MIT-licensed upstream code of its authors; see engine/strata for the provenance record. +// Strata is MIT-licensed upstream code of its authors; see third_party/strata/UPSTREAM.md for the provenance record. #include #include diff --git a/crates/cuda-driver/src/offline_moe_prefill_kernel.cu b/crates/cuda-driver/src/offline_moe_prefill_kernel.cu index dcae3838..77c9f71a 100644 --- a/crates/cuda-driver/src/offline_moe_prefill_kernel.cu +++ b/crates/cuda-driver/src/offline_moe_prefill_kernel.cu @@ -1,6 +1,6 @@ // STRA-169 candidate source: the Strata PREFILL MoE router / shared-expert / combine dispatches, verbatim. // -// Origin: engine/strata/src/prefill/kernels.cu (Strata upstream commit recorded in docs/upstream.md): +// Origin: Strata 41cf05a0, src/prefill/kernels.cu (Strata upstream commit recorded in third_party/strata/UPSTREAM.md): // route_kernel<16> (the 512-expert instantiation chosen by route()), swiglu_pair_kernel, moe_combine_kernel, // and the BF16/FP16 image tail of gr_mix_kernel (bf()/bf_lo()/hf()). // The decode/T1 router asset (moe_route_top10.cu, one token per launch, native_router.cu arithmetic) stays untouched @@ -16,7 +16,7 @@ // nvcc -ptx -O3 -arch=sm_120 offline_moe_prefill_kernel.cu -o offline_moe_prefill.ptx // The PTX, its length and sha256 are produced and pinned by the toolchain owner (see moe_prefill_batch.rs). // -// Strata is MIT-licensed upstream code of its authors; see engine/strata for the provenance record. +// Strata is MIT-licensed upstream code of its authors; see third_party/strata/UPSTREAM.md for the provenance record. #include #include diff --git a/crates/cuda-driver/src/offline_native_dequant_f16_kernel.cu b/crates/cuda-driver/src/offline_native_dequant_f16_kernel.cu index e4d6748e..7ab4573b 100644 --- a/crates/cuda-driver/src/offline_native_dequant_f16_kernel.cu +++ b/crates/cuda-driver/src/offline_native_dequant_f16_kernel.cu @@ -1,6 +1,6 @@ // STRA-169 candidate source: native GGUF blocks -> FP16 dequantization of the Strata prompt path. // -// Origin: engine/strata/src/kernels/cuda/dequant_bf16.cu (group32, dequant_kernel, the H16 output of +// Origin: Strata 41cf05a0, src/kernels/cuda/dequant_bf16.cu (group32, dequant_kernel, the H16 output of // dequant_f16), itself transcribed from ggml/src/ggml-quants.c at the pinned llama.cpp (MIT License, // Copyright (c) 2023-2026 The ggml authors): dequantize_row_q8_0/q4_K/q5_K/q6_K/iq4_nl/iq4_xs. // Only the GGUF types the GDN projections (attn_qkv, attn_gate, ssm_out) can carry are instantiated: diff --git a/crates/cuda-driver/src/offlineproduction_kernel.cu b/crates/cuda-driver/src/offlineproduction_kernel.cu index ca41c456..d051290b 100644 --- a/crates/cuda-driver/src/offlineproduction_kernel.cu +++ b/crates/cuda-driver/src/offlineproduction_kernel.cu @@ -1,5 +1,5 @@ // Adapted from the pinned native operation: -// engine/strata/src/kernels/cuda/native_bf16.cu +// Strata 41cf05a0, src/kernels/cuda/native_bf16.cu // SHA-256 70b44795528fb73d636be5914d60f0adaa849a48cc38f309d327a2976c3ed3da // and exact BF16 bit expansion in bf16_bits.hpp // SHA-256 813b51f17c5c264d642f4d77b3d6e5f35e7ea7310ba87b18b3a2a5bc9185198f. diff --git a/crates/cuda-driver/src/original_verify/window_ops/all_window_assets.rs b/crates/cuda-driver/src/original_verify/window_ops/all_window_assets.rs index 301220fc..00e5bb0e 100644 --- a/crates/cuda-driver/src/original_verify/window_ops/all_window_assets.rs +++ b/crates/cuda-driver/src/original_verify/window_ops/all_window_assets.rs @@ -33,7 +33,7 @@ pub(in super::super) fn all_window_assets() -> Vec<&'static AssetSpec> { } /// The kernel assets that are placeholders or fail their SHA-256 pin (none while every window PTX is the one /// sealed with nvcc 13.2.86 on 2026-10-15): a window cannot be recorded while any is listed -/// (`scripts/build-original-verify-ptx.sh`, `crates/cuda-driver/seal-plans/cuda-seal-plan-additions-window.json`). +/// (`crates/cuda-driver/seal-plans/cuda-seal-plan-additions-window.json`). pub fn unsealed_window_assets() -> Vec<&'static str> { unsealed_keys(all_window_assets()) } diff --git a/crates/cuda-driver/src/original_verify_window_moe_experts.cu b/crates/cuda-driver/src/original_verify_window_moe_experts.cu index 2a3f5f16..581f15fa 100644 --- a/crates/cuda-driver/src/original_verify_window_moe_experts.cu +++ b/crates/cuda-driver/src/original_verify_window_moe_experts.cu @@ -1,7 +1,7 @@ // src/original_verify_window_moe_experts.cu - the grouped native-expert gate/up and down kernels of the // Verifier window (child of `original_verify`, producer family MoE / FFN). // -// Original: engine/strata/src/kernels/cuda/iq_kernels.cu, `native_expert_grouped`: +// Original: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu, `native_expert_grouped`: // // launch_gu -> native_gu_kernel | native_gu_multi_kernel (kSplit selects the second) // swiglu_entries_kernel, quantize_q8_1_kernel (sealed in mtp_original_full_head_iq.ptx) @@ -18,8 +18,8 @@ // STRATA_D_FMTS). The split/non-split choice of `launch_gu` / `launch_down` is made at compile time per type, // exactly as in the Original with STRATA_OLD_IQ_MMVQ unset (the default). // -// Build: scripts/build-original-verify-ptx.sh flags (nvcc --ptx -std=c++17 -O3 -arch=sm_120 --fmad=true --ftz=false); -// engine/strata/CMakeLists.txt gives iq_kernels.cu no per-source options (it is not in the --use_fast_math list). +// Build: precise flags (nvcc --ptx -std=c++17 -O3 -arch=sm_120 --fmad=true --ftz=false); +// Strata 41cf05a0, CMakeLists.txt gives iq_kernels.cu no per-source options (it is not in the --use_fast_math list). #include "mtp_original_full_head_iq.cu" namespace strata::kernels { diff --git a/crates/cuda-driver/src/qwen_ffi/bf16_receipt_types.rs b/crates/cuda-driver/src/qwen_ffi/bf16_receipt_types.rs index 454cb4cd..79e869e3 100644 --- a/crates/cuda-driver/src/qwen_ffi/bf16_receipt_types.rs +++ b/crates/cuda-driver/src/qwen_ffi/bf16_receipt_types.rs @@ -7,12 +7,12 @@ use super::{Asset, H, HC, N, Operation, Receipt, gdn_asset, gr_asset, moe_asset, pub(super) const BF16_RECEIPT: Receipt = Receipt { version: 1, source_sha256: [ - 0xd2, 0xab, 0x43, 0xbd, 0x68, 0x1d, 0x2e, 0x63, 0x41, 0x72, 0xd8, 0xcc, 0x9b, 0xff, 0x87, 0xfb, 0x82, 0xe8, - 0x06, 0x7c, 0x8e, 0x23, 0x2f, 0xf7, 0x8b, 0xf9, 0x61, 0xb0, 0x0d, 0x6d, 0x84, 0x53, + 0xcb, 0xdb, 0x14, 0xbd, 0x51, 0xde, 0xa7, 0x8b, 0x86, 0x7d, 0x12, 0x87, 0xaa, 0x8d, 0x95, 0x17, 0x45, 0xfc, + 0x37, 0xa3, 0xb1, 0x5f, 0xf9, 0xa1, 0x26, 0x83, 0xab, 0xff, 0xb4, 0xa9, 0x66, 0x6a, ], ptx_sha256: [ - 0x04, 0x45, 0x43, 0xf6, 0x81, 0xbb, 0x23, 0xeb, 0x9c, 0xae, 0x60, 0x2b, 0x1a, 0x16, 0xaa, 0x7b, 0x23, 0x86, - 0xd6, 0xd5, 0xc3, 0xb1, 0x5c, 0xc4, 0x19, 0x87, 0x33, 0x8b, 0xd6, 0x13, 0xb1, 0xc3, + 0x8b, 0x0d, 0x71, 0xf3, 0x43, 0xf2, 0xb2, 0xb3, 0x4b, 0x0e, 0x74, 0x2e, 0x3b, 0xb0, 0x8c, 0x21, 0x92, 0xbe, + 0x33, 0xe8, 0x01, 0x6c, 0x21, 0x36, 0xe6, 0x3f, 0xc7, 0xf3, 0x4f, 0x47, 0x7a, 0xaa, ], oracle_sha256: [ 0x70, 0xb4, 0x47, 0x95, 0x52, 0x8f, 0xb7, 0x3d, 0x63, 0x6b, 0xe5, 0x91, 0x4d, 0x60, 0xf0, 0xad, 0xaa, 0x84, diff --git a/crates/cuda-driver/src/s_gemv_legacy.cu b/crates/cuda-driver/src/s_gemv_legacy.cu index 3e2f9924..633b0210 100644 --- a/crates/cuda-driver/src/s_gemv_legacy.cu +++ b/crates/cuda-driver/src/s_gemv_legacy.cu @@ -10,7 +10,7 @@ // The host launchers (argument checks, geometry, cudaDeviceSynchronize) are not carried: see s_gemv_legacy.rs. // Original build flags: default (none of these files is in CMakeLists' fast-math list). STATUS: NOT COMPILED OR RUN // (no nvcc here); executed on the host through oracle/shim (drivers/s_gemv_legacy.cpp). -// Original sources (Strata upstream tree as imported under engine/strata): +// Original sources (Strata upstream tree, 41cf05a0): // s_gemv.cu sha256 46c946cff34b50f252a5d4a6b2f99e0d30b78a6ad741919417566ccb43017e40 // s2_gemv.cu sha256 4d21a4e14e166b02652719c095b25fa7f346c3d0b3dd1009e050e793b2167b9b // s2_gemv_quads.cu sha256 3633ad7b7006fdfc96e7b1aa06733168e2292a5b700c49ece60e121c3db4280c diff --git a/crates/cuda-driver/src/sm120_attn_daily.cu b/crates/cuda-driver/src/sm120_attn_daily.cu index a6799fe9..a47be8b3 100644 --- a/crates/cuda-driver/src/sm120_attn_daily.cu +++ b/crates/cuda-driver/src/sm120_attn_daily.cu @@ -1,7 +1,7 @@ // claude/decode-sm120-switches, switch ATTN_DAILY (upstream STRATA_ATTN_DAILY=1, one of the five bitwise switches that Strata 0.2.6 turns on by -// default on a compute capability 12.0 card, engine/strata/include/strata/core/sm120_series.hpp). +// default on a compute capability 12.0 card, Strata 41cf05a0, include/strata/core/sm120_series.hpp). // -// Source: engine/strata/src/kernels/cuda/qsa_decode_attn.cu at the pinned upstream (docs/upstream.md): +// Source: Strata 41cf05a0, src/kernels/cuda/qsa_decode_attn.cu at the pinned upstream (third_party/strata/UPSTREAM.md): // attn_chunk_kernel_pre75 (PR #540, the Daily's attn_chunk_kernel) -> leleka_qsa_decode_chunk_daily // attn_merge_v2_kernel (the Daily's 3effa9d5) -> leleka_qsa_decode_merge_v2 // Same arithmetic, same operand order as the literal Original `attn_chunk_kernel<1>` / `attn_merge_kernel` of qsa_native_decode.cu that they diff --git a/crates/cuda-driver/src/sm120_down_sub16.cu b/crates/cuda-driver/src/sm120_down_sub16.cu index e06c1232..e2f79651 100644 --- a/crates/cuda-driver/src/sm120_down_sub16.cu +++ b/crates/cuda-driver/src/sm120_down_sub16.cu @@ -1,5 +1,5 @@ // claude/ffn-down-sub16, switch DOWN_SUB16 (D1 of docs/experiments/ffn-phase-loss-design.md; upstream's default down kernel on a compute capability 12.0 card, -// engine/strata/src/kernels/cuda/iq_kernels.cu `native_down_multi_kernel`, the `hb == 20` branches). +// Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu `native_down_multi_kernel`, the `hb == 20` branches). // // The window's grouped routed-expert down projection (`window_moe_down_`: one 32-lane warp per output row, 8 rows a block, grid.y = one block row per // possible group) is replaced for the two down formats the target uses, IQ4_NL (20) and Q2_0 (42), at n_ff 640 by upstream's sub-warp rows: @@ -15,7 +15,7 @@ // probe tools/decode-sm120/sm120_probe.cpp `down` compares every output float of this kernel with `window_moe_down_` byte for byte). The store is // `s * sd` with sd = 1.0f (tail_off 0: no NVFP4 tail), which is exact. // -// Source: engine/strata/src/kernels/cuda/iq_kernels.cu at the pinned upstream (docs/upstream.md), textually included (sm120_iq_prefix.cuh, see +// Source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu at the pinned upstream (third_party/strata/UPSTREAM.md), textually included (sm120_iq_prefix.cuh, see // sm120_gu_swiglu.cu): the traits, the two row dots and GRP_NC are upstream's. A `__global__` template cannot be called from another kernel, so the // body is repeated below as a `__device__` template, and one extern "C" kernel per down format wraps it. Only n_ff == 640 (hb == 20) is covered; the // planner keeps `window_moe_down_` for any other layer. diff --git a/crates/cuda-driver/src/sm120_gr_down_fused.cu b/crates/cuda-driver/src/sm120_gr_down_fused.cu index 7802d4ae..aa52d83b 100644 --- a/crates/cuda-driver/src/sm120_gr_down_fused.cu +++ b/crates/cuda-driver/src/sm120_gr_down_fused.cu @@ -22,7 +22,7 @@ // same text gives the same PTX shape (checked by a unit test that looks for the FMA chain of the sum of squares in the sealed PTX). // // Compile: nvcc -ptx -O3 -arch=sm_120 -std=c++17 --fmad=true --ftz=false (the recipe of chain_window.cu). Self-contained: the 112-byte FusedGrArgs -// layout the sealed chain kernels use is repeated here (the header in engine/strata/include has later fields and is 168 bytes). +// layout the sealed chain kernels use is repeated here (the header in Strata 41cf05a0 include/ has later fields and is 168 bytes). #include #include #include diff --git a/crates/cuda-driver/src/sm120_gu_swiglu.cu b/crates/cuda-driver/src/sm120_gu_swiglu.cu index 156f1e3c..60f878da 100644 --- a/crates/cuda-driver/src/sm120_gu_swiglu.cu +++ b/crates/cuda-driver/src/sm120_gu_swiglu.cu @@ -1,13 +1,13 @@ // claude/decode-sm120-switches, switch GU_SWIGLU (upstream STRATA_GU_SWIGLU=1, one of the five bitwise switches that Strata 0.2.6 turns on by default on a -// compute capability 12.0 card, engine/strata/include/strata/core/sm120_series.hpp; upstream commit 147-verify). +// compute capability 12.0 card, Strata 41cf05a0, include/strata/core/sm120_series.hpp; upstream commit 147-verify). // // The window's grouped routed-expert gate/up kernel (`window_moe_gu_`, the old pin's native_gu_multi_kernel: one 32-lane warp per row), the entry-wise // SwiGLU (`swiglu_entries_kernel`) and the q8_1 quantizer (`quantize_q8_1_kernel`) are replaced by ONE launch of upstream's `native_gu_swiglu_kernel`: // 16-lane sub-warp rows (`row_dot2_80_sub16`: a gate row and its up row at once, 100 % active lanes where the warp-per-row kernel idles half of them on its third // pass), the SwiGLU product formed in the block and quantized there (`q8_1_store`), so the gate / up floats never round-trip through memory. // -// Source: engine/strata/src/kernels/cuda/iq_kernels.cu at the pinned upstream (docs/upstream.md), textually included (sm120_iq_prefix.cuh: the file up to the dequant -// banner, generated by scripts/decode-sm120/make_iq_prefix.py; the whole file's host launchers would instantiate ~60 MB of PTX) so every trait, row dot, q8_1_store and the +// Source: Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu at the pinned upstream (third_party/strata/UPSTREAM.md), textually included (sm120_iq_prefix.cuh: the file up to the dequant +// banner, copied unchanged; the whole file's host launchers would instantiate ~60 MB of PTX) so every trait, row dot, q8_1_store and the // grid staging are upstream's. A `__global__` template cannot be called from another kernel, so the body of native_gu_swiglu_kernel is repeated below as a // `__device__` template, line for line, and one extern "C" kernel per gate/up format wraps it. The staging default is upstream's on a 12.0 card // (`launch_gu_swiglu`: stage the codebook for 16 / 17 / 22 / 29, not for IQ3_XXS / IQ3_S (STRATA_IQ_STAGE_TABLES off), none for 23 / 42). diff --git a/crates/cuda-driver/src/sm120_iq_prefix.cuh b/crates/cuda-driver/src/sm120_iq_prefix.cuh index 91064d71..71f81bac 100644 --- a/crates/cuda-driver/src/sm120_iq_prefix.cuh +++ b/crates/cuda-driver/src/sm120_iq_prefix.cuh @@ -1,5 +1,5 @@ -// GENERATED by scripts/decode-sm120/make_iq_prefix.py from engine/strata/src/kernels/cuda/iq_kernels.cu (the pinned upstream, docs/upstream.md): the file up to the dequant banner, -// unchanged. Do not edit; `make_iq_prefix.py --check` compares it with the engine tree. Opens `namespace strata::kernels { namespace {` and leaves both open. +// Copied from Strata 41cf05a0, src/kernels/cuda/iq_kernels.cu (the pinned upstream, third_party/strata/UPSTREAM.md): the file up to the dequant banner, +// unchanged. Do not edit; it is a verbatim copy of that range. Opens `namespace strata::kernels { namespace {` and leaves both open. // src/kernels/cuda/iq_kernels.cu - see include/strata/kernels/iq_kernels.hpp. // // The dot products (vec_dot_*_q8_1), the dequantizers and the q8_1 quantizer are transcribed from llama.cpp diff --git a/crates/cuda-driver/src/sm120_wait_copy_rows.cu b/crates/cuda-driver/src/sm120_wait_copy_rows.cu index 08fda9b7..9eb6ab83 100644 --- a/crates/cuda-driver/src/sm120_wait_copy_rows.cu +++ b/crates/cuda-driver/src/sm120_wait_copy_rows.cu @@ -1,7 +1,7 @@ // verify window, FFN phase (docs/experiments/ffn-phase-loss-design.md, D3): LELEKA_SM120_WAIT_M_ROWS. // // The wait on flag M (the CPU leg's rows are in the mapped buffer) folded into the copy of those rows: upstream's -// `copy_rows_from_mapped_after` (engine/strata/src/kernels/cuda/elementwise.cu 240-262, verify.cpp 2189), one kernel +// `copy_rows_from_mapped_after` (Strata 41cf05a0, src/kernels/cuda/elementwise.cu 240-262, verify.cpp 2189), one kernel // node fewer a layer. It replaces the pair // verify_wait_flag_ge_kernel (original_verify.cu: 1 block of 1 thread, `while (*flag < v) nanosleep(100); // __threadfence_system();`) diff --git a/crates/cuda-driver/src/sm86_table.rs b/crates/cuda-driver/src/sm86_table.rs index c83efd74..6fb1941d 100644 --- a/crates/cuda-driver/src/sm86_table.rs +++ b/crates/cuda-driver/src/sm86_table.rs @@ -56,9 +56,10 @@ pub(crate) static COMPANIONS: &[Companion] = &JOINED; mod tests { use super::{COMPANIONS, ROWS}; - /// SHA-256 over the per-row digests of (name NUL, key, len as u64 LE, sha, ptx) in table order: the value computed - /// from the single 934-line table that this layout replaced. - const FORMER_TABLE_DIGEST: &str = "803b3cb0fd174a73d78bb727989f0c08066b3d052b647c052cc26bd6e84de3fc"; + /// SHA-256 over the per-row digests of (name NUL, key, len as u64 LE, sha, ptx) in table order: first computed + /// from the single 934-line table that this layout replaced, recomputed when four companions changed their + /// header comments (STRA-407). + const FORMER_TABLE_DIGEST: &str = "c06e99e69866d603498f5e3792dbee45917e4dd80ff93153b592ce9ed5e8b30c"; fn hex(bytes: &[u8]) -> String { bytes.iter().map(|b| format!("{b:02x}")).collect() diff --git a/crates/cuda-driver/src/sm86_table/companion_rows_highest_keys.rs b/crates/cuda-driver/src/sm86_table/companion_rows_highest_keys.rs index 0ff8ac3b..5a00a700 100644 --- a/crates/cuda-driver/src/sm86_table/companion_rows_highest_keys.rs +++ b/crates/cuda-driver/src/sm86_table/companion_rows_highest_keys.rs @@ -4,19 +4,6 @@ use super::Companion; /// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. #[rustfmt::skip] pub(super) const ROWS: &[Companion] = &[ - Companion { - name: "original_verify.ptx", - key: [ - 0xd0, 0xda, 0xda, 0x67, 0x15, 0xfb, 0x80, 0x8b, 0xb3, 0x28, 0x82, 0x91, 0xfd, 0x4a, 0x5c, 0x29, - 0xe7, 0x8f, 0xd7, 0xfa, 0x6e, 0x70, 0xf2, 0xb9, 0x4d, 0x22, 0x0f, 0x86, 0x0b, 0xb4, 0x33, 0x53, - ], - len: 154200, - sha: [ - 0xba, 0x92, 0xfe, 0x4e, 0x9b, 0x5a, 0xe0, 0x48, 0x86, 0x4a, 0x1c, 0xcb, 0xa8, 0x64, 0x50, 0x22, - 0x4a, 0x07, 0x83, 0x67, 0x2c, 0x0c, 0x2b, 0x99, 0xe4, 0xec, 0x32, 0x02, 0xe1, 0x66, 0x03, 0x55, - ], - ptx: concat!(include_str!("../../ptx-sm86/original_verify.ptx"), "\0").as_bytes(), - }, Companion { name: "mtp_original_full_quant80.ptx", key: [ @@ -186,6 +173,19 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/qsa_late.ptx"), "\0").as_bytes(), }, + Companion { + name: "iq3_s_q8_1.ptx", + key: [ + 0xeb, 0xfc, 0xab, 0xd4, 0x56, 0xb8, 0xcf, 0x16, 0x60, 0x8c, 0x52, 0x9b, 0x90, 0x68, 0x49, 0xe4, + 0x39, 0x10, 0x96, 0x32, 0x2a, 0x88, 0xe5, 0xa6, 0x65, 0xac, 0x87, 0x65, 0x7a, 0x91, 0xdd, 0xe6, + ], + len: 24718, + sha: [ + 0x46, 0xa6, 0x4e, 0x15, 0x1b, 0xbd, 0xfe, 0x0e, 0x5b, 0x3a, 0x4b, 0x36, 0xe6, 0xab, 0xab, 0x39, + 0x6a, 0xee, 0xd0, 0x26, 0x87, 0x2b, 0x60, 0x8e, 0x76, 0xb9, 0xa4, 0x82, 0xbe, 0xa8, 0x24, 0x0a, + ], + ptx: concat!(include_str!("../../ptx-sm86/iq3_s_q8_1.ptx"), "\0").as_bytes(), + }, Companion { name: "kar_decode_levels.ptx", key: [ diff --git a/crates/cuda-driver/src/sm86_table/companion_rows_lower_keys.rs b/crates/cuda-driver/src/sm86_table/companion_rows_lower_keys.rs index d3d42016..ddd29883 100644 --- a/crates/cuda-driver/src/sm86_table/companion_rows_lower_keys.rs +++ b/crates/cuda-driver/src/sm86_table/companion_rows_lower_keys.rs @@ -4,19 +4,6 @@ use super::Companion; /// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. #[rustfmt::skip] pub(super) const ROWS: &[Companion] = &[ - Companion { - name: "mtp_original_prefill_fixup.ptx", - key: [ - 0x29, 0xfd, 0x3f, 0x75, 0x98, 0x64, 0x39, 0x75, 0x7c, 0x3a, 0x6e, 0xb1, 0x7d, 0x93, 0xe3, 0xed, - 0x12, 0x4c, 0xc4, 0x18, 0x51, 0x97, 0xa2, 0xb4, 0x45, 0x84, 0x10, 0xd1, 0xe7, 0xf7, 0xec, 0x4b, - ], - len: 325813, - sha: [ - 0x43, 0xa2, 0xa5, 0x24, 0x43, 0xcf, 0x7a, 0x2e, 0x2e, 0xe6, 0x58, 0xf5, 0x93, 0xb0, 0xfe, 0xb3, - 0x93, 0x3d, 0xb7, 0x37, 0x93, 0x69, 0xef, 0x19, 0x15, 0xfe, 0x23, 0x99, 0x6a, 0xca, 0xda, 0x84, - ], - ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill_fixup.ptx"), "\0").as_bytes(), - }, Companion { name: "iq4_xs_q8_1.ptx", key: [ @@ -186,6 +173,19 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/q6_k_q8_1.ptx"), "\0").as_bytes(), }, + Companion { + name: "moe_group_iq3_s.ptx", + key: [ + 0x46, 0xb0, 0xd5, 0x36, 0x5a, 0x15, 0x29, 0xc6, 0x5f, 0x47, 0x8a, 0xa5, 0x33, 0x50, 0x89, 0xe5, + 0x6e, 0xb6, 0x24, 0x37, 0x0f, 0x9c, 0x17, 0xc8, 0x7e, 0x79, 0xb7, 0x36, 0x9f, 0x0e, 0x7b, 0x8a, + ], + len: 25120, + sha: [ + 0x0e, 0x5e, 0x04, 0x34, 0x42, 0x10, 0x77, 0x51, 0x62, 0x13, 0x07, 0x9c, 0x02, 0xd9, 0xf9, 0x8f, + 0xf4, 0xbc, 0xfa, 0x46, 0x34, 0x79, 0x03, 0x78, 0x6e, 0x1d, 0xec, 0xd5, 0x20, 0xbb, 0xfd, 0x14, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_s.ptx"), "\0").as_bytes(), + }, Companion { name: "moe_route_top10.ptx", key: [ @@ -277,19 +277,6 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/device_poison.ptx"), "\0").as_bytes(), }, - Companion { - name: "moe_group_iq3_s.ptx", - key: [ - 0x58, 0xd0, 0x68, 0xff, 0x3a, 0xcc, 0x42, 0x11, 0x61, 0x4f, 0x70, 0xab, 0x04, 0x70, 0x3a, 0x40, - 0x85, 0x8e, 0x14, 0x8f, 0x9a, 0xef, 0x85, 0x03, 0xed, 0x66, 0xf7, 0x64, 0x0a, 0xe2, 0xe2, 0xaa, - ], - len: 25114, - sha: [ - 0x36, 0xc2, 0xf6, 0x8c, 0x0d, 0x3a, 0x3c, 0x52, 0x47, 0x87, 0xec, 0xf0, 0x3a, 0x1f, 0x33, 0xe2, - 0xda, 0x93, 0x0a, 0x49, 0x17, 0x41, 0x9e, 0xa5, 0x89, 0x3c, 0xca, 0xa2, 0x8c, 0x33, 0xa8, 0x8c, - ], - ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_s.ptx"), "\0").as_bytes(), - }, Companion { name: "original_sampler.ptx", key: [ @@ -355,4 +342,17 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/ple_value_full_fixed.ptx"), "\0").as_bytes(), }, + Companion { + name: "q5_k_q8_1.ptx", + key: [ + 0x65, 0xcd, 0x98, 0x13, 0x8e, 0x2a, 0xd9, 0xd1, 0xc2, 0x71, 0x1f, 0xf7, 0xfc, 0x27, 0x28, 0x0f, + 0x07, 0xf1, 0xa2, 0x24, 0xfc, 0xdd, 0x2a, 0xbe, 0xea, 0x9b, 0xed, 0xf9, 0xd9, 0xd3, 0xff, 0xfc, + ], + len: 33608, + sha: [ + 0x24, 0x64, 0xea, 0x04, 0x0f, 0xfa, 0x4d, 0xa2, 0x03, 0xe7, 0xde, 0xe9, 0x14, 0x5a, 0x1e, 0xa9, + 0x88, 0xdb, 0x90, 0x2d, 0xff, 0xe7, 0xa1, 0x6d, 0x4f, 0x2c, 0xf1, 0x77, 0xcd, 0x7d, 0x32, 0xd6, + ], + ptx: concat!(include_str!("../../ptx-sm86/q5_k_q8_1.ptx"), "\0").as_bytes(), + }, ]; diff --git a/crates/cuda-driver/src/sm86_table/companion_rows_lowest_keys.rs b/crates/cuda-driver/src/sm86_table/companion_rows_lowest_keys.rs index d0688641..f8efd8c8 100644 --- a/crates/cuda-driver/src/sm86_table/companion_rows_lowest_keys.rs +++ b/crates/cuda-driver/src/sm86_table/companion_rows_lowest_keys.rs @@ -43,19 +43,6 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/kar_ple_fixed.ptx"), "\0").as_bytes(), }, - Companion { - name: "bf16_f32_mmvf.ptx", - key: [ - 0x04, 0x45, 0x43, 0xf6, 0x81, 0xbb, 0x23, 0xeb, 0x9c, 0xae, 0x60, 0x2b, 0x1a, 0x16, 0xaa, 0x7b, - 0x23, 0x86, 0xd6, 0xd5, 0xc3, 0xb1, 0x5c, 0xc4, 0x19, 0x87, 0x33, 0x8b, 0xd6, 0x13, 0xb1, 0xc3, - ], - len: 5875, - sha: [ - 0x54, 0xa3, 0x31, 0x46, 0x55, 0x8e, 0xf7, 0x6c, 0x81, 0x7f, 0xc8, 0xe5, 0x56, 0xf7, 0x09, 0x22, - 0x8f, 0x90, 0xe2, 0xcc, 0xd6, 0x56, 0x5f, 0x57, 0xc4, 0xf8, 0xec, 0x46, 0x46, 0xe6, 0xc4, 0x42, - ], - ptx: concat!(include_str!("../../ptx-sm86/bf16_f32_mmvf.ptx"), "\0").as_bytes(), - }, Companion { name: "moe_group_iq4_xs_nc4.ptx", key: [ @@ -355,4 +342,17 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/mmq-original-formats.ptx"), "\0").as_bytes(), }, + Companion { + name: "mtp_original_prefill_fixup.ptx", + key: [ + 0x29, 0xfd, 0x3f, 0x75, 0x98, 0x64, 0x39, 0x75, 0x7c, 0x3a, 0x6e, 0xb1, 0x7d, 0x93, 0xe3, 0xed, + 0x12, 0x4c, 0xc4, 0x18, 0x51, 0x97, 0xa2, 0xb4, 0x45, 0x84, 0x10, 0xd1, 0xe7, 0xf7, 0xec, 0x4b, + ], + len: 325813, + sha: [ + 0x43, 0xa2, 0xa5, 0x24, 0x43, 0xcf, 0x7a, 0x2e, 0x2e, 0xe6, 0x58, 0xf5, 0x93, 0xb0, 0xfe, 0xb3, + 0x93, 0x3d, 0xb7, 0x37, 0x93, 0x69, 0xef, 0x19, 0x15, 0xfe, 0x23, 0x99, 0x6a, 0xca, 0xda, 0x84, + ], + ptx: concat!(include_str!("../../ptx-sm86/mtp_original_prefill_fixup.ptx"), "\0").as_bytes(), + }, ]; diff --git a/crates/cuda-driver/src/sm86_table/companion_rows_middle_keys.rs b/crates/cuda-driver/src/sm86_table/companion_rows_middle_keys.rs index f0b1820d..051b112e 100644 --- a/crates/cuda-driver/src/sm86_table/companion_rows_middle_keys.rs +++ b/crates/cuda-driver/src/sm86_table/companion_rows_middle_keys.rs @@ -4,19 +4,6 @@ use super::Companion; /// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. #[rustfmt::skip] pub(super) const ROWS: &[Companion] = &[ - Companion { - name: "q5_k_q8_1.ptx", - key: [ - 0x65, 0xcd, 0x98, 0x13, 0x8e, 0x2a, 0xd9, 0xd1, 0xc2, 0x71, 0x1f, 0xf7, 0xfc, 0x27, 0x28, 0x0f, - 0x07, 0xf1, 0xa2, 0x24, 0xfc, 0xdd, 0x2a, 0xbe, 0xea, 0x9b, 0xed, 0xf9, 0xd9, 0xd3, 0xff, 0xfc, - ], - len: 33608, - sha: [ - 0x24, 0x64, 0xea, 0x04, 0x0f, 0xfa, 0x4d, 0xa2, 0x03, 0xe7, 0xde, 0xe9, 0x14, 0x5a, 0x1e, 0xa9, - 0x88, 0xdb, 0x90, 0x2d, 0xff, 0xe7, 0xa1, 0x6d, 0x4f, 0x2c, 0xf1, 0x77, 0xcd, 0x7d, 0x32, 0xd6, - ], - ptx: concat!(include_str!("../../ptx-sm86/q5_k_q8_1.ptx"), "\0").as_bytes(), - }, Companion { name: "native_head_iq.ptx", key: [ @@ -134,6 +121,19 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/head_greedy.ptx"), "\0").as_bytes(), }, + Companion { + name: "moe_group_iq3_s_nc4.ptx", + key: [ + 0x7a, 0x13, 0x91, 0x1f, 0x99, 0x8d, 0x38, 0xbb, 0xa5, 0xc5, 0x28, 0x62, 0xf9, 0x27, 0x99, 0xd1, + 0x7a, 0x66, 0x2e, 0x84, 0x27, 0xc1, 0xcd, 0xff, 0x24, 0xf0, 0x1c, 0x1f, 0x30, 0xa7, 0xfd, 0x94, + ], + len: 36388, + sha: [ + 0xe1, 0x2d, 0xea, 0x8f, 0x92, 0x1e, 0xfd, 0x99, 0xc9, 0x48, 0x30, 0x12, 0xf8, 0xda, 0x00, 0xc5, + 0xba, 0x1b, 0xa6, 0x6b, 0x04, 0x44, 0xff, 0x4b, 0xa9, 0x8f, 0xed, 0x49, 0x03, 0xed, 0x51, 0xe5, + ], + ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_s_nc4.ptx"), "\0").as_bytes(), + }, Companion { name: "mtp_gr_fixed.ptx", key: [ @@ -290,6 +290,19 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_indexer.ptx"), "\0").as_bytes(), }, + Companion { + name: "bf16_f32_mmvf.ptx", + key: [ + 0x8b, 0x0d, 0x71, 0xf3, 0x43, 0xf2, 0xb2, 0xb3, 0x4b, 0x0e, 0x74, 0x2e, 0x3b, 0xb0, 0x8c, 0x21, + 0x92, 0xbe, 0x33, 0xe8, 0x01, 0x6c, 0x21, 0x36, 0xe6, 0x3f, 0xc7, 0xf3, 0x4f, 0x47, 0x7a, 0xaa, + ], + len: 5878, + sha: [ + 0x29, 0xe6, 0xa2, 0x66, 0xd9, 0x60, 0x8d, 0xf5, 0xff, 0x00, 0xc8, 0x7c, 0xa8, 0x29, 0x6c, 0x55, + 0xf4, 0xea, 0x53, 0xed, 0x4d, 0x1f, 0xe0, 0x1f, 0x0b, 0x78, 0x5b, 0x76, 0x98, 0x4d, 0x43, 0x18, + ], + ptx: concat!(include_str!("../../ptx-sm86/bf16_f32_mmvf.ptx"), "\0").as_bytes(), + }, Companion { name: "qsa_prompt_resolver.ptx", key: [ @@ -342,17 +355,4 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/qsa_prompt_attention_variants.ptx"), "\0").as_bytes(), }, - Companion { - name: "qwen_qsa_attention.ptx", - key: [ - 0x91, 0x21, 0x9c, 0xfb, 0xc1, 0xa7, 0x7c, 0x4b, 0xb6, 0x66, 0x61, 0x06, 0x0a, 0xc9, 0x39, 0xa5, - 0x0d, 0xc4, 0xc4, 0xd7, 0xd4, 0xdb, 0x8d, 0x50, 0xbc, 0x59, 0xfb, 0xcd, 0x16, 0x75, 0x62, 0xb2, - ], - len: 26737, - sha: [ - 0xc1, 0x11, 0xc6, 0x12, 0x6a, 0x3a, 0x67, 0x5e, 0xc8, 0x87, 0x20, 0x88, 0x1d, 0x46, 0x99, 0xa6, - 0xe7, 0x21, 0x84, 0xd2, 0xf4, 0x55, 0x87, 0x9a, 0xe0, 0x85, 0x5c, 0x56, 0xb8, 0x48, 0xbe, 0xa1, - ], - ptx: concat!(include_str!("../../ptx-sm86/qwen_qsa_attention.ptx"), "\0").as_bytes(), - }, ]; diff --git a/crates/cuda-driver/src/sm86_table/companion_rows_upper_keys.rs b/crates/cuda-driver/src/sm86_table/companion_rows_upper_keys.rs index 8a6936a9..f58fda57 100644 --- a/crates/cuda-driver/src/sm86_table/companion_rows_upper_keys.rs +++ b/crates/cuda-driver/src/sm86_table/companion_rows_upper_keys.rs @@ -4,6 +4,19 @@ use super::Companion; /// Sorted by `key`; concatenated with the other parts by `super::COMPANIONS`. #[rustfmt::skip] pub(super) const ROWS: &[Companion] = &[ + Companion { + name: "qwen_qsa_attention.ptx", + key: [ + 0x91, 0x21, 0x9c, 0xfb, 0xc1, 0xa7, 0x7c, 0x4b, 0xb6, 0x66, 0x61, 0x06, 0x0a, 0xc9, 0x39, 0xa5, + 0x0d, 0xc4, 0xc4, 0xd7, 0xd4, 0xdb, 0x8d, 0x50, 0xbc, 0x59, 0xfb, 0xcd, 0x16, 0x75, 0x62, 0xb2, + ], + len: 26737, + sha: [ + 0xc1, 0x11, 0xc6, 0x12, 0x6a, 0x3a, 0x67, 0x5e, 0xc8, 0x87, 0x20, 0x88, 0x1d, 0x46, 0x99, 0xa6, + 0xe7, 0x21, 0x84, 0xd2, 0xf4, 0x55, 0x87, 0x9a, 0xe0, 0x85, 0x5c, 0x56, 0xb8, 0x48, 0xbe, 0xa1, + ], + ptx: concat!(include_str!("../../ptx-sm86/qwen_qsa_attention.ptx"), "\0").as_bytes(), + }, Companion { name: "moe_group_down_q2_0.ptx", key: [ @@ -17,19 +30,6 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/moe_group_down_q2_0.ptx"), "\0").as_bytes(), }, - Companion { - name: "iq3_s_q8_1.ptx", - key: [ - 0x94, 0xf7, 0x98, 0xc0, 0x08, 0x13, 0xc2, 0xfb, 0x86, 0x0b, 0x4b, 0xf7, 0x7b, 0xe9, 0x22, 0x57, - 0x67, 0xd4, 0x08, 0x95, 0x5e, 0x34, 0x21, 0x33, 0x0a, 0xc3, 0x4a, 0x4e, 0xbd, 0x43, 0x97, 0x8f, - ], - len: 24712, - sha: [ - 0xb1, 0x98, 0x60, 0x07, 0x0e, 0x69, 0xdc, 0xcd, 0x5e, 0x98, 0xd1, 0xe6, 0xbc, 0x7c, 0xdd, 0xcd, - 0xa2, 0x92, 0x8e, 0xfb, 0xd3, 0xf0, 0xbd, 0x21, 0x56, 0x8f, 0xd1, 0xae, 0x7d, 0x4a, 0xe9, 0x27, - ], - ptx: concat!(include_str!("../../ptx-sm86/iq3_s_q8_1.ptx"), "\0").as_bytes(), - }, Companion { name: "mtp_original_full_gr_post.ptx", key: [ @@ -290,19 +290,6 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/mtp_original_full_router.ptx"), "\0").as_bytes(), }, - Companion { - name: "moe_group_iq3_s_nc4.ptx", - key: [ - 0xbe, 0x6e, 0xe9, 0x07, 0xc0, 0xb3, 0x70, 0xcb, 0x99, 0x89, 0x4a, 0x03, 0x41, 0x94, 0x66, 0xf1, - 0xaa, 0x46, 0x5b, 0xa9, 0xb8, 0xe2, 0xe8, 0xcf, 0x60, 0x38, 0x87, 0xf5, 0x34, 0x45, 0x0d, 0x0c, - ], - len: 36382, - sha: [ - 0x23, 0xb7, 0x02, 0xaa, 0xf1, 0x27, 0x8d, 0xd3, 0xd4, 0x36, 0x14, 0x2b, 0x9c, 0x27, 0x32, 0x19, - 0x21, 0xf3, 0x6d, 0xda, 0x76, 0x06, 0xd1, 0xf7, 0x56, 0x97, 0x3e, 0x5d, 0xfc, 0xbd, 0x45, 0x37, - ], - ptx: concat!(include_str!("../../ptx-sm86/moe_group_iq3_s_nc4.ptx"), "\0").as_bytes(), - }, Companion { name: "mtp_original_full_verify.ptx", key: [ @@ -355,4 +342,17 @@ pub(super) const ROWS: &[Companion] = &[ ], ptx: concat!(include_str!("../../ptx-sm86/original_verify_window_pcie.ptx"), "\0").as_bytes(), }, + Companion { + name: "original_verify.ptx", + key: [ + 0xd0, 0xda, 0xda, 0x67, 0x15, 0xfb, 0x80, 0x8b, 0xb3, 0x28, 0x82, 0x91, 0xfd, 0x4a, 0x5c, 0x29, + 0xe7, 0x8f, 0xd7, 0xfa, 0x6e, 0x70, 0xf2, 0xb9, 0x4d, 0x22, 0x0f, 0x86, 0x0b, 0xb4, 0x33, 0x53, + ], + len: 154200, + sha: [ + 0xba, 0x92, 0xfe, 0x4e, 0x9b, 0x5a, 0xe0, 0x48, 0x86, 0x4a, 0x1c, 0xcb, 0xa8, 0x64, 0x50, 0x22, + 0x4a, 0x07, 0x83, 0x67, 0x2c, 0x0c, 0x2b, 0x99, 0xe4, 0xec, 0x32, 0x02, 0xe1, 0x66, 0x03, 0x55, + ], + ptx: concat!(include_str!("../../ptx-sm86/original_verify.ptx"), "\0").as_bytes(), + }, ]; diff --git a/crates/cuda-model/src/original_prefill_schedule.rs b/crates/cuda-model/src/original_prefill_schedule.rs index d25abe10..0f3012dd 100644 --- a/crates/cuda-model/src/original_prefill_schedule.rs +++ b/crates/cuda-model/src/original_prefill_schedule.rs @@ -9,7 +9,7 @@ //! runtime executor have an executable specification of the order they must reproduce, and //! * a ring/event simulator ([`check_trace`]) proves slot reuse safety and the absence of waits on events that //! have not been recorded. -//! Golden traces come from `oracle/gen_prefill_ring_trace.py`, which EXTRACTS the Original's scheduling code +//! Golden traces come from an offline run that EXTRACTS the Original's scheduling code //! verbatim (sequence builder, issue/give-back lambdas, stage_one, the walks, the PLE block, the fusion line) into a //! host harness with logging cuda stubs; `tests::*golden*` replays every scenario and compares text lines. //! diff --git a/crates/engine-core/src/conversation/golden_cache.rs b/crates/engine-core/src/conversation/golden_cache.rs index 07a396b0..3c5ac4e0 100644 --- a/crates/engine-core/src/conversation/golden_cache.rs +++ b/crates/engine-core/src/conversation/golden_cache.rs @@ -1,5 +1,5 @@ //! Differential tests against fixtures produced by compiling the ORIGINAL -//! C++ headers (`golden/gen_cache_golden.cpp`, rebuilt by `golden/gen.sh`): +//! C++ headers: //! random buffer/eviction/meminfo/admission cases and long cache operation //! traces. Every observable of the C++ run is compared to this port. diff --git a/crates/engine-core/src/conversation/golden_manager.rs b/crates/engine-core/src/conversation/golden_manager.rs index f82dd43f..c216ff29 100644 --- a/crates/engine-core/src/conversation/golden_manager.rs +++ b/crates/engine-core/src/conversation/golden_manager.rs @@ -1,5 +1,5 @@ //! Differential test of [`ConversationManager`] against the conversation -//! block of `generate.cpp` (transliterated in `golden/gen_manager_golden.cpp` +//! block of `generate.cpp` (transliterated into a host program //! over the real C++ cache, eviction policy and memory admission): 28 random //! serving traces of 30 requests each, with parking budgets, memory telemetry, //! steering flips, cancelled prompts, invalid parked images and the diff --git a/crates/engine-core/src/conversation/snapshot_tests/golden_state.rs b/crates/engine-core/src/conversation/snapshot_tests/golden_state.rs index b412eb3a..7a723f9e 100644 --- a/crates/engine-core/src/conversation/snapshot_tests/golden_state.rs +++ b/crates/engine-core/src/conversation/snapshot_tests/golden_state.rs @@ -4,7 +4,7 @@ use super::{ConversationCheckpoint, ConversationKv, SavedConversation}; // --------------------------------------------------------------------------------------------------------------- -// Differential tests against the ORIGINAL C++ (golden/gen_state_golden.cpp). +// Differential tests against the ORIGINAL C++ (Strata 41cf05a0 host build). pub(super) fn golden_state() -> serde_json::Value { serde_json::from_str(include_str!("../golden/state_golden.json")).expect("state golden parses") diff --git a/crates/engine-qwen35-cuda/tests/stra161_reference.rs b/crates/engine-qwen35-cuda/tests/stra161_reference.rs index f0adf105..3301155c 100644 --- a/crates/engine-qwen35-cuda/tests/stra161_reference.rs +++ b/crates/engine-qwen35-cuda/tests/stra161_reference.rs @@ -1,5 +1,5 @@ // Independent original-source literals frozen before STRA161 candidate. -// Generated offline by stra161_reference/reference.py; imports no candidate. +// Generated offline from the Original's source; imports no candidate. #![allow(dead_code)] pub struct HashCase { pub name: &'static str, diff --git a/crates/engine-qwen35-cuda/tests/stra161_reference/fixtures.json b/crates/engine-qwen35-cuda/tests/stra161_reference/fixtures.json index f3891929..07dc585e 100644 --- a/crates/engine-qwen35-cuda/tests/stra161_reference/fixtures.json +++ b/crates/engine-qwen35-cuda/tests/stra161_reference/fixtures.json @@ -2,11 +2,11 @@ "schema": "stra161-independent-reference-v1", "provenance": "Original source and preexisting independent PLE literal vectors, no candidate imports", "sources": { - "engine/strata/src/kernels/ngram.cpp": "111c0ef89403af9d4a7ab2ce45bd5fc95291fca326be46e83652b2fba65bead0", - "engine/strata/src/kernels/ple_oracle_vectors.inc": "81db49806af4a3c8d333cb00ad0353a322b61f34f62e96a1eaffe4b782611fd3", + "Strata 41cf05a0, src/kernels/ngram.cpp": "111c0ef89403af9d4a7ab2ce45bd5fc95291fca326be46e83652b2fba65bead0", + "Strata 41cf05a0, src/kernels/ple_oracle_vectors.inc": "81db49806af4a3c8d333cb00ad0353a322b61f34f62e96a1eaffe4b782611fd3", "crates/model-format/src/qwen4exp.rs": "8b3361c89c197a8c98baff83505e2158f17362be622bc2b39c77b5589d34d120", - "engine/strata/src/kernels/cuda/ple.cu": "afcd6efac591acf6c7ff95d8c756a782cfa6dbb4490146f924cb32a55d9d6262", - "engine/strata/src/kernels/cuda/native_ple_postops.cu": "91849f4257d6ee9c85b1dc04cb16397963eac51d725aa31575e63c8f0d0f56f4" + "Strata 41cf05a0, src/kernels/cuda/ple.cu": "afcd6efac591acf6c7ff95d8c756a782cfa6dbb4490146f924cb32a55d9d6262", + "Strata 41cf05a0, src/kernels/cuda/native_ple_postops.cu": "91849f4257d6ee9c85b1dc04cb16397963eac51d725aa31575e63c8f0d0f56f4" }, "multipliers": [ 23703573157769, diff --git a/crates/experimental-ref/src/keyless/tests.rs b/crates/experimental-ref/src/keyless/tests.rs index 6af337c7..226c8c22 100644 --- a/crates/experimental-ref/src/keyless/tests.rs +++ b/crates/experimental-ref/src/keyless/tests.rs @@ -114,7 +114,7 @@ fn write_artifact(m: &Model, matrix_value: f32) -> Vec { for v in [1u32, m.g.qsa_layers.len() as u32, m.g.n_head, m.g.head_dim] { out.extend_from_slice(&v.to_le_bytes()); } - // layout of scripts/prepare-keyless-routing.py: "<8s4I", then per layer " { fn clock_json(&self) -> String { format!( - " \"clock_calibration\": {{\"method\": {}, \"source\": \"engine/strata/src/kernels/cpu/tq_cpu_parity.cpp \ - --bench: core_ghz() lines 273-284, time_slice() lines 290-304; the dependent-add chain needs inline \ - assembly, so the safe Rust twin chains multiplies\", \"drop_rule\": {{\"source_file\": \ - \"engine/strata/src/kernels/cpu/tq_cpu_parity.cpp\", \"source_line\": 303, \"source_text\": \"std::fabs(g1 \ + " \"clock_calibration\": {{\"method\": {}, \"source\": \"Strata 41cf05a0, \ + src/kernels/cpu/tq_cpu_parity.cpp --bench: core_ghz() lines 273-284, time_slice() lines 290-304; the \ + dependent-add chain needs inline assembly, so the safe Rust twin chains multiplies\", \"drop_rule\": \ + {{\"source_file\": \"Strata 41cf05a0, src/kernels/cpu/tq_cpu_parity.cpp\", \"source_line\": 303, \ + \"source_text\": \"std::fabs(g1 \ - g0) > 0.05 * g0\", \"fraction\": {}, \"meaning\": \"a slice whose calibrated clock moved by more than 5 \ percent between its before and after calibration is dropped\"}}, \"slice_ms_source\": \ \"tq_cpu_parity.cpp:461 slice_ms = quick ? 40 : 60\", \"ghz_at_start\": {}, \"ghz_at_end\": {}, \ diff --git a/crates/offline-tools/src/lib.rs b/crates/offline-tools/src/lib.rs index 8dd99d05..568975ae 100644 --- a/crates/offline-tools/src/lib.rs +++ b/crates/offline-tools/src/lib.rs @@ -8,8 +8,8 @@ //! | `make_profile` | `tools/make_profile.py` | `STRP` v1 expert-cache profile | //! | `mtp_rt` | `tools/mtp_rt.py` | MTP `experts.bin`, `dense.bin`, `dense.txt` | //! -//! Differential harness: `scripts/offline/diff_tools.py` runs each oracle and the matching `leleka-api tools` -//! subcommand on synthetic inputs and compares every output byte. Offline conversion only; production serving +//! Differential harness (run offline): each oracle and the matching `leleka-api tools` +//! subcommand run on synthetic inputs and every output byte is compared. Offline conversion only; production serving //! never links this crate's CLI paths into a request path. pub mod cli; diff --git a/crates/offline-tools/tests/oracle.rs b/crates/offline-tools/tests/oracle.rs index 142da7e8..760f850f 100644 --- a/crates/offline-tools/tests/oracle.rs +++ b/crates/offline-tools/tests/oracle.rs @@ -1,8 +1,8 @@ //! The ported tools against the Python originals' exact outputs. //! -//! `tests/fixtures/tools_oracle.json` is written by `scripts/offline/gen_goldens.py tools_oracle`, which runs the +//! `tests/fixtures/tools_oracle.json` was recorded by running the //! unmodified `Strata 41cf05a0, tools/{embd_bf16_pack,ple_fp8_pack,draft_vocab,make_profile,mtp_rt}.py` on tiny -//! synthetic inputs. `scripts/offline/diff_tools.py` is the live differential over more cases. +//! synthetic inputs. use std::{ fs, path::{Path, PathBuf}, diff --git a/crates/sampler-ref/tests/fixtures/sampler_oracle.json b/crates/sampler-ref/tests/fixtures/sampler_oracle.json index 0b297f21..650e4416 100644 --- a/crates/sampler-ref/tests/fixtures/sampler_oracle.json +++ b/crates/sampler-ref/tests/fixtures/sampler_oracle.json @@ -1,5 +1,5 @@ { -"meta":{"generator":"crates/sampler-ref/oracle/gen_fixtures.cpp","oracle":"Original engine/strata sampler_parity.cpp host reference, included unmodified; sampler.hpp + coupled_draft.hpp headers","compile":"-std=c++17 -O1 -ffp-contract=off -fno-fast-math","encoding":"floats are IEEE-754 binary32 bit patterns (u32)"}, +"meta":{"generator":"host build of the Original's sampler (Strata 41cf05a0)","oracle":"Original sampler_parity.cpp host reference (Strata 41cf05a0), included unmodified; sampler.hpp + coupled_draft.hpp headers","compile":"-std=c++17 -O1 -ffp-contract=off -fno-fast-math","encoding":"floats are IEEE-754 binary32 bit patterns (u32)"}, "philox":[ [0,0,1064655353], [0,1,1050774260], diff --git a/crates/sampler-ref/tests/fixtures/sampling_keys.json b/crates/sampler-ref/tests/fixtures/sampling_keys.json index fcb45fab..ba8f7931 100644 --- a/crates/sampler-ref/tests/fixtures/sampling_keys.json +++ b/crates/sampler-ref/tests/fixtures/sampling_keys.json @@ -1,4 +1,4 @@ -{"meta":{"generator": "crates/sampler-ref/oracle/gen_sampling_keys.py", "oracle": "engine/strata/serve/server.py StrataEngine.sampling_keys"}, +{"meta":{"generator": "StrataEngine.sampling_keys lifted verbatim", "oracle": "Strata 41cf05a0, serve/server.py StrataEngine.sampling_keys"}, "cases":[ {"request": {}, "keys": ""}, {"request": {"temperature": 0.0}, "keys": ""}, diff --git a/crates/sampler-ref/tests/gen_keys.rs b/crates/sampler-ref/tests/gen_keys.rs index 40cee969..52f25d65 100644 --- a/crates/sampler-ref/tests/gen_keys.rs +++ b/crates/sampler-ref/tests/gen_keys.rs @@ -1,6 +1,6 @@ //! `RequestSampling::gen_keys` against the strings the Original's Python //! `StrataEngine.sampling_keys` emits (fixture produced by -//! `oracle/gen_sampling_keys.py`, which lifts that function verbatim). +//! lifting that function verbatim). use leleka_sampler_ref::params::{RequestSampling, SamplingParams}; use serde_json::Value; diff --git a/crates/sampler-ref/tests/oracle.rs b/crates/sampler-ref/tests/oracle.rs index a957936b..ad7b116a 100644 --- a/crates/sampler-ref/tests/oracle.rs +++ b/crates/sampler-ref/tests/oracle.rs @@ -1,5 +1,5 @@ //! The Rust reference against golden fixtures produced by the Original's host -//! sampler logic (see `oracle/gen_fixtures.cpp`). Floats travel as binary32 bit +//! sampler logic. Floats travel as binary32 bit //! patterns, so every comparison here is bitwise on the integer/RNG side and on //! the selected list; picks follow from them. diff --git a/crates/serving-policy/src/cvec.rs b/crates/serving-policy/src/cvec.rs index c1179941..c8e55d18 100644 --- a/crates/serving-policy/src/cvec.rs +++ b/crates/serving-policy/src/cvec.rs @@ -4,7 +4,7 @@ //! //! This is the host side: reading the files and building the `dir` / `s` tables the kernel //! uploads. The tables are bit-exact against the Original's loader (golden fixture compiled from -//! the verbatim function, `oracle/gen_cvec_fixtures.cpp`). The device side +//! the verbatim function). The device side //! (`h <- h + d` / `h <- h - s (h.v) v`) is a kernel and stays with the engine. //! //! * `add`: `d_l` = sum over files of `scale * direction.`; the table row is `d_l`, `s_l = 1`. diff --git a/crates/serving-policy/src/lib.rs b/crates/serving-policy/src/lib.rs index 4aa55e38..89b9778d 100644 --- a/crates/serving-policy/src/lib.rs +++ b/crates/serving-policy/src/lib.rs @@ -2,7 +2,7 @@ //! host-side parts of `src/program/generate.cpp`). No I/O, no async runtime, no `unsafe`. //! //! Each module cites the Original code it transcribes and is tested against fixtures produced by running -//! that code (see `control-plane/tests/golden/gen_goldens.py` and `oracle/`). +//! that code offline from Strata 41cf05a0. pub mod cors; pub mod cvec; diff --git a/crates/serving-policy/src/vision.rs b/crates/serving-policy/src/vision.rs index d3bc6bc4..a3cda7f3 100644 --- a/crates/serving-policy/src/vision.rs +++ b/crates/serving-policy/src/vision.rs @@ -4,7 +4,7 @@ //! //! * [`parse_embeddings`] and [`build_positions`] are transcriptions of the verbatim block of //! `generate.cpp` (`if (geni || !mrope_identity)`), golden-tested against that block compiled on -//! the host (`oracle/gen_vision_fixtures.cpp`). +//! the host. //! * Qwen's interleaved M-RoPE gives each rotated pair a position from one of three streams (time //! `t`, height `h`, width `w`): text has `t = h = w`, an image's tokens share `t = p` and differ in //! `h = p + y`, `w = p + x`, and the text after it continues at `p + max(nx, ny)`. diff --git a/crates/serving-policy/tests/fixtures/cvec_oracle.json b/crates/serving-policy/tests/fixtures/cvec_oracle.json index c5c853a6..084b1dca 100644 --- a/crates/serving-policy/tests/fixtures/cvec_oracle.json +++ b/crates/serving-policy/tests/fixtures/cvec_oracle.json @@ -1,5 +1,5 @@ { - "source": "src/program/generate.cpp load_control_vectors (verbatim) over GGUF files written by gen_cvec_fixtures.cpp", + "source": "src/program/generate.cpp load_control_vectors (verbatim) over GGUF files written by the fixture builder", "n_layers": 6, "n_embd": 5, "hc": 2, "blobs": ["474755460300000003000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e346578700b00000000000000646972656374696f6e2e310100000005000000000000000000000000000000000000000b00000000000000646972656374696f6e2e320100000005000000000000000000000020000000000000000b00000000000000646972656374696f6e2e340100000005000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000003f295caf3f52b8de3f7c14ce3f52b81e40000000000000000000000000000080bfb81e05be90c2753eb047e13d48e17a3f0000000000000000000000000000c03f14ae1740295c2f403e0a274052b85e40000000000000000000000000","474755460300000002000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e346578700b00000000000000646972656374696f6e2e320100000005000000000000000000000000000000000000000b00000000000000646972656374696f6e2e33010000000500000000000000000000002000000000000000000000000000000000000080beec51b83ed7a3f03e08d7a33dd7a3303f0000000000000000000000000000204014ae5740295c6f403e0a6740295c8f40000000000000000000000000","474755460300000001000000000000000100000000000000140000000000000067656e6572616c2e6172636869746563747572650800000005000000000000006c6c616d610b00000000000000646972656374696f6e2e31010000000500000000000000000000000000000000000000000000000000000000000000000000000000003f295caf3f52b8de3f7c14ce3f52b81e40000000000000000000000000","474755460300000001000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e3465787007000000000000006f746865722e310100000005000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f295caf3f52b8de3f7c14ce3f52b81e40000000000000000000000000","474755460300000001000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e346578700b00000000000000646972656374696f6e2e3101000000060000000000000000000000000000000000000000000000000000000000000000000000000000000000003f295caf3f52b8de3f7c14ce3f52b81e40666636400000000000000000","474755460300000001000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e346578700b00000000000000646972656374696f6e2e3101000000050000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","474755460300000005000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e346578700b00000000000000646972656374696f6e2e300100000005000000000000000000000000000000000000000b00000000000000646972656374696f6e2e360100000005000000000000000000000020000000000000000c00000000000000646972656374696f6e2e39390100000005000000000000000000000040000000000000000d00000000000000646972656374696f6e2e6162630100000005000000000000000000000060000000000000000c00000000000000646972656374696f6e2e3033010000000500000000000000000000008000000000000000000000000000084185eb15410ad71b418fc2194114ae27410000000000000000000000000000084185eb15410ad71b418fc2194114ae27410000000000000000000000000000084185eb15410ad71b418fc2194114ae27410000000000000000000000000000084185eb15410ad71b418fc2194114ae27410000000000000000000000000000803e295c8f3f52b8be3f7b14ae3f52b80e40000000000000000000000000","474755460300000002000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000008000000000000007177656e346578700b00000000000000646972656374696f6e2e310100000005000000000000000000000000000000000000000b00000000000000646972656374696f6e2e3201000000050000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","474755460300000001000000000000000200000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f721800000000000000636f6e74726f6c766563746f722e6d6f64656c5f68696e740800000005000000000000006c6c616d610b00000000000000646972656374696f6e2e3101000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f295caf3f52b8de3f7c14ce3f52b81e40000000000000000000000000","474755460300000001000000000000000100000000000000140000000000000067656e6572616c2e617263686974656374757265080000000d00000000000000636f6e74726f6c766563746f720b00000000000000646972656374696f6e2e3501000000050000000000000000000000000000000000000000000000000000000000c0bfae4721bfb81e85be14aec7be90c2f53e000000000000000000000000"], "cases": [ diff --git a/crates/serving-policy/tests/golden_cvec.rs b/crates/serving-policy/tests/golden_cvec.rs index c12917a8..09f82572 100644 --- a/crates/serving-policy/tests/golden_cvec.rs +++ b/crates/serving-policy/tests/golden_cvec.rs @@ -1,5 +1,5 @@ //! The control-vector loader against the Original's `load_control_vectors` compiled verbatim on the host -//! (fixture from `oracle/build_oracle.sh`): same tables bit for bit, same error text. +//! (fixture recorded from that build): same tables bit for bit, same error text. use leleka_serving_policy::cvec::{Mode, Options, build_tables, parse_gguf}; use serde_json::Value; diff --git a/crates/serving-policy/tests/golden_host.rs b/crates/serving-policy/tests/golden_host.rs index 6678800c..1f3fcdb2 100644 --- a/crates/serving-policy/tests/golden_host.rs +++ b/crates/serving-policy/tests/golden_host.rs @@ -1,5 +1,5 @@ //! Stride selection and the stall watchdog against the Original's C++ host build -//! (fixture from `oracle/build_oracle.sh`: `logits_selection.hpp` unmodified, the watchdog loop driven +//! (fixture recorded from that build: `logits_selection.hpp` unmodified, the watchdog loop driven //! by an injected clock). use leleka_serving_policy::stride::{parse_stride, row_count, selected}; diff --git a/crates/serving-policy/tests/golden_reasoning.rs b/crates/serving-policy/tests/golden_reasoning.rs index 30e73826..95226ac7 100644 --- a/crates/serving-policy/tests/golden_reasoning.rs +++ b/crates/serving-policy/tests/golden_reasoning.rs @@ -1,5 +1,5 @@ //! `BudgetTracker` and `parse_budget` against the Original's real `Detokenizer` + `OutputParser` loop and -//! `Service.reasoning_budget` (fixture from `control-plane/tests/golden/gen_goldens.py reasoning`). +//! `Service.reasoning_budget` (fixture recorded from the Original's Python code). use leleka_serving_policy::reasoning::{BudgetTracker, Verdict, WRAP_UP, parse_budget}; use serde_json::Value; diff --git a/crates/serving-policy/tests/golden_shared.rs b/crates/serving-policy/tests/golden_shared.rs index 3f684c61..f202a1b8 100644 --- a/crates/serving-policy/tests/golden_shared.rs +++ b/crates/serving-policy/tests/golden_shared.rs @@ -1,5 +1,5 @@ //! `clean_shared_defaults` / `sampling_defaults_from_config` against the Original's real Python output -//! (fixture from `control-plane/tests/golden/gen_goldens.py shared`). +//! (fixture recorded from the Original's Python code). use leleka_serving_policy::shared::{ConfigSampling, clean_shared_defaults, sampling_defaults_from_config}; use serde_json::{Value, json}; diff --git a/crates/serving-policy/tests/golden_timings.rs b/crates/serving-policy/tests/golden_timings.rs index 34abcef1..aa6729e5 100644 --- a/crates/serving-policy/tests/golden_timings.rs +++ b/crates/serving-policy/tests/golden_timings.rs @@ -1,5 +1,5 @@ //! `request_timings` and `Service.set_aliases` against the Original's real Python -//! (fixture from `control-plane/tests/golden/gen_goldens.py timings`). +//! (fixture recorded from the Original's Python code). use leleka_serving_policy::shared::normalize_aliases; use leleka_serving_policy::timings::{Last, request_timings}; diff --git a/crates/serving-policy/tests/golden_vision.rs b/crates/serving-policy/tests/golden_vision.rs index 64006d16..ca2b4ec2 100644 --- a/crates/serving-policy/tests/golden_vision.rs +++ b/crates/serving-policy/tests/golden_vision.rs @@ -1,6 +1,6 @@ //! The image path against the Original: the SVE1 reader and M-RoPE table against the verbatim C++ block -//! (`oracle/build_oracle.sh`), image sources, base64 and the pad expansion against the real Python -//! (`control-plane/tests/golden/gen_goldens.py vision`). +//! (recorded host build), image sources, base64 and the pad expansion against the real Python +//! code (recorded fixtures). use leleka_serving_policy::vision::{ IMAGE_PAD_ID, ImageKey, Positions, b64decode, build_positions, expand_image_pads, identity_table, image_source, diff --git a/crates/tokenizer/src/lib.rs b/crates/tokenizer/src/lib.rs index a8d2d47a..27bd5b92 100644 --- a/crates/tokenizer/src/lib.rs +++ b/crates/tokenizer/src/lib.rs @@ -36,7 +36,7 @@ pub const QWEN35_PATTERN: &str = concat!( type Result = std::result::Result>; /// The `qwen35` pre-tokenizer alone: the pieces `text` is split into before byte-level BPE. Exposed so the split can -/// be compared with Python's `regex` for every Unicode scalar value (scripts/offline/diff_tokenizer.py). +/// be compared with Python's `regex` for every Unicode scalar value. pub fn pre_tokenize(text: &str) -> Result> { static PATTERN: std::sync::OnceLock = std::sync::OnceLock::new(); let pattern = match PATTERN.get() { diff --git a/crates/tokenizer/tests/oracle_differential.rs b/crates/tokenizer/tests/oracle_differential.rs index 8de555f1..6b41407b 100644 --- a/crates/tokenizer/tests/oracle_differential.rs +++ b/crates/tokenizer/tests/oracle_differential.rs @@ -1,11 +1,10 @@ //! Tokenizer versus `Strata 41cf05a0, tools/strata_tokenizer.py` (the unmodified oracle, regex 2026.9.10). //! -//! `tests/fixtures/tokenizer_oracle.json` is produced by `scripts/offline/gen_goldens.py tokenizer_oracle`: a +//! `tests/fixtures/tokenizer_oracle.json` was recorded from the Original's Python code: a //! synthetic byte-level BPE vocabulary (256-byte alphabet, 300 trained merges that reach past the 64-symbol heap //! path, type-3 and type-4 specials including ones with regex metacharacters) and the oracle's answers for ~190 //! boundary and fuzzed texts (ids with and without special parsing, decoded text, pre-tokenizer pieces) plus the //! pre-tokenizer split of sampled Unicode scalar values in five contexts. -//! `scripts/offline/diff_tokenizer.py` runs the exhaustive live version (every scalar value x 13 contexts). use leleka_tokenizer::{Tokenizer, pre_tokenize}; use serde_json::Value; diff --git a/scripts/build-linux-package.py b/scripts/build-linux-package.py index e2cb7a65..e033d849 100644 --- a/scripts/build-linux-package.py +++ b/scripts/build-linux-package.py @@ -280,7 +280,7 @@ def main(): parser.add_argument('--cargo-target-dir', type=Path, required=True, help='dedicated build directory; do not run other Cargo commands here concurrently') parser.add_argument('--cpu-fixture', action='store_true', help='explicit non-CUDA test artifact; never a GPU release') parser.add_argument('--build-features', type=Path, - help='exact build feature receipt emitted by build-static-cuda.sh') + help='exact build feature receipt emitted by the engine build') parser.add_argument('--probe-in-runtime-image', action='store_true', help='execute actual provision in the pinned runtime base instead of the assembly host') args = parser.parse_args() diff --git a/scripts/gpu-bringup/bringup_lib.py b/scripts/gpu-bringup/bringup_lib.py index 1be439e8..e0d7ba8c 100644 --- a/scripts/gpu-bringup/bringup_lib.py +++ b/scripts/gpu-bringup/bringup_lib.py @@ -21,11 +21,11 @@ SEAL_PLAN_DIR = "crates/cuda-driver/seal-plans" ROPE_DOC = "scripts/gpu-bringup/rope-regeneration.json" ABI_SOURCE = "crates/context/src/ptx_abi.rs" -# -I set the sealed PTX were built with (repo-root relative). The two engine/strata directories were the vendored Strata tree, removed in -# STRA-406 (history: third_party/strata/UPSTREAM.md); an asset whose source includes a strata/ header needs them restored there to compile. +# -I set the sealed PTX were built with (repo-root relative). The two strata-41cf05a0 directories are an upstream checkout (third_party/strata/UPSTREAM.md); +# an asset whose source includes a strata/ header needs that checkout placed at strata-41cf05a0/ to compile. STANDARD_INCLUDES = [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", @@ -247,7 +247,7 @@ def parse_abi_tuples(text: str) -> Dict[str, Dict[str, Tuple[int, int]]]: ROPE_VARIANTS = ("precise", "preserve") -# Sources that the Original compiles with --use_fast_math (engine/strata/CMakeLists.txt native_* list); the +# Sources that the Original compiles with --use_fast_math (Strata 41cf05a0, CMakeLists.txt native_* list); the # committed PTX of these two contain .ftz instructions, i.e. they were built fast-math (stra169 plan). ROPE_FASTMATH_SOURCES = ("qsa_prompt_indexer", "qsa_decode_postops") # decimal-pin hits expected in the Rust tree for the committed digests (found by scanning, see seal_pins) @@ -420,7 +420,7 @@ def entry_param_count(text: str, entry: str) -> Optional[int]: # CUDA 13.2.0 and 13.2.1 (nvcc 13.2.51) miscompile some sm_120 kernels (IQ2_S / IQ3_S products wrong, relative error 0.5-1.0; -# upstream engine/strata/docs/TROUBLESHOOTING.md, #892, #968); 13.2.2 (nvcc 13.2.86) is right. Their PTX names the build in its header. +# upstream Strata 41cf05a0, docs/TROUBLESHOOTING.md, #892, #968); 13.2.2 (nvcc 13.2.86) is right. Their PTX names the build in its header. BAD_NVCC_BUILDS = ("13.2.0", "13.2.1", "13.2.51") _NVCC_HEADER = re.compile(r"Cuda compilation tools, release [0-9.]+, V([0-9]+\.[0-9]+\.[0-9]+)") diff --git a/scripts/gpu-bringup/extra-seal-plan.json b/scripts/gpu-bringup/extra-seal-plan.json index dda31ea5..14749667 100644 --- a/scripts/gpu-bringup/extra-seal-plan.json +++ b/scripts/gpu-bringup/extra-seal-plan.json @@ -41,7 +41,7 @@ "--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.", + "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", @@ -142,7 +142,7 @@ "--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.", + "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", @@ -164,7 +164,7 @@ "--fmad=true", "--use_fast_math" ], - "policy": "fast-math RESEAL: the Original compiles native_qsa_indexer.cu append 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.", + "policy": "fast-math RESEAL: the Original compiles native_qsa_indexer.cu append 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", @@ -189,7 +189,7 @@ "--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.", + "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", @@ -211,7 +211,7 @@ "--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.", + "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", @@ -233,7 +233,7 @@ "--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.", + "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", @@ -253,7 +253,7 @@ "-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).", + "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", @@ -278,7 +278,7 @@ "-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", + "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", @@ -857,7 +857,7 @@ "-std=c++17", "--fmad=true", "--ftz=false", - "-Iengine/strata/src/kernels/cuda" + "-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)", @@ -888,7 +888,7 @@ "-std=c++17", "--fmad=true", "--ftz=false", - "-Iengine/strata/src/kernels/cuda" + "-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, bitwise window_moe_down_)", @@ -966,7 +966,7 @@ "--fmad=true", "--ftz=false" ], - "policy": "precise (the recipe of scripts/build-original-verify-ptx.sh, which built the single-check kernels this one batches; the predicate is the same abs + setp.ne inf)", + "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" ], diff --git a/scripts/gpu-bringup/rope-regeneration.json b/scripts/gpu-bringup/rope-regeneration.json index f895c049..72e2ecb8 100644 --- a/scripts/gpu-bringup/rope-regeneration.json +++ b/scripts/gpu-bringup/rope-regeneration.json @@ -2,8 +2,8 @@ "note": "Regeneration recipe of the four QSA PTX files that carry the RoPE scaling arguments (flags, include set, sources). It replaces the nvcc block that used to be parsed out of the rope and memory plan document; scripts/gpu-bringup/bringup_lib.py rope_assets() reads it. The include set is bringup_lib.STANDARD_INCLUDES (the test pins the equality).", "flags": ["--ptx", "-std=c++17", "-O3", "-arch=sm_120", "--fmad=true", "--ftz=false"], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" diff --git a/scripts/gpu-bringup/sm86-recipes.json b/scripts/gpu-bringup/sm86-recipes.json index f76524f4..62b82f9f 100644 --- a/scripts/gpu-bringup/sm86-recipes.json +++ b/scripts/gpu-bringup/sm86-recipes.json @@ -13,12 +13,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.964, @@ -36,12 +36,12 @@ ], "ftz_ratio": 0.036, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -63,12 +63,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/assets/qwen_qsa_attention.ptx", @@ -88,12 +88,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -111,12 +111,12 @@ ], "ftz_ratio": 0.071, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.929, @@ -137,12 +137,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/assets/qwen_qsa_attention_native.ptx", @@ -162,12 +162,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -185,12 +185,12 @@ ], "ftz_ratio": 0.009, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.991, @@ -211,12 +211,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/assets/qwen_qsa_native.ptx", @@ -236,12 +236,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -259,12 +259,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -286,12 +286,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/assets/qwen_qsa_select.ptx", @@ -563,12 +563,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -586,12 +586,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -612,12 +612,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/gdn_fixed.ptx", @@ -637,12 +637,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -660,12 +660,12 @@ ], "ftz_ratio": 0.012, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.988, @@ -686,12 +686,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/gr_batch_preview.ptx", @@ -711,12 +711,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -734,12 +734,12 @@ ], "ftz_ratio": 0.012, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.988, @@ -760,12 +760,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/gr_fixed.ptx", @@ -785,12 +785,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -808,12 +808,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -835,12 +835,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/gr_native_batch.ptx", @@ -860,12 +860,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -883,12 +883,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -910,12 +910,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/gr_prompt_device.ptx", @@ -953,12 +953,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -976,12 +976,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1003,12 +1003,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/iq3_native_integer_mma.ptx", @@ -1107,12 +1107,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -1130,12 +1130,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1157,12 +1157,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/kar_ple_fixed.ptx", @@ -1209,12 +1209,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1232,12 +1232,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -1258,12 +1258,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mmq-original-formats-fixup.ptx", @@ -1283,12 +1283,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1306,12 +1306,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -1332,12 +1332,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mmq-original-formats.ptx", @@ -1366,12 +1366,12 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1389,12 +1389,12 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1416,12 +1416,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mmq_native_resident_d4.ptx", @@ -1474,12 +1474,12 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1497,12 +1497,12 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1524,12 +1524,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mmq_resident_helpers.ptx", @@ -1549,12 +1549,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -1572,12 +1572,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1599,12 +1599,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/moe_fixed.ptx", @@ -1705,12 +1705,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.932, @@ -1728,12 +1728,12 @@ ], "ftz_ratio": 0.068, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1755,12 +1755,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/moe_route_top10.ptx", @@ -1780,12 +1780,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -1803,12 +1803,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1830,12 +1830,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_attention_fixed.ptx", @@ -1855,12 +1855,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1878,12 +1878,12 @@ ], "ftz_ratio": 0.038, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.962, @@ -1904,12 +1904,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_fixed.ptx", @@ -1929,12 +1929,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -1952,12 +1952,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -1979,12 +1979,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_gr_fixed.ptx", @@ -2004,12 +2004,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2027,12 +2027,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2054,12 +2054,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_attention.ptx", @@ -2079,12 +2079,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2102,12 +2102,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2129,12 +2129,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_bf16.ptx", @@ -2154,12 +2154,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.998, @@ -2177,12 +2177,12 @@ ], "ftz_ratio": 0.002, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2204,12 +2204,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_checks.ptx", @@ -2229,12 +2229,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2252,12 +2252,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2279,12 +2279,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_combine.ptx", @@ -2304,12 +2304,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2327,12 +2327,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2354,12 +2354,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_coupled.ptx", @@ -2379,12 +2379,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.988, @@ -2402,12 +2402,12 @@ ], "ftz_ratio": 0.012, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2429,12 +2429,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_element.ptx", @@ -2454,12 +2454,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2477,12 +2477,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2513,8 +2513,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -2539,8 +2539,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -2564,8 +2564,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -2590,8 +2590,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -2614,12 +2614,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.976, @@ -2637,12 +2637,12 @@ ], "ftz_ratio": 0.024, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2664,12 +2664,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_gr_write.ptx", @@ -2689,12 +2689,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2712,12 +2712,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2748,8 +2748,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -2782,12 +2782,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -2805,12 +2805,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2840,12 +2840,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.995, @@ -2863,12 +2863,12 @@ ], "ftz_ratio": 0.005, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2890,12 +2890,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_qnorm.ptx", @@ -2915,12 +2915,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.984, @@ -2938,12 +2938,12 @@ ], "ftz_ratio": 0.016, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -2965,12 +2965,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_qsa_gate.ptx", @@ -2990,12 +2990,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3013,12 +3013,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3040,12 +3040,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_quant80.ptx", @@ -3066,8 +3066,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -3092,8 +3092,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -3116,12 +3116,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3139,12 +3139,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3166,12 +3166,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_router_legacy.ptx", @@ -3191,12 +3191,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.997, @@ -3214,12 +3214,12 @@ ], "ftz_ratio": 0.003, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3241,12 +3241,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_s2.ptx", @@ -3266,12 +3266,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3289,12 +3289,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3316,12 +3316,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_shared.ptx", @@ -3341,12 +3341,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3364,12 +3364,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3391,12 +3391,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_full_verify.ptx", @@ -3416,12 +3416,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3439,12 +3439,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3466,12 +3466,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_kv.ptx", @@ -3491,12 +3491,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.996, @@ -3514,12 +3514,12 @@ ], "ftz_ratio": 0.004, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3541,12 +3541,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_prefill.ptx", @@ -3566,12 +3566,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3589,12 +3589,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3616,12 +3616,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_prefill_embedding.ptx", @@ -3641,12 +3641,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3664,12 +3664,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3691,12 +3691,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_prefill_fixup.ptx", @@ -3716,12 +3716,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3739,12 +3739,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3766,12 +3766,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_prefill_mmq.ptx", @@ -3791,12 +3791,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -3814,12 +3814,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -3841,12 +3841,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_prefill_quant.ptx", @@ -3866,8 +3866,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -3891,8 +3891,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -3915,8 +3915,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -3940,8 +3940,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -3964,12 +3964,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.998, @@ -3987,12 +3987,12 @@ ], "ftz_ratio": 0.002, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4014,12 +4014,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_original_tail.ptx", @@ -4039,12 +4039,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4062,12 +4062,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4097,12 +4097,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4120,12 +4120,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4147,12 +4147,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/mtp_s2_full_fixed.ptx", @@ -4207,8 +4207,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4241,8 +4241,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4274,8 +4274,8 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4308,12 +4308,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4331,12 +4331,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4358,12 +4358,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/offline_gdn_fused_t1.ptx", @@ -4383,12 +4383,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4406,12 +4406,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4433,12 +4433,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/offline_gdn_prefill.ptx", @@ -4458,12 +4458,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.938, @@ -4481,12 +4481,12 @@ ], "ftz_ratio": 0.062, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4508,12 +4508,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/offline_moe_prefill.ptx", @@ -4533,12 +4533,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4556,12 +4556,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4583,12 +4583,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/offline_native_dequant_f16.ptx", @@ -4607,8 +4607,8 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4631,8 +4631,8 @@ "-std=c++17" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4655,12 +4655,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4678,12 +4678,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4705,12 +4705,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/original_verify.ptx", @@ -4731,8 +4731,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4757,8 +4757,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4782,8 +4782,8 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4808,8 +4808,8 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4833,8 +4833,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4859,8 +4859,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -4883,12 +4883,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -4906,12 +4906,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -4933,12 +4933,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/ple_bf16_pack.ptx", @@ -4958,12 +4958,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.98, @@ -4981,12 +4981,12 @@ ], "ftz_ratio": 0.02, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5008,12 +5008,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/ple_fixed.ptx", @@ -5068,12 +5068,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.974, @@ -5091,12 +5091,12 @@ ], "ftz_ratio": 0.026, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5118,12 +5118,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/ple_prompt_device.ptx", @@ -5143,12 +5143,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -5166,12 +5166,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5193,12 +5193,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/ple_value_full_fixed.ptx", @@ -5281,8 +5281,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5306,8 +5306,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5330,12 +5330,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.909, @@ -5353,12 +5353,12 @@ ], "ftz_ratio": 0.091, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5380,12 +5380,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_native_batch.ptx", @@ -5405,12 +5405,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -5428,12 +5428,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5455,12 +5455,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_native_decode.ptx", @@ -5480,12 +5480,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5503,12 +5503,12 @@ ], "ftz_ratio": 0.1, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.9, @@ -5529,12 +5529,12 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_native_gate.ptx", @@ -5554,12 +5554,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.97, @@ -5577,12 +5577,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.03, @@ -5604,12 +5604,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_prompt_attention.ptx", @@ -5662,12 +5662,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.9, @@ -5685,12 +5685,12 @@ ], "ftz_ratio": 0.1, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5712,12 +5712,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_prompt_device_gate.ptx", @@ -5737,8 +5737,8 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5762,8 +5762,8 @@ "--use_fast_math" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5786,12 +5786,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -5809,12 +5809,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -5836,12 +5836,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_prompt_kv.ptx", @@ -5862,8 +5862,8 @@ ], "ftz_ratio": 0.007, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5888,8 +5888,8 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5913,8 +5913,8 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5939,8 +5939,8 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src" @@ -5963,12 +5963,12 @@ ], "ftz_ratio": 1.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 1.0, @@ -5986,12 +5986,12 @@ ], "ftz_ratio": 0.0, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -6021,12 +6021,12 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -6044,12 +6044,12 @@ ], "ftz_ratio": null, "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "masked_exact": false, "mode_error": 0.0, @@ -6071,12 +6071,12 @@ "--ftz=false" ], "includes": [ - "engine/strata/include", - "engine/strata/third_party/ggml", + "strata-41cf05a0/include", + "strata-41cf05a0/third_party/ggml", "crates/cuda-driver/src/third_party/llamacpp/ggml-cuda", "crates/cuda-driver/src/third_party/llamacpp/ggml-include", "crates/cuda-driver/src/third_party/llamacpp/ggml-src", - "engine/strata/src" + "strata-41cf05a0/src" ], "method": "recompile", "ptx": "crates/cuda-driver/src/qsa_selected_kv.ptx", diff --git a/scripts/gpu-bringup/sm86_assets.py b/scripts/gpu-bringup/sm86_assets.py index 502ae05c..097f929d 100644 --- a/scripts/gpu-bringup/sm86_assets.py +++ b/scripts/gpu-bringup/sm86_assets.py @@ -56,9 +56,9 @@ MANIFEST_NAME = "MANIFEST.json" ARCH = "sm_86" SRC_ARCH = "sm_120" -# Union of the include sets used by the repo's recipes (the retired scripts/build-original-verify-ptx.sh, the seal plans and the +# Union of the include sets used by the repo's recipes (the precise-flags original-verify build, the seal plans and the # scalar-MTP recipe); a missing directory is dropped, and the round trip proves the choice. -INCLUDES = L.STANDARD_INCLUDES + ["engine/strata/src", "engine/strata/third_party/ggml/src"] +INCLUDES = L.STANDARD_INCLUDES + ["strata-41cf05a0/src", "strata-41cf05a0/third_party/ggml/src"] # PTX name -> source stem when the .cu does not share the PTX's name. Each mapping is only used if the round trip # reproduces the sealed entry set; otherwise the asset has no verified recipe. diff --git a/scripts/gpu-bringup/tests/test_gpu_bringup.py b/scripts/gpu-bringup/tests/test_gpu_bringup.py index 0c914ea3..7355ef83 100644 --- a/scripts/gpu-bringup/tests/test_gpu_bringup.py +++ b/scripts/gpu-bringup/tests/test_gpu_bringup.py @@ -48,8 +48,8 @@ class PlanParsing(unittest.TestCase): assets, _ = L.load_all_assets(REPO, None) moe = next(a for a in assets if a.id == "original_verify_window_moe_experts") self.assertEqual(moe.pin_fields, {"original_verify_window_moe.rs": ["EXPERTS.sha"]}) - self.assertIn("-Iengine/strata/include", [f"-I{d}" for d in moe.includes]) - self.assertNotIn("-Iengine/strata/include", moe.flags) + self.assertIn("-Istrata-41cf05a0/include", [f"-I{d}" for d in moe.includes]) + self.assertNotIn("-Istrata-41cf05a0/include", moe.flags) self.assertEqual(len(moe.entries), 16) self.assertEqual(moe.encoding, "include_bytes") gate = next(a for a in assets if a.id == "original_verify_window_qsa_gate") diff --git a/scripts/test-cuda-projection-family-driver.sh b/scripts/test-cuda-projection-family-driver.sh index a44b5437..622612ed 100755 --- a/scripts/test-cuda-projection-family-driver.sh +++ b/scripts/test-cuda-projection-family-driver.sh @@ -15,7 +15,7 @@ cc -std=c11 -Wall -Wextra -Werror -Wno-misleading-indentation -ffp-contract=off sha256sum "$work/family/libcuda.so.1" echo '341abbd0113919d573241b1dc47886514ea7aa1d4d3f1a867024e7664b501a0a crates/cuda-driver/src/q8_0_q8_1.ptx' | sha256sum --check echo '294f3ad5fdddf796941346c9144fc49d4cff5478a88daad6b8941fbd4bb240cb crates/cuda-driver/src/q4_k_q8_1.ptx' | sha256sum --check -echo '94f798c00813c2fb860b4bf77be9225767d408955e3421330ac34a4ebd43978f crates/cuda-driver/src/iq3_s_q8_1.ptx' | sha256sum --check +echo 'ebfcabd456b8cf16608c529b906849e4391096322a88e5a665ac87657a91dde6 crates/cuda-driver/src/iq3_s_q8_1.ptx' | sha256sum --check echo 'f9c10814f37b75babcaee1028b4a1375e530220f863ab3801beb8fcb5a19733f crates/cuda-driver/src/iq3_xxs_q8_1.ptx' | sha256sum --check echo 'a31e653da8c222e1671cf25ed19017eeb0b3ef4d890c0142b181f3d5bcfcfb2c crates/cuda-driver/src/iq2_s_q8_1.ptx' | sha256sum --check echo '189b02cee8186379fb7b0bd07a831e1fb2764d29a98a17fd2b516c5459f9d4ce crates/cuda-driver/src/iq4_nl_q8_1.ptx' | sha256sum --check diff --git a/third_party/strata/UPSTREAM.md b/third_party/strata/UPSTREAM.md index 06d27d97..4b52558b 100644 --- a/third_party/strata/UPSTREAM.md +++ b/third_party/strata/UPSTREAM.md @@ -59,6 +59,9 @@ The local patches as a diff (old pin to old subtree, and new pin to new subtree) and `engine/upstream/local-patches-on-0.1.50.patch`; they are in the same history. The upstream remote is `git remote add strata-upstream https://github.com/Niko1221/Strata.git`; the pin commit is fetched from there. +The `scripts/gpu-bringup` recipes name the include directories of an upstream checkout as `strata-41cf05a0/{include,src,third_party/ggml}`: +to recompile an asset that includes `strata/` headers, extract `git archive 81039bb40 engine/strata` and place it at `strata-41cf05a0/`. + Why it was removed (owner decision, 2026-11-23): Leleka never builds or runs it (no `Cargo.toml` or `build.rs` depends on it), the vanilla reference build for benchmarks is made from its own checkout on the benchmark server, the comparison measurements are finished and the CUDA ports are frozen. Oracles and checks that compiled or read the removed sources were retired with it (see the removal commit message). diff --git a/tools/chain-probe/mb_pdl.cu b/tools/chain-probe/mb_pdl.cu index 659894d5..19f3975a 100644 --- a/tools/chain-probe/mb_pdl.cu +++ b/tools/chain-probe/mb_pdl.cu @@ -1,6 +1,6 @@ // claude/chain-kernels: model-free micro-benchmark of kernel-to-kernel latency inside a CUDA graph, with and without // programmatic dependent launch (PDL, griddepcontrol), and of the L2-prefetch-before-wait trick for weight streaming. -// Prints "RESULT key=value" lines. Build: tools/chain-probe/build.sh. Never touches the model. +// Prints "RESULT key=value" lines. Never touches the model. #include #include #include