Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
XMA documentation
XMA documentation

API Reference

  • xma.functional
    • xma.functional.bmm
    • xma.functional.continuous_count
    • xma.functional.cross_entropy
    • xma.functional.fused_residual_add_rmsnorm
    • xma.functional.gru
    • xma.functional.rnn
    • xma.functional.sequence_packing
    • xma.functional.softmax
    • xma.functional.swiglu
    • xma.functional.fused_linear_cross_entropy
    • xma.functional.rmsnorm
    • xma.functional.swiglu_packed
  • xma.layers
    • xma.layers.moe
    • xma.layers.gru
    • xma.layers.rnn

Utilities

  • xma.accelerator
  • xma.counters
Back to top
View this page

xma.layers.moe.triton_implementation¶

  • xma.layers.moe.triton_implementation.group_backward_kernel
  • xma.layers.moe.triton_implementation.group_kernel
  • xma.layers.moe.triton_implementation.scatter_kernel
scattered_experts(inputs, expert_weights, k, sorted_expert_idxs, sorted_scattered_idxs, expert_offsets, gates=None, grouped_in=False, grouped_out=False)[source]¶
Copyright © 2026, Mayank Mishra
Made with Sphinx and @pradyunsg's Furo
On this page
  • xma.layers.moe.triton_implementation
    • scattered_experts()