Archived
With fewer KV heads than ranks, each rank keeps one head and reads the rows of k and v of that head (as one span, or the k and v parts of a fused q|k|v, with the scale plane alongside); q stays an even share. Both classes, as geom_from already counts it for the sliding class. The attention junction keeps every row where the per-layer branch follows. Gemma 4 E4B (two KV heads) then runs at four ranks.