Archived
pipelined prefill: review fixes
The parts of the series' review rounds that concern the pipelined prefill and the second lane, carried over when the series was split: - qwen35_fp8: a trunk whose norms write rotated int8 codes (qwen35_w8a8 where libr4d serves the `_had_quant_i8g` forms) prefills serially -- the boundary norms on the second lane issue the E4M3 pair only, and before the fix libr4d refused them for the int8 op, failing every one-sequence prefill step of 1024 rows or more; a pipelined step whose bounds have no storage fails the step rather than falling back on one rank only. - The three- and eight-rank overlap all-reduce rows accept every tunable pin their wide rows accept (r4d_selftest checks it). - rad_builder.h: the window joins lane 1 into lane 0 at its end only, so an op declared before it must not be issued again while lane 1 has work pending. - tests: arch_test for the w8a8 trunk; plugin_test's lane-row comment. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
48e41fda1e
commit
4ec175549c
6 files changed
+87
-8
No files matched your search
@@ -901,7 +901,8 @@ TEST(libr4d_resolves_the_all_reduce_by_message_size) {
|
||||
"41943040:ar_twoshot_3rank_exact ");
|
||||
|
||||
/* At `overlap` 1 (a pipelined prefill's all-reduce beside compute) the two-shot band takes the
|
||||
* narrow lane row at three, four and eight ranks, exact and, where it exists, lossy; the
|
||||
* lane row at three, four and eight ranks, exact and, where it exists, lossy (at three and
|
||||
* eight launched as the wide rows unless R4D_AR_LANE_3_8=1); the
|
||||
* one-shot band has no lane row past two ranks. The lists split at the eight-rank one-shot edge
|
||||
* as above; at eight ranks the band between it and the wide one-shot bound stays on the plain
|
||||
* two-shot. */
|
||||
|
||||
Reference in new issue
Block a user