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

Cost-model-free picker: returns the first feasible action.

Walks the menu in order and prefers actions whose input mappings already match the actual input layouts (no reshard needed). Falls back to the first feasible action when none does. Never computes a transition cost. No on_reshard diagnostic — picking the first feasible row is a best-effort policy, not a cost-driven one.