Artificial intelligence

Aleph alpha's new megakernel library cuts moe inference latency by 200%

Alpha-MoE fuses multiple operations into a single persistent kernel to achieve up to 200% inference speed gains over Triton-based kernels in vLLM and SGLang, targeting FP8-precision MoE models.

Emmanuel Fabrice Omgbwa Yasse

2026-07-09 · 3 min read

Aleph alpha's new megakernel library cuts moe inference latency by 200%

The MoE bottleneck

Mixture-of-experts architectures have become the workhorse of large language model deployments, offering a path to higher capacity without proportional compute costs. But the routing logic and the all-to-all communication patterns that make MoE efficient also introduce latency overheads that dense models avoid. In production serving frameworks like vLLM and SGLang, these overheads can eat into the theoretical gains, especially at scale.

Aleph Alpha, the Heidelberg-based AI lab behind the Luminous series of models, has released Alpha-MoE, a specialized kernel library designed to address precisely this pain point. The library targets the W8A8 quantized inference path, 8-bit weights and 8-bit activations, using the FP8 data format, and claims speedups of up to 200% compared to existing open-source Triton kernels used in vLLM and SGLang.

How the megakernel works

The core idea behind Alpha-MoE is kernel fusion: instead of launching multiple small GPU kernels for each stage of the MoE computation, routing, gating, expert computation, and output combination, the library merges these steps into a single persistent kernel. This reduces kernel launch overhead, improves memory locality, and allows the GPU to keep data in registers rather than shuffling it through global memory between discrete kernel calls.

The library is built with a focus on FP8 precision, a format that has gained traction for inference because it halves memory bandwidth requirements compared to FP16 while retaining acceptable accuracy for many tasks. By combining FP8 quantization with kernel fusion, Alpha-MoE effectively doubles the throughput per GPU for MoE model inference, according to the company's benchmarks.

Benchmark context

Aleph Alpha provided performance data comparing Alpha-MoE against the default Triton kernels shipped with vLLM and SGLang, the two most popular open-source LLM serving frameworks. On a range of MoE model sizes and batch configurations, the fused megakernel consistently delivered between 150% and 200% speedups in end-to-end token generation latency.

The largest gains were observed in high-throughput scenarios with large batch sizes, where kernel launch overhead and memory bandwidth contention are most acute. For low-latency single-request inference, the improvements were more modest but still significant, hovering around 80% to 100%.

Independent verification of these numbers is pending, but the company has released the library under an open license on GitHub, allowing the research community to reproduce the benchmarks.

Broader ecosystem implications

The release comes at a time when the MoE architecture is spreading beyond large labs. Models like Mixtral 8x7B, Qwen1.5-MoE, and DeepSeek-MoE have made routing-based architectures accessible to smaller teams and startups. However, serving these models efficiently on consumer-grade GPUs remains a challenge, one that Alpha-MoE directly addresses.

If the benchmarks hold up, the library could lower the hardware barrier for running competitive open-source MoE models. It also raises the stakes for frameworks like vLLM and SGLang, which will need to integrate similar optimizations or risk losing performance-conscious users.

For Aleph Alpha, which has positioned itself primarily as a European AI sovereign cloud provider, releasing the library as open source is a strategic move to build credibility in the developer community and attract users to its platform.

The open question: adoption

The library's success depends not only on its raw performance but on its integration story. Alpha-MoE must be compatible with the evolving model formats (Safetensors, GGUF, GPTQ) and quantization schemes used by the open-source ecosystem. The company says it supports the most common patterns and has published integration guides for vLLM and SGLang.

Adoption will also hinge on how well the library handles edge cases: small batch sizes, very large models with hundreds of experts, and non-standard routing strategies. Alpha-MoE's persistence kernel approach is promising, but real-world serving traffic is messy.

For now, the project gives AI engineers a concrete reason to re-evaluate their inference stack. Whether Alpha-MoE becomes a standard component or a niche tool will depend on the community's ability to test, break, and improve it.