Accelerating Mixture-of-Experts with IO and Tile-aware Optimizations.
SonicMoE
is a blazing-fast MoE implementation optimized for NVIDIA Hopper and Blackwell GPUs.
It leverages CuTe-DSL and Triton to deliver state-of-the-art performance through IO-aware optimizations.
Since
sonic-moe#39
the functional
API exposes both
softmax(topk(logits))
(TC default) and
topk(softmax(logits))
(Qwen3 style) routing, plus optional top-k probability renormalization:
By default,
w1
(gated up-projection) is expected in
interleaved
layout
[gate_0, up_0, gate_1, up_1, ...]
. HuggingFace checkpoints (Qwen3, Mixtral,
DeepSeek, ...) store
gate_up_proj
in
concatenated
layout
[gate_0, ..., gate_{I-1}, up_0, ..., up_{I-1}]
. Pass
concat_layout=True
to
moe_TC_softmax_topk_layer
/
moe_general_routing_inputs
to consume the
concatenated layout directly without a pre-pass permutation.
Vendored Dependencies
This kernel vendors
QuACK
v0.6.1 for
CuTe-DSL grouped GEMM infrastructure (Hopper + Blackwell). The vendored copy is
under
torch-ext/sonic_moe/quack/
. Torch operators are registered through
add_op_namespace_prefix
, which the build system prefixes with a kernel-unique
namespace, so they cannot collide with a user-installed
quack-kernels
.
License
Apache-2.0 (SonicMoE and QuACK are both Apache-2.0 licensed)
Runs of axolotl-ai-co sonic-moe on huggingface.co
9
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About sonic-moe huggingface.co Model
sonic-moe huggingface.co
sonic-moe huggingface.co is an AI model on huggingface.co that provides sonic-moe's model effect (), which can be used instantly with this axolotl-ai-co sonic-moe model. huggingface.co supports a free trial of the sonic-moe model, and also provides paid use of the sonic-moe. Support call sonic-moe model through api, including Node.js, Python, http.
sonic-moe huggingface.co is an online trial and call api platform, which integrates sonic-moe's modeling effects, including api services, and provides a free online trial of sonic-moe, you can try sonic-moe online for free by clicking the link below.
axolotl-ai-co sonic-moe online free url in huggingface.co:
sonic-moe is an open source model from GitHub that offers a free installation service, and any user can find sonic-moe on GitHub to install. At the same time, huggingface.co provides the effect of sonic-moe install, users can directly use sonic-moe installed effect in huggingface.co for debugging and trial. It also supports api for free installation.