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_eplb_remap
struct Struct_moe_eplb_remap
Registers the mo.moe.eplb.remap graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[num_log: Int, max_replicas: Int, K: Int, hash_decorrelate: Bool, target: StringSlice[ImmStaticOrigin]](phy_idx: ManagedTensorSlice[IOSpec[_, _].Output, static_spec=phy_idx.static_spec], router_idx: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=router_idx.static_spec], logcnt: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=logcnt.static_spec], log2phy: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=log2phy.static_spec], layer_idx: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=layer_idx.static_spec], context: DeviceContext)