Views
No views yet
config.json as n_routed_experts_per_layer, and the vLLM
modeling file is patched to read it. Stock vLLM sizes every layer from the single scalar
num_experts and cannot serve a non-uniform checkpoint.| Model | IFEval | GPQA-Diamond | IFBench | HumanEval+ |
|---|---|---|---|---|
| Kimi K3 | 93.72 | 86.36 | 70.75 | 82.32 |
| REAP (25%) | 93.35 | 82.83 | 69.05 | 82.93 |
| Nota Global-Pruned Kimi K3 (25%) | 94.45 | 87.37 | 70.75 | 82.93 |
max_tokens=32768.max_tokens=32768.max_tokens=32768.max_tokens=32768.vllm 0.1.dev19262+gb6bbf29dd.d20260727model.py in that install with patch/model.py:1cp /workspace/kimi-k3/patch/model.py \
2 /path/to/vllm/models/kimi_k3/nvidia/model.pypython3 -c "import vllm, pathlib; print(pathlib.Path(vllm.__file__).parent / 'models/kimi_k3/nvidia/model.py')"model.py.orig is the stock file, kept for restoring.1VLLM_ENABLE_K3_LATENT_MOE_TAIL_FUSION=1 \
2FLASHINFER_PRIVATE_CUBIN_DIR=/opt/flashinfer-local-cubins/20260617_v0613rc1_situ_v0611_barrierfix \
3CUDA_VISIBLE_DEVICES=0,1,2,3,4,5 \
4vllm serve /workspace/kimi-k3/models/global_pruned_25_kimi-k3 \
5 --trust-remote-code \
6 --load-format fastsafetensors \
7 --moe-backend auto \
8 --gpu-memory-utilization 0.95 \
9 --tensor-parallel-size 2 \
10 --pipeline-parallel-size 3 \
11 --max-num-seqs 256 \
12 --no-enable-flashinfer-autotune \
13 --enable-auto-tool-choice \
14 --tool-call-parser kimi_k3 \
15 --reasoning-parser kimi_k3vocab_size is 163840 = 2¹⁵ × 5 and MoonViT's
vt_intermediate_size is 4096, so TP must be a power of two.--enable-expert-parallel — EP requires num_experts % ep_size == 0, which a
non-uniform checkpoint cannot satisfy./workspace/kimi-k3/inference/run_global_25.sh for the same launch with a pre-flight memory
check.