For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Python class
ShardingError
ShardingError
class max.experimental.sharding.ShardingError
Bases: RuntimeError
Raised when a sharding rule cannot place a call.
Covers a rule that declines every placement, operands on different
meshes, a malformed rule declaration, a target that would split a
size-1 axis, a transfer that would change an Unknown placement,
and an op the active auto_reshard() policy refuses to move.