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).
Python class
AxisAssignment
AxisAssignmentโ
class max.experimental.sharding.AxisAssignment(needed_inputs, output)
Bases: NamedTuple
One per-mesh-axis row in an ActionSet.
Reads as: given these per-axis input placements, the output along
that axis is output. Picking one AxisAssignment
per mesh axis builds a multi-axis Action.
Create new instance of AxisAssignment(needed_inputs, output)
needed_inputsโ
Alias for field number 0
outputโ
output: Placement
Alias for field number 1
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!