IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Python function

kda_chunk_is_registered

kda_chunk_is_registered()​

max.nn.legacy.state_space.kda_chunk_is_registered()

source

Reports whether the current graph’s kernel library has kda_chunk.

The kernel ships only with the closed-source kernel packages, so a source-only build lacks it. Callers that can fall back to the sequential recurrence should ask this, alongside kda_chunk_supports_head_dims(), before routing to kda_chunk().

Returns:

True when kda_chunk can be added to the current graph.

Return type:

bool