voipmonitor/vllm: Gilded Gnosis v20 — Blackwell Inference Stack

·5 min readlocal-ai

TL;DR: The Gilded Gnosis v20 image is a purpose-built vLLM Docker stack for NVIDIA RTX PRO 6000 Blackwell (SM120) GPUs. It layers CUDA 13.2, PyTorch 2.12, FlashInfer, SparkInfer, DeepGEMM, and EXL3 quantization into a single ~25 GB image that delivers 3,635 tok/s prefill and 53 tok/s decode on TP4/DCP1.

The voipmonitor/vllm Docker image is a community-curated inference stack targeting the latest NVIDIA Blackwell architecture. The most recent release, codenamed Gilded Gnosis v20 (r20), represents the culmination of months of upstream work across vLLM, SparkInfer, FlashInfer, and LMCache.

What is Gilded Gnosis v20?

The tag voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 is the canonical r20 image. It is built from a fixed composition of source commits across four projects:

ComponentComposed Commit
vLLM72c35f1
SparkInfer2b9bf2a
FlashInfer801d57a
LMCachea5aa59c

The image size is approximately 25 GB, and the build targets linux/amd64 on SM120 Blackwell silicon.

Stack

The underlying stack:

  • OS: Ubuntu 24.04
  • CUDA: 13.2.1 toolkit with cuDNN 9.22 and cuBLAS 13.4.1
  • PyTorch: 2.12.0+cu132 from source
  • FlashInfer: built from source with PR #2913 (GDC for SM120)
  • SparkInfer: compressed cache, PCIe replay, and EXL3 runtime
  • CUTLASS DSL: 4.5.2
  • NCCL: patched 2.30.4 with CUDA 13.2 support

Capabilities

NVFP4 Quantization

Blackwell introduced NVFP4 (4-bit floating point) as a native quantization format. This image ships with NVFP4 KV cache support, enabling massive models like Qwen3.5-397B and GLM-5.2 to fit within the 96 GB VRAM per GPU. The ONLINE_QUANT=mxfp8 and ONLINE_QUANT=exl3-b6 policies let you choose the quantization approach at runtime.

SparkInfer Integration

