radiance 1.0.8

- Qwen3.8-Flash-Next serves at --tp 4, contributed by goodman-b (PR 9). Rank pairs share each of
  the model's two KV heads, every rank computes a slice of every expert's width, and four ranks
  run the unfused all-reduce plus a new four-rank all-gather for the vocab-parallel sampler. Two
  ranks declare and compute exactly as before. The README has a four-rank flag row; it pins
  --host-pool-mib on every card, 48 GiB in all. At four ranks the expert shares are not equal:
  ranks 0 and 1 compute three blocks of every even/odd pair of experts and ranks 2 and 3 two
  (docs/ARCHITECTURES.md).
- The four- and eight-rank all-gathers require peer access between the cards, as every other
  collective does since 1.0.7, and the kernel library's selftest now refuses any multi-rank kernel
  that does not.
This commit is contained in:
Deadcode committed 2026-10-04 21:59:28 +02:00
1 parent 146318894d
commit 140987fa7b
13 files changed
+86 -63

No files matched your search

+3 -3
View File
@@ -1832,7 +1832,7 @@ TEST(a_sizing_declare_leaves_the_step_state_alone_and_shrinks_only_rows) {
}
/* FOUR RANKS: THE KV HEADS REPLICATE, THE EXPERTS SPLIT WHOLE, THE FUSED COLLECTIVES STOP.
/* FOUR RANKS: THE KV HEADS REPLICATE, THE EXPERT WIDTHS SPLIT, THE FUSED COLLECTIVES STOP.
*
* This is the tensor-parallel test above's sibling for the other model in the tree, and it exists
* because world 4 was not declarable at all: `geom_from` refused any world larger than the KV head
@@ -2039,8 +2039,8 @@ TEST(flashnext_tp4_replicates_kv_heads_and_splits_expert_widths) {
}
/* AT TWO, THE OLD DECLARATION: the KV heads split, so the even shard already selects the right
* rows and NO SPAN is declared at all -- TP2 is byte-identical to the tree this fork started
* from. The fused forms are the tell that world 2 is a different deployment and not the same
* rows and NO SPAN is declared at all -- TP2 declares as it did before replication existed.
* The fused forms are the tell that world 2 is a different deployment and not the same
* one stretched: they resolve there and nowhere else. */
{
RadBuilder h[2];