For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo module
distributed
Registers distributed and multi-GPU collective graph ops backed by the comm and shmem kernels.
comptime valuesβ
loggerβ
comptime logger = Logger(stdout, prefix=String(""), source_location=False)
Structsβ
- β
DistributedAllGather: Registers themo.distributed.allgathergraph op with the graph compiler. - β
DistributedAllGatherRMSNorm: Registers themo.composite.distributed.allgather_rms_normgraph op with the graph compiler. - β
DistributedAllReduceAddRMSNormQuantFP8: Registers themo.composite.distributed.allreduce_add_rms_norm_quant_fp8graph op with the graph compiler. - β
DistributedAllReduceSum: Registers themo.distributed.allreduce.sumgraph op with the graph compiler. - β
DistributedBroadcast: Distributed broadcast: copy tensor from root GPU to all GPUs. - β
DistributedMatmulReduceScatterSum: Registers themo.composite.distributed.matmul_reduce_scatter.sumgraph op with the graph compiler. - β
DistributedReduceScatterRMSNorm: Registers themo.composite.distributed.reduce_scatter_rms_normgraph op with the graph compiler. - β
DistributedReduceScatterSum: Registers themo.distributed.reducescatter.sumgraph op with the graph compiler. - β
DistributedScatter: Distributed scatter: send different chunks to different device groups. - β
LamportAllreduceRMSNorm: Per-rank fused Lamport allreduce + RMSNorm (high-perf protocol).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!