CPU-GPU hybrid inference for DeepSeek-V4 on NVIDIA SM80+ (A100/RTX 4090 etc.), forked from yhfgyyf/vllm-deepseek-v4-sm89.
60
stars
14,339
commits
Python
primary language
Sep 11, 2026
updated
A fork of yhfgyyf/vllm-deepseek-v4-sm89 with CPU-GPU hybrid inference support for DeepSeek-V4 on NVIDIA SM80+ (A100, RTX 4090, etc.).
This project integrates the CPU-GPU hybrid inference engine lk_moe into a specialized vLLM fork:
yhfgyyf/vllm-deepseek-v4-sm89, which provides the compatibility modifications needed for DeepSeek-V4 on SM89 architecture, extended here to support SM80+ GPUs.This version is purpose-built to run DeepSeek V4 on NVIDIA GPUs with SM80+ compute capability (A100, RTX 4090, A6000, etc.).
Lvllmds4-x is part of the LvLLM ecosystem—a family of parallel projects that integrate the lk_moe hybrid inference engine into different vLLM branches for different model/hardware targets:
| Project | Upstream vLLM Branch | Target |
|---|---|---|
| LvLLM | Latest vLLM mainline | General MoE models (Qwen3, GLM, MiniMax, Kimi, etc.) |
| Lvllmds4 | jasl/vllm (codex/ds4-sm120-min-enable) | DeepSeek-V4 (SM120+) |
| Lvllmds4-x (this repo) | yhfgyyf/vllm-deepseek-v4-sm89 | DeepSeek-V4 (SM80+) |
Similarly, Lsglang integrates lk_moe into sglang for the same hybrid inference capabilities across frameworks.
Open GPU Prefill, max_num_batched_tokens=8192 (Row 1), max_num_batched_tokens=32768 (Row 2)
| Model | Version | CPU | Memory | GPU | Prefill | Decode | Speculative Decoding |
|---|---|---|---|---|---|---|---|
| deepseek-ai/DeepSeek-V4-Flash-0731 | Lvllmds4-x-v2.3.9 | EPYC 7642 *2 | 16 channels ddr4 3200 | 3090 * 2 | 1060 t/s [input 32768] | 26 t/s [input 32768] | 35~47 t/s |
| deepseek-ai/DeepSeek-V4-Flash-0731 | Lvllmds4-v2.3.9 | EPYC 9684x *2 | 24 channels ddr5 4800 | pro 6000 * 1 | 3100 t/s [input 131072] | 75 t/s [input 131072] | 100~115 t/s |
Pre-built releases and detailed installation/usage instructions for DeepSeek-V4 on SM80+ are available on the Releases page.
(top 30 of 459)
Python
84.5%
Cuda
5.3%
Rust
5.1%
C++
3.6%
CPU-GPU hybrid inference for DeepSeek-V4 on NVIDIA SM80+ (A100/RTX 4090 etc.), forked from yhfgyyf/vllm-deepseek-v4-sm89.
60
stars
14,339
commits
Python
primary language
Sep 11, 2026
updated
A fork of yhfgyyf/vllm-deepseek-v4-sm89 with CPU-GPU hybrid inference support for DeepSeek-V4 on NVIDIA SM80+ (A100, RTX 4090, etc.).
This project integrates the CPU-GPU hybrid inference engine lk_moe into a specialized vLLM fork:
yhfgyyf/vllm-deepseek-v4-sm89, which provides the compatibility modifications needed for DeepSeek-V4 on SM89 architecture, extended here to support SM80+ GPUs.This version is purpose-built to run DeepSeek V4 on NVIDIA GPUs with SM80+ compute capability (A100, RTX 4090, A6000, etc.).
Lvllmds4-x is part of the LvLLM ecosystem—a family of parallel projects that integrate the lk_moe hybrid inference engine into different vLLM branches for different model/hardware targets:
| Project | Upstream vLLM Branch | Target |
|---|---|---|
| LvLLM | Latest vLLM mainline | General MoE models (Qwen3, GLM, MiniMax, Kimi, etc.) |
| Lvllmds4 | jasl/vllm (codex/ds4-sm120-min-enable) | DeepSeek-V4 (SM120+) |
| Lvllmds4-x (this repo) | yhfgyyf/vllm-deepseek-v4-sm89 | DeepSeek-V4 (SM80+) |
Similarly, Lsglang integrates lk_moe into sglang for the same hybrid inference capabilities across frameworks.
Open GPU Prefill, max_num_batched_tokens=8192 (Row 1), max_num_batched_tokens=32768 (Row 2)
| Model | Version | CPU | Memory | GPU | Prefill | Decode | Speculative Decoding |
|---|---|---|---|---|---|---|---|
| deepseek-ai/DeepSeek-V4-Flash-0731 | Lvllmds4-x-v2.3.9 | EPYC 7642 *2 | 16 channels ddr4 3200 | 3090 * 2 | 1060 t/s [input 32768] | 26 t/s [input 32768] | 35~47 t/s |
| deepseek-ai/DeepSeek-V4-Flash-0731 | Lvllmds4-v2.3.9 | EPYC 9684x *2 | 24 channels ddr5 4800 | pro 6000 * 1 | 3100 t/s [input 131072] | 75 t/s [input 131072] | 100~115 t/s |
Pre-built releases and detailed installation/usage instructions for DeepSeek-V4 on SM80+ are available on the Releases page.
(top 30 of 459)
Python
84.5%
Cuda
5.3%
Rust
5.1%
C++
3.6%