Three SparkInfer PRs were merged for r20:

  1. Compressed MLA page stride (#106) — corrects the physical page stride for compressed multi-latent attention caches
  2. PCIe replay and IPC lifecycle (#113) — hardens direct-master PCIe allreduce and inter-process communication
  3. EXL3 prefill and K6 cache (#112) — consolidates block-32 mixed K3/K4 prefill and native Trellis K6 execution

EXL3 Online Quantization

r20 adds the opt-in ONLINE_QUANT=exl3-b6 policy with:

  • Persistent per-rank safetensors cached under /cache/exl3-online
  • Cache identity covering checkpoint, encoder, TP geometry, tensor geometry, quantization parameters, and seed
  • Atomic writes and inter-process locking
  • Cold online-K6 creation: 1,644 files (~11.9 GB)
  • Warm restart: 1,644 cache hits, zero re-encoding

Distributed Context Parallelism (DCP)

The image supports DCP (DCP=1) alongside tensor parallelism (TP4/TP6/TP8), with validated sparse-MLA DCP prefill workspace paths. This enables splitting context across GPUs beyond tensor-parallel shards.

DeepSeek v4 Flash Profile

A dedicated serving profile (DeepSeek-V4-Flash-0731) is included, optimized for the DeepSeek v4 Flash model on Blackwell.

Performance Benchmarks

Validated on TP4/DCP1/MTP0 with graph cap 6 and batch 4,096:

MetricValue
Cold /health827.04 s
Warm /health113.94 s
Decode (CC1)53.23 / 53.08 tok/s
Prefill (8k)3,635.67 tok/s
Prefill (64k)3,512.62 tok/s

The cold-to-warm /health improvement (827 s → 114 s) comes from JIT compilation and EXL3 cache warming.

How to Use

Terminal window
# Pull the image
docker pull voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20
# Run with model profile
docker run --gpus all --ipc=host --shm-size=8g \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v jit-cache:/cache/jit -p 5000:5000 \
-e MODEL_PROFILE=qwen35-b12x \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20
# Or direct launch
docker run --gpus all --ipc=host --shm-size=8g \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v jit-cache:/cache/jit -p 5000:5000 \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
--model <model-path> --tensor-parallel-size 4 --host 0.0.0.0 --port 5000

Building from Source

The build script build-gilded-gnosis-v20-final-cu132.sh reproduces the exact r20 composition:

Terminal window
VLLM_RELEASE_COMPOSITION=reproduce-r20 \
./build-gilded-gnosis-v20-final-cu132.sh

The build uses two reusable base images:

  • voipmonitor/vllm:vllm-b12x-cu132-system-base — CUDA 13.2.1, cuBLAS 13.4.1, cuDNN 9.22, Python 3.12, patched NCCL
  • voipmonitor/vllm:vllm-b12x-cu132-build-base — system base + PyTorch 2.12 venv + CUTLASS DSL

Launcher Options

The image ships with serve-gilded-gnosis.sh as a unified launcher. It dispatches to model-specific servers through MODEL_FAMILY and accepts a full environment-variable configuration.

Model Families

MODEL_FAMILYModelQuantizationNotes
glm52 / glmGLM-5.2NVFP4Default profile
glm52-hybrid / nf3GLM-5.2 HybridNF3Mixed-precision variant
glm52-exl3 / exl3GLM-5.2 EXL3EXL3 (3.0 bpw)Trellis K6, persistent cache
ds4 / ds4-flash / dsparkDeepSeek v4 FlashNVFP4SparkInfer + DSpark

Environment Variables

The launcher accepts these key overrides (defaults shown):

VariableDefaultDescription
TP4Tensor parallelism size
DCP4Distributed context parallelism
MTP3Multi-token prediction steps
MAX_NUM_SEQS8Max concurrent sequences
GRAPH32CUDA graph capture capacity
MAX_MODEL_LEN524288Max context length
GPU_MEMORY_UTILIZATION0.95VRAM utilization ratio
MOE_MODEa16MoE compute mode
MOE_BACKENDb12xMoE backend (b12x, triton)
ONLINE_QUANTnoneOnline quant: none, exl3-b6, mxfp8
KV_CACHE_DTYPEnvfp4_ds_mlaKV cache precision
LMCACHE_MODEoffLMCache: on or off

LMCache Integration

LMCache is a distributed KV cache layer. It enables prefill-once, reuse-everywhere semantics — expensive prefill computation is cached and shared across queries, sessions, or even multiple vLLM instances.

What LMCache does:

  • Offloads KV cache to CPU memory or disk when VRAM is tight
  • Shares context across multiple vLLM workers behind a load balancer
  • Supports remote KV transfer over Ethernet, RDMA, or NVLink

Enabling LMCache:

Terminal window
# Enable LMCache — stores KV cache on CPU/disk
export LMCACHE_MODE=on
export MODEL_FAMILY=glm52
/usr/local/bin/serve-gilded-gnosis.sh

LMCache Architecture

LMCache uses a two-tier storage model:

TierLocationSpeedCapacity
L1CPU memoryFastConfigurable (e.g. 16 GB)
L2Disk (POSIX/NVMe)SlowerLimited by disk space

When a request arrives, vLLM checks L1 first (prefix match). On a miss, it falls through to L2 (disk lookup) and lazily loads the data back into L1. The StoreController asynchronously writes L1 data to L2, and the PrefetchController handles L2-to-L1 loads.

Deploying LMCache in Docker (RTX 5090)

Step 1 — Start the LMCache server:

Terminal window
# LMCache server — 16 GB L1 cache, LRU eviction
docker run --runtime nvidia --gpus all \
--network host --ipc host \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
lmcache server \
--l1-size-gb 16 \
--eviction-policy LRU \
--eviction-trigger-watermark 0.8 \
--eviction-ratio 0.2

Step 2 — Start vLLM with LMCache connector:

Terminal window
# Qwen3.6 27B with LMCache enabled
docker run --gpus all --ipc=host --shm-size=8g \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v jit-cache:/cache/jit -p 5000:5000 \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
--model Qwen/Qwen3.6-27B --quantization nvfp4 \
--max-model-len 32768 \
--kv-transfer-config \
'{"kv_connector": "LMCacheMPConnector", "kv_role": "kv_both", "kv_connector_extra_config": {"lmcache.mp.host": "tcp://localhost", "lmcache.mp.port": 5555}}' \
--host 0.0.0.0 --port 5000

Step 3 — (Optional) Add L2 disk storage for persistence:

Terminal window
# LMCache server with L2 POSIX disk backend
docker run --runtime nvidia --gpus all \
--network host --ipc host \
-v /data/lmcache:/data/lmcache \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
lmcache server \
--l1-size-gb 16 --eviction-policy LRU \
--l2-adapter '{"type": "nixl_store_dynamic", "backend": "POSIX", "backend_params": {"file_path": "/data/lmcache/l2", "use_direct_io": "false", "max_capacity_gb": "10"}}'

LMCache Configuration Reference

FlagDefaultDescription
--l1-size-gb(required)L1 CPU memory size
--eviction-policy(required)LRU or noop
--eviction-trigger-watermark0.8L1 usage fraction to trigger eviction
--eviction-ratio0.2Fraction to evict per cycle
--l2-adapter(optional)L2 storage adapter JSON
--l2-store-policydefaultdefault or skip_l1 (buffer-only)
--l2-prefetch-policydefaultdefault or retain
--port5555ZMQ port for vLLM connections
--http-port8080HTTP management port

HTTP Management Endpoints

The LMCache HTTP server provides management endpoints:

MethodPathDescription
GET/healthcheckHealth status for probes
POST/clear-cacheForce-clear L1 cache
GET/statusFull internal state
Terminal window
curl http://localhost:8080/healthcheck
curl http://localhost:8080/status
curl -X POST http://localhost:8080/clear-cache

Deploying on RTX 5090 (32 GB VRAM)

The RTX 5090 also uses SM120a silicon, so all compiled binaries in the Gilded Gnosis image work out of the box. The constraint is 32 GB VRAM — not every model fits.

VRAM Budget

The formula is simple: parameters (B) × 0.5 = VRAM (GB) for NVFP4 weights. The remainder is KV cache headroom.

ModelNVFP4 WeightsRemaining for KVVerdict
8B~4.5 GB~27.5 GBPlenty of headroom, 32K+ context
13B~6.5 GB~25.5 GBComfortable, 16K+ context
32B~16 GB~16 GBFits, 8K context typical
27B (Qwen3.6)~13.5 GB~18.5 GBComfortable, 16K context
34B~17 GB~15 GBFits, 8K context
70B~35 GBN/AWill not fit — needs 2× 5090 or CPU offload

RTX 5090 Launch Command

Terminal window
# 34B NVFP4 on single RTX 5090 (TP=1, DCP=1)
MODEL_FAMILY=glm52 TP=1 DCP=1 \
docker run --gpus all --ipc=host --shm-size=8g \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v jit-cache:/cache/jit -p 5000:5000 \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
/usr/local/bin/serve-gilded-gnosis.sh --model <model-path> --max-model-len 8192

What You Can Do

  • Chat and reasoning — 13B in FP16 or 34B in NVFP4
  • Qwen3.6 27B NVFP4 — ~13.5 GB weights, ~18.5 GB headroom for KV cache
  • Code generation — CodeLlama 34B INT4 fits at ~20 GB
  • Multi-model serving — Run an 8B chat model alongside an embedding model by splitting --gpu-memory-utilization
  • Long context — 8B FP16 with 32K context still leaves ~10 GB for KV cache

Qwen3.5/3.6 27B Family on RTX 5090

The Qwen3.5/3.6 27B models are dense 27B models with hybrid GDN/full attention architecture. They fit comfortably on a single RTX 5090 (32 GB) in NVFP4 (~13.5 GB weights, ~18.5 GB for KV cache).

Available NVFP4 Checkpoints

CheckpointMTPMultimodalNotes
Qwen/Qwen3.6-27B——Official, use with --quantization nvfp4 at runtime
Kbenkhaled/Qwen3.5-27B-NVFP4NoNoPre-quantized, minimal features
osoleve/Qwen3.5-27B-NVFP4-MTPYes (bf16)NoMTP weights in bf16
Sehyo/Qwen3.5-27B-NVFP4YesYesFull-featured: multimodal + MTP

Note: Sehyo checkpoints have kv_cache_scheme: null — no calibrated FP8 KV scales, defaulting to bf16 KV cache (2× more VRAM than calibrated FP8).

vLLM Launch (Official Qwen3.6 27B)

Terminal window
docker run --gpus all --ipc=host --shm-size=8g \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v jit-cache:/cache/jit -p 5000:5000 \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
--model Qwen/Qwen3.6-27B --quantization nvfp4 \
--max-model-len 16384 \
--host 0.0.0.0 --port 5000

vLLM Launch (Sehyo checkpoint with MTP + Multimodal)

Terminal window
docker run --gpus all --ipc=host --shm-size=8g \
-v ~/.cache/huggingface:/root/.cache/huggingface \
-v jit-cache:/cache/jit -p 5000:5000 \
voipmonitor/vllm:gilded-gnosis-v20-vllm72c35f1-si2b9bf2a-fi801d57a-cu132-20260802-r20 \
--model Sehyo/Qwen3.5-27B-NVFP4 \
--served-model-name Qwen3.5-27B \
--trust-remote-code \
--gpu-memory-utilization 0.85 \
--max-model-len 128000 \
--tool-call-parser qwen3_coder \
--enable-auto-tool-choice \
--reasoning-parser qwen3 \
--mm-encoder-tp-mode data \
--mm-processor-cache-type shm \
--speculative-config '{"method":"mtp","num_speculative_tokens":1}' \
--host 0.0.0.0 --port 5000