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 function
build_state_store
build_state_store()
max.pipelines.lib.request_state.build_state_store(decoder_cls, config, *, max_batch_size, devices)
Returns the state store a registered decoder declares, if any.
-
Parameters:
-
Raises:
-
- TypeError – If
state_storereturns something other than aRequestStateStore. - ValueError – If the store leaves a symbolic dim of a tensor input unbounded.
- TypeError – If
-
Return type:
-
RequestStateStore | None