From e41dfc7e63cb2acb1543f720a6dfe4d2b1568767 Mon Sep 17 00:00:00 2001 From: Robert Karl Date: Sun, 11 Oct 2026 13:45:56 -0700 Subject: [PATCH] generate: the native dense projections bounded to the trunk's layers A -MTP file's draft block (blk.40) carries the attention and shared-expert projection names; it is the drafter's, not in the trunk's pack, and NativeDense::load would refuse it as absent from the canonical table. The bound is a no-op for Flash-Next (no block past the trunk). Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr --- src/program/generate.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/program/generate.cpp b/src/program/generate.cpp index 0f5e31f..89a2341 100644 --- a/src/program/generate.cpp +++ b/src/program/generate.cpp @@ -2517,7 +2517,10 @@ int main(int argc, char** argv) { strata::core::NativeDense native_dense; if (!o.native_dense_gguf.empty()) { - if (!native_dense.load(o.native_dense_gguf, wt, err, o.native_ple_key)) { + // bounded to the trunk: a -MTP file's draft block (blk.40 of Qwen3.6, `nextn_predict_layers`) carries the + // same projection names, is not in the trunk's pack (tools/iq_pack.py leaves it to the drafter's), and would + // otherwise be "absent from canonical table"; no Flash-Next file has a block past its trunk + if (!native_dense.load(o.native_dense_gguf, wt, err, o.native_ple_key, 0, g.n_layers)) { std::fprintf(stderr, "strata generate: native dense projections: %s\n", err.c_str()); return 1; }