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).
Mojo struct
Struct_fused_qk_rope_padded_paged
struct Struct_fused_qk_rope_padded_paged[interleaved: Bool]
Implemented traitsโ
AnyType,
ImplicitlyDestructible
Methodsโ
executeโ
static def execute[dtype: DType, //, target: StringSlice[StaticConstantOrigin]](output: ManagedTensorSlice[Output, static_spec=output.static_spec], q_proj: ManagedTensorSlice[Input, static_spec=q_proj.static_spec], kv_blocks: ManagedTensorSlice[MutableInput, static_spec=kv_blocks.static_spec], cache_lengths: ManagedTensorSlice[Input, static_spec=cache_lengths.static_spec], kv_lookup_table: ManagedTensorSlice[Input, static_spec=kv_lookup_table.static_spec], max_lengths: ManagedTensorSlice[Input, static_spec=max_lengths.static_spec], freqs_cis: ManagedTensorSlice[Input, static_spec=freqs_cis.static_spec], layer_idx: UInt32, valid_lengths: ManagedTensorSlice[Input, static_spec=valid_lengths.static_spec], context: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!