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
@@ -188,6 +188,8 @@ int r4d_rad_ar_hc_wide_init(const RadParam*, int, int rank, int world, void** o
|
||||
int r4d_rad_ar_hc_write_4rank(const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_gather_hc_write(const RadArgs*, RadStream);
|
||||
int64_t r4d_rad_ar_gather_hc_write_scratch(const RadArgs*);
|
||||
/* ar_gather_hc_write at four ranks, exact wire only, on ar_hc_write_4rank's instance. */
|
||||
int r4d_rad_ar_gather_hc_write_4rank(const RadArgs*, RadStream);
|
||||
|
||||
/* -- GEMM (r4d_gemm_*.hip) -- */
|
||||
int r4d_rad_gemm_bf16_m16 (const RadArgs*, RadStream);
|
||||
|
||||
Reference in new issue
Block a user