推論服務 / 進階
KTransformers
Very large MoE models with hot experts on the GPU and cold experts in system RAM
一手來源用你的硬體檢查這個執行階段的適配模型選裝置或顯示卡,只顯示該執行階段在這台機器上的適配路徑。
難度進階安裝難度
平台4nvidia · amd · intel · cpu
APIOpenAI-compatible through its SGLang integration:30000
01 / 安裝與執行
安裝方式取決於作業系統。以下指令是範例或範本,請先替換佔位符並核對量化版本、檔案格式、驅動與執行環境支援;記憶體適配不保證部署成功。
- 1安裝
pip install kt-kernel sglang-kt - 2啟動模型
python -m sglang.launch_server --model <verified-checkpoint> --kt-weight-path <cpu-expert-weights> --kt-cpuinfer <physical-cores> --kt-threadpool-count <numa-node-count> --port 30000 - 3連接你的應用
OpenAI-compatible through its SGLang integration · :30000. 除非加入驗證與網路存取控制,否則請將服務綁定到 localhost。
注意
A research project rather than a drop-in server: it needs the kvcache-ai SGLang fork, a separate CPU-side expert weight set, and enough system RAM for the offloaded experts. The upstream launch examples also size the CPU side explicitly: --kt-cpuinfer is the physical-core count (not hyperthreads) and --kt-threadpool-count is the NUMA node count, so leaving them out undersizes the expert path. VRAM alone does not decide the fit here.
02 / 相容模型
代表性開放權重模型
Alibaba Qwen
Qwen3.6 35B-A3B
35B3B active · Q4 / NVFP4 MoE
- 估算記憶體
- ~25 GB
- 上下文
- 262K native
DeepSeek
DeepSeek V4 Flash
284B13B active · Official FP4 + FP8 mixed
- 估算記憶體
- ~176 GB
- 上下文
- 1M native
Alibaba Qwen
Qwen3 30B-A3B
30B3B active · GGUF Q4 MoE
- 估算記憶體
- ~22.5 GB
- 上下文
- 32K+
Meta
Llama 4 Scout
109B17B active · INT4 MoE
- 估算記憶體
- ~78 GB
- 上下文
- 10M advertised
OpenAI
gpt-oss-120b
117B5.1B active · MXFP4
- 估算記憶體
- ~80 GB
- 上下文
- 128K