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 function
moe_indices_packed
def moe_indices_packed[top_k: Int, local_experts: Int, poison: Int = Int(0)](a: PackedIndicesArgs, ctx: DeviceContext)
Builds the indices of a.tokens packed routing rows.
Every id must be a whole number below 2^24, as a router writes it.
poison plants a fault for the tests.