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
MSAAttnKey
MSAAttnKeyโ
class max.nn.kv_cache.MSAAttnKey
Bases: AttnKeyInterface
Decode dispatch metadata for multi-step attention (MSA).
dispatch_metadata_spec()โ
classmethod dispatch_metadata_spec()
A single host int, since MSA kernels read no dispatch metadata.
-
Return type:
-
DispatchMetadataSpec
pack_into()โ
pack_into(into, max_cache_valid_length)
Writes the sentinel the placeholder input carries.