Archived
libr4d: all-reduce and all-gather at three ranks
Instantiate the wide one-shot all-reduce at WS=3 and add an all-gather on the
wide transport (ar_gather_3rank), with dispatch rows for world_size 3, so a
three-card box resolves 'all_reduce' and the vocab-parallel sampler's
'all_gather'. The two-shot is not instantiated at 3: it shards the message
world ways and the residual width does not divide. Selftest: 3-rank sum,
block-count sweep and both gather placements (skipped on fewer than 3 cards).
Local lab build on top of 1.0.3 (f487864); not submitted upstream.
(cherry picked from commit a76f2ab66500b9a7711b8f52abbf48eb88758359)
This commit is contained in:
1 parent
709d9beb1b
commit
b60e329d93
8 files changed
+302
-19
No files matched your search
@@ -173,6 +173,8 @@ int r4d_rad_ar_gather_2rank (const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_gather_4rank (const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_gather_8rank (const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_oneshot_2rank_wht6 (const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_oneshot_3rank_exact(const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_gather_3rank (const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_oneshot_4rank_exact(const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_oneshot_8rank_exact(const RadArgs*, RadStream);
|
||||
int r4d_rad_ar_twoshot_4rank_exact(const RadArgs*, RadStream);
|
||||
|
||||
Reference in new issue
Block a user