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

ArchConfigWithKVCache

ArchConfigWithKVCache

class max.pipelines.lib.interfaces.ArchConfigWithKVCache(*args, **kwargs)

source

Bases: ArchConfig, Protocol

Config for a model architecture that uses a KV cache.

get_kv_params()

get_kv_params()

source

KV cache parameters to use when running the model.

Return type:

KVCacheParamInterface