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_k_matmul_ragged_paged_scale
struct Struct_k_matmul_ragged_paged_scale
Registers the kv_cache.k_matmul.ragged.paged.scale graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[m_scale_granularity: Int, n_scale_granularity: Int, k_scale_granularity: Int](hidden_state: T, input_row_offsets: T, weight: T, input_scale: T, weight_scale: 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)