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_moe_router_group_limited
struct Struct_moe_router_group_limited
Registers the moe.router.group.limited graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[n_routed_experts: Int, n_experts_per_tok: Int, n_groups: Int, topk_group: Int, norm_weights: Bool](expert_indices: T, expert_weights: T, expert_scores: T, expert_bias: T, routed_scaling_factor: Float32, context: DeviceContext)