pith. sign in

arxiv: 2403.08245 · v2 · pith:EKT4SQPVnew · submitted 2024-03-13 · 💻 cs.LG · cs.DC

Scattered Mixture-of-Experts Implementation

classification 💻 cs.LG cs.DC
keywords implementationmixture-of-expertsenablesfootprintmemoryparallellinearscattermoespeed
0
0 comments X
read the original abstract

We present ScatterMoE, an implementation of Sparse Mixture-of-Experts (SMoE) on GPUs. ScatterMoE builds upon existing implementations, and overcoming some of the limitations to improve inference and training speed, and memory footprint. This implementation achieves this by avoiding padding and making excessive copies of the input. We introduce ParallelLinear, the main component we use to build our implementation and the various kernels used to speed up the operation. We benchmark our implementation against Megablocks, and show that it enables a higher throughput and lower memory footprint. We also show how ParallelLinear enables extension of the Mixture-of-Experts concept by demonstrating with an implementation of Mixture of Attention.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Grouped Query Experts: Mixture-of-Experts on GQA Self-Attention

    cs.LG 2026-06 unverdicted novelty 7.0

    Grouped Query Experts applies per-group MoE routing to query heads in GQA, matching baseline accuracy while activating half the query heads on 250M models trained for 30B tokens.

  2. RaMP: Runtime-Aware Megakernel Polymorphism for Mixture-of-Experts

    cs.LG 2026-04 unverdicted novelty 6.0

    RaMP uses a hardware-derived performance region analysis and a four-parameter wave cost model to select optimal polymorphic kernel configurations for MoE inference from runtime expert histograms, delivering 1.22x kern...