[comm] Enable multi-node custom-AR v2 on a single NVLink clique (#32339)
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Lianmin Zheng <lianminzheng@gmail.com>
This commit is contained in:
co-authored by
Claude
Lianmin Zheng
parent
2c63a2f12b
commit
55c4853487
@@ -34,7 +34,7 @@ DTYPE_ITEMSIZE = DTYPE.itemsize
|
||||
MESSAGE_SIZES_KB = [2**x for x in range(2, 17)]
|
||||
MESSAGE_SIZES_KB += [192, 384, 640, 768, 896, 1536, 3072]
|
||||
MESSAGE_SIZES_KB.sort()
|
||||
WORLD_SIZES = list(range(2, 9))
|
||||
WORLD_SIZES = list(range(2, 9)) + [16]
|
||||
MAX_BYTES = max(MESSAGE_SIZES_KB) * 1024
|
||||
# trtllm allreduce_fusion only supports these world sizes.
|
||||
FI_SUPPORTED_WORLD_SIZES = (2, 4, 8)
|
||||
|
||||
Reference in New Issue
Block a user