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_kv_cache_row_offsets_ragged_paged
struct Struct_kv_cache_row_offsets_ragged_paged
Registers the mo.kv_cache.row_offsets.ragged.paged graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[target: StringSlice[ImmStaticOrigin]](cache_row_offsets: ManagedTensorSlice[IOSpec[_, _].Output, static_spec=cache_row_offsets.static_spec], input_row_offsets: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=input_row_offsets.static_spec], cache_lengths: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=cache_lengths.static_spec], context: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!