EfficientMoE / MoE-Infinity
PyTorch library for cost-effective, fast and easy serving of MoE models.
Why this job: topics: llm-inference, inference-engine
What it does
- Cost-effective. Expert offloading to host memory and SSD lets memory-constrained GPUs serve MoE models that would otherwise not fit. DeepSeek-V4-Flash additionally offloads FP4-quantized experts.
- Fast. Activation-aware expert caching, prefetching, tracing, fused CUDA kernels, CUDA graph capture, Marlin INT4 GEMM, and FP4/MXFP4 expert paths keep the hot path lean.
- HuggingFace-native. The MoE class remains the current in-process synchronous API, but MoE.generate() emits DeprecationWarning and is scheduled for removal. Use MoE.serve() for continuous batching; it starts an async HTTP service and is not
- Production serving. OpenAI-compatible HTTP server with continuous batching, paged KV cache, request scheduling with preemption, streaming (SSE), runtime hot reload, watchdog/health monitoring, and crash-recovery logging. Opt-in correctness-
- Acceleration-aware. Automatically integrates with FlashAttention and uses FlashInfer where the selected standard paged-attention backend supports it, with graceful fallback to built-in kernels. DeepSeek MLA currently uses the correct PyTorc
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 2 days ago
- Stars
- 381
- +2 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- Linux
- From the latest release
- Latest version
- v0.2.2
- Released 40 days ago
- Built with
- Python
- 76% of the code
Is it looked after?
- Contributors
- 7
- Last 90 days
- Issues
- 85% closed
- 15 still open
- Pull requests
- 232 merged
- 3 waiting
- Releases
- 1
- 1 in the last year
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| xLLM-AI / xllm | 1,618 | today | Apache-2.0 | No downloads |
| Tiiny-AI / PowerInfer | 9,875 | 6 months ago | MIT | No downloads |
| carloslfu / slotstream | 659 | today | MIT | No downloads |
More: download files, languages, topics and project record
Languages
- Python 76%
- C++ 14%
- Cuda 9%
- HTML 1%
Topics
- inference-engine
- large-language-models
- mixture-of-experts
- huggingface
- pytorch
- llm-inference
Project record
- JobLocal LLMs
- StatusListed
- Commits424
- Forks49
- Watching4
- Stars in 28 days+12
- CreatedJan 22, 2024
- First seen by usNov 7, 2026
- CheckedNov 9, 2026
