IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

NoReshard

NoReshard

class max.experimental.sharding.NoReshard

source

Bases: object

Passthrough-only picker: returns the first zero-reshard action.

Refuses any reshard, including a Partial → Replicated allreduce. If no input-matching action exists, raises ShardingError instead of silently inserting a collective. Never computes a transition cost.