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 module
varlen_selective_scan_ops
Varlen selective scan operation registrations for Mamba SSM.
This module registers operations for variable-length selective scan:
- varlen_selective_scan_fwd: Forward pass for varlen sequences
- varlen_selective_state_update: State update for decode/autoregressive inference
comptime valuesβ
Strides1Dβ
comptime Strides1D = IndexList[Int(1)]
Strides2Dβ
comptime Strides2D = IndexList[Int(2)]
Strides3Dβ
comptime Strides3D = IndexList[Int(3)]
Strides4Dβ
comptime Strides4D = IndexList[Int(4)]
Structsβ
- β
VarlenSelectiveScanFwd: Variable-length selective scan forward pass. - β
VarlenSelectiveStateUpdate: Varlen selective state update for autoregressive inference.
Functionsβ
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!