Archived
four-rank ar_gather_hc_write: the MoE gather in front of the exact one-shot write
At --tp 4 each MoE connection ran moe_gather and the fused write as two launches, three or four with the inverse table. ar_gather_hc_write_4rank runs r4d_ar_gather_word as the prologue of ar_hc_write_4rank, with the two-rank slot table and grid rule. The arithmetic is moe_gather's plus ar_hc_write_4rank's, so the bytes are unchanged. One and two ranks unchanged.
This commit is contained in:
1 parent
c36e6fa2b3
commit
2f56e3c477
12 files changed
+415
-36
No files matched your search
+2
-1
@@ -777,7 +777,8 @@ ranks only the exact form exists.
|
||||
`ar_gather_hc_write` is `moe_gather` followed by `ar_hc_write`: the gather's output IS the
|
||||
message, so `y` is written by the gather half before it is reduced in place, and the five gather
|
||||
operands and `act` mean exactly what they mean on `moe_gather`. `wire` is `ar_hc_write`'s. On
|
||||
either wire, byte-identical to the three kernels it stands in for.
|
||||
either wire, byte-identical to the three kernels it stands in for. At four ranks only the exact
|
||||
form exists, as for `ar_hc_write`.
|
||||
|
||||
## Vocabulary edges
|
||||
|
||||
|
||||
Reference in new issue
Block a user