arch/gemma3: review fixes -- calibration declares no fused junction, so no container writes zero Grams; docs corrected

On an MXFP4 container the fused junctions skip the bf16 activations the tap reads, and q/k/v and
gate_up Grams came out zero without a word (down likewise behind gelu_mul_quant_i8). Under
RADIANCE_CALIB_DIR no junction or fused down-quantiser is declared, so any container
calibrates, unfused; checked on the production MXFP4 container. RADIANCE_G3_CALIB_LAYERS
refuses trailing characters. Docs: which trunk fuses what, the four-stream numbers' two
workloads, which sizes are tested. arch_test's world-2 check counts the post-norm op.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
mici81andClaude Opus 5.5 authored and StillDeadcode committed 2026-10-19 10:44:46 +02:00
1 parent f2c0468335
commit 44aecb0ab8
3 files changed
+28 -22

No files matched your search

+2 -1
View File
@@ -6040,7 +6040,8 @@ TEST(gemma3_steps_lint_clean_at_one_and_two_ranks) {
gemma3::step(&c, &batch);
CHECK_LINT(b, &c);
CHECK(c.step_fail.empty());
CHECK_EQ(count_op(b, "all_reduce") + count_op(b, "ar_rmsnorm_quant_fp8") > 0, world == 2);
CHECK_EQ(count_op(b, "all_reduce") + count_op(b, "ar_rmsnorm_quant_fp8") +
count_op(b, "ar_rmsnorm_post_quant_fp8") > 0, world == 2);
}
}