kacper-daftcode/vLLM-Moet

Frontier MoE models on RTX PRO 6000 / RTX 5090 (sm_120): DeepSeek-V4.1-Flash on 4x RTX PRO 6000, as a GPU+CPU hybrid on 4x RTX 5090, and 2-bit experts on vLLM v0.24.0

What it solves

vLLM-Moet lets you run frontier Mixture-of-Experts (MoE) models on NVIDIA RTX PRO 6000 and RTX 5090 GPUs (the sm_120 architecture) in situations where the official vLLM images either do not run at all or the model checkpoints are too large to fit in GPU memory. It provides kernel-level patches and a CPU-expert hybrid that make these models usable on consumer/prosumer hardware with high throughput.

How it works

The project builds on official vLLM images and applies kernel-side patches that are bit-identical to the paths they replace unless a doc says otherwise, each behind a runtime switch. For the hybrid mode, the GPU holds the dense weights, the KV cache, and a subset of each layer's experts (the number depends on VRAM), while every other routed expert is computed on the CPU from the checkpoint's own bytes inside the captured CUDA graph. This produces output bit-identical to the all-resident GPU path. It also includes specialized kernels for 2-bit quantization (using hand-written SASS), an FP4 delta cache, and optimizations for specific models like DeepSeek-V4.1-Flash, Qwen3.8, Kimi-K3, and Ripple-65B. The repository provides Dockerfiles, launcher scripts, and tools to build and run these configurations.

Who it’s for

This is for people who own RTX PRO 6000 or RTX 5090 GPUs and want to serve large MoE models locally, especially when the official vLLM doesn't support their hardware or the model doesn't fit in VRAM. It's also useful for developers interested in low-level GPU kernel optimization and CPU/GPU hybrid inference.

Highlights

  • Bit-identical outputs to the all-resident GPU path (0 mismatches over ~19K MoE calls per rank in the hybrid)
  • CPU-expert hybrid achieves >100 tok/s on 4× RTX 5090 with 512 GB RAM, and 84 tok/s flat over 30 min on mixed prompts
  • 2-bit expert support for models like GLM-5.2 (753B) and Kimi-K2.7-Code (1T) on one to four cards
  • Multiple model lines: DeepSeek-V4.1-Flash, Qwen3.8-Flash-Next-FP8, Kimi-K3/K3.1-Pro, Ripple-65B Preview
  • Detailed benchmark records for every configuration
  • Open-source under Apache License 2.0

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Dispatch