block drafter: proposal_pitch documented; arch_test pins with the short block

RadDrafterDecl::proposal_pitch defaults to depth for a block drafter and is refused below it (the
short block fills a row's front). arch_test: the qwen35 family's pins now that DFlash2 declares its
short block.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
mici81andClaude Opus 5.5 committed 2026-10-23 11:24:45 +00:00
1 parent da52bc8593
commit 634e805ce2
2 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -626,7 +626,8 @@ typedef struct RadDrafterDecl {
/* Where a pass leaves its proposal. 0 = the sampler's token buffer. */
rad_buf proposal;
int64_t proposal_pitch; /* elements a row in `proposal`; 0 means 1 */
int64_t proposal_pitch; /* elements a row in `proposal`; 0 means 1, and for a BLOCK
* drafter `depth` (less is refused) */
/* BLOCK only. `mask_token` is the id every unfilled block position embeds; a block drafter
* without one cannot run. `window` is the drafter's own sliding window over its own cache, 0
+3 -3
View File
@@ -8402,13 +8402,13 @@ struct ArchCases {
nullptr, 3, { "ar_rmsnorm_quant_fp8" }, 0x1c28909125c12f52ull);
add("qwen35_fp8 + DFlash2", [this, sc](RadBuilder* b) {
auto c = sc(1, 7); return qwen35_fp8::declare(b, q35df.meta(), &c); },
qwen35_fp8::step, 7, {}, 0x76bc2f92b452df49ull);
qwen35_fp8::step, 7, {}, 0x5eaef1ee37575caeull);
add("qwen35_w8a8 + DFlash2", [this, sc](RadBuilder* b) {
auto c = sc(1, 7); return w8a8_declare(b, q35w8df.meta(), &c); },
qwen35_w8a8::step, 7, {}, 0x5570932de623edcaull);
qwen35_w8a8::step, 7, {}, 0x5a4f256c6fda0e87ull);
add("qwen35_w8a8 + DFlash2, two ranks", [this, sc](RadBuilder* b) {
auto c = sc(2, 7); return w8a8_declare(b, q35w8df.meta(), &c); },
nullptr, 7, { "ar_rmsnorm_quant_fp8" }, 0xec1ca3ad670311bbull);
nullptr, 7, { "ar_rmsnorm_quant_fp8" }, 0xb825b9d264795b8eull);
add("qwen35moe_fp8 + MTP", [this, sc](RadBuilder* b) {
auto c = sc(1, 3); return qwen35moe_fp8::declare(b, q35moe.meta(), &c); },
qwen35moe_fp8::step, 3, {}, 0x1bd3b53543cd06eeull);