tests: the qwen pins on the new base, plus this branch's bf16-KV case

main moved the arch fingerprints (PLE, split-KV decode attention, the tune
rows); the values here are main's for every case both sides pin, and the
branch's own bf16-KV case is kept with its hash left for the run to state.
This commit is contained in:
C_Tamas committed 2026-10-25 17:19:50 +07:00
commit b95265eb51
49 files changed
+2104 -209

No files matched your search

+15 -15
View File
@@ -9192,7 +9192,7 @@ struct ArchCases {
qwen35_fp8::step, 3, {}, 0x7c3df775e4091829ull);
add("qwen35_fp8 + MTP, two ranks", [this, sc](RadBuilder* b) {
auto c = sc(2, 3); return qwen35_fp8::declare(b, q35.meta(), &c); },
nullptr, 3, { "ar_rmsnorm_quant_fp8" }, 0x8960f76b0bf8e50aull);
nullptr, 3, { "ar_rmsnorm_quant_fp8" }, 0x7c11e3c8243c955full);
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, {}, 0xa980fd70dfca7f04ull);
@@ -9201,20 +9201,20 @@ struct ArchCases {
qwen35_w8a8::step, 7, {}, 0xb01f0bb2b9898c1dull);
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" }, 0xf60656437356f664ull);
nullptr, 7, { "ar_rmsnorm_quant_fp8" }, 0xdc5540151b0d6684ull);
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, {}, 0xb5aaea840d6bf6c2ull);
add("qwen4exp_fp8", [this](RadBuilder* b) {
auto c = q4_ctx(0, 1); return qwen4exp_fp8::declare(b, &q4, &c); },
qwen4exp_fp8::step, 3, {}, 0xb00af22d0c1db143ull);
qwen4exp_fp8::step, 3, {}, 0x43048d3448778280ull);
add("qwen4exp_fp8, two ranks", [this](RadBuilder* b) {
auto c = q4_ctx(0, 2); return qwen4exp_fp8::declare(b, &q4, &c); },
nullptr, 3, { "ar_hc_write" }, 0x2d685c5f5a068473ull);
nullptr, 3, { "ar_hc_write" }, 0x43d3be2b6d76e470ull);
add("qwen4exp_fp8, four-bit experts", [this](RadBuilder* b) {
b->encs = { { "ffn_gate_up_exps", w4 }, { "ffn_down_exps", w4 } };
auto c = q4_ctx(0, 1); return qwen4exp_fp8::declare(b, &q4, &c); },
qwen4exp_fp8::step, 3, {}, 0xa00760f0eb3da078ull);
qwen4exp_fp8::step, 3, {}, 0x08d082fcbef37889ull);
/* The cache dtype stated rather than left to the plugin's default. The streamed store and
* the prologue that folds it are declared only where the vocabulary has them, and both are
* written at the KV group's dtype -- bf16 being the copy-only one, and it is what
@@ -9226,7 +9226,7 @@ struct ArchCases {
auto c = q4_ctx(0, 1);
c.kv_dtype = RAD_BF16;
return qwen4exp_fp8::declare(b, &q4, &c); },
qwen4exp_fp8::step, 3, {}, 0xb00af22d0c1db143ull);
qwen4exp_fp8::step, 3, {}, 0x0000000000000000ull);
add("llama_fp8 + DSpark", [this](RadBuilder* b) {
auto c = dspark_ctx(0, 1); return llama_fp8::declare(b, lla.meta(), &c); },
llama_fp8::step, 7, {}, 0xdcf36a1d31aba73cull);
@@ -9942,15 +9942,15 @@ TEST(a_4096_budget_without_a_span_is_the_pinned_graph_and_steps) {
uint64_t graph, steps;
};
const Case cases[] = {
{ "qwen4exp_fp8", 1, 0, 0x43db8c3ddf237950ull, 0x26a9e2c23cf85696ull },
{ "qwen4exp_fp8", 2, 0, 0x46b814bcc44bdaaaull, 0x889c6b36c014609full },
{ "qwen4exp_fp8", 2, 1, 0xfaef43f1dff09459ull, 0x959ef6b7c6f57d8bull },
{ "qwen4exp_fp8", 4, 0, 0xa6fe7e5732760f4cull, 0xfbe74f2b9d7020bfull },
{ "qwen4exp_fp8", 4, 3, 0x9281597b6738d9a4ull, 0x36df57cac613c6cfull },
{ "qwen35_fp8", 1, 0, 0xf5ea9e1795b08134ull, 0x4d6fca823d1e97efull },
{ "qwen35_fp8", 2, 1, 0x803113b1ae0276e3ull, 0xb297654cef04bf08ull },
{ "qwen35moe_fp8", 1, 0, 0x3979c928377bd5fcull, 0x3fcf71676e558d79ull },
{ "qwen35moe_fp8", 2, 0, 0x5ef9a8b68cb03cf1ull, 0x05e0778848bf416cull },
{ "qwen4exp_fp8", 1, 0, 0x23ec76c443e2cb6full, 0x26a9e2c23cf85696ull },
{ "qwen4exp_fp8", 2, 0, 0x88290524cfd7714full, 0x889c6b36c014609full },
{ "qwen4exp_fp8", 2, 1, 0xa4268bda72739be8ull, 0x959ef6b7c6f57d8bull },
{ "qwen4exp_fp8", 4, 0, 0xaa5abead708b106full, 0xfbe74f2b9d7020bfull },
{ "qwen4exp_fp8", 4, 3, 0x9ffc4cf1b074a153ull, 0x36df57cac613c6cfull },
{ "qwen35_fp8", 1, 0, 0xcfc82ca915ec549dull, 0x4d6fca823d1e97efull },
{ "qwen35_fp8", 2, 1, 0xcaf28466af9e917dull, 0x0bcf5833fce11a86ull },
{ "qwen35moe_fp8", 1, 0, 0x7fa7b015e1bc8873ull, 0x3fcf71676e558d79ull },
{ "qwen35moe_fp8", 2, 0, 0xf60c9508dd197370ull, 0x05e0778848bf416cull },
};
for (const Case& cs : cases) {
RadBuilder b;