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_fused_qkv_index_matmul_padded_ragged
struct Struct_fused_qkv_index_matmul_padded_ragged
Implemented traitsโ
Methodsโ
executeโ
static def execute[kv_type: DType, index_kv_type: DType, //, IQ_DIM: Int](output: T, 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, index_kv_blocks: T, index_page_stride: T, index_cache_lengths: T, index_kv_lookup_table: T, index_max_prompt_length: T, index_max_cache_length: T, layer_idx: UInt32, ctx: DeviceContext)