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 struct
DistributedMatmulReduceScatterSum
struct DistributedMatmulReduceScatterSum
Registers the mo.composite.distributed.matmul_reduce_scatter.sum graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[a_type: DType, b_type: DType, c_type: DType, rank: Int, has_residual: Bool, residual_peer: Int, target: StringSlice[ImmStaticOrigin], _trace_name: StringSlice[ImmStaticOrigin]](outputs: VariadicTensors[IOSpec[_, _].Output, static_specs=outputs.static_specs], inputs_a: VariadicTensors[IOSpec[_, _].Input, static_specs=inputs_a.static_specs], inputs_b: VariadicTensors[IOSpec[_, _].Input, static_specs=inputs_b.static_specs], residual: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=residual.static_spec], signal_buffers: VariadicTensors[IOSpec[_, _].MutableInput, static_specs=signal_buffers.static_specs], dev_ctxs_input: DeviceContextArray)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!