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).
Mojo struct
Struct_kv_matmul_ragged_paged
struct Struct_kv_matmul_ragged_paged
Registers the kv_cache.kv_matmul.ragged.paged graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute(hidden_state: T, input_row_offsets: T, weight: T, kv_blocks: T, page_stride: T, cache_lengths: T, kv_lookup_table: T, max_prompt_length: T, max_cache_length: T, layer_idx: UInt32, ctx: DeviceContext)