Skip to content

Releases

R3

Choose a tag to compare

@arthurgervais arthurgervais released this 22 Nov 04:01

~1.2-1.25x output tok/s on agentic scan traffic (85 concurrent multi-turn agents, up to 400K context, 4x H200), measured back to back against R2. All changes are exact; outputs are unchanged.

  • Long-context decode steps with page copies take the native loop instead of the Python fallback.
  • mixed_min_decode_steps=10: fewer, fuller mixed steps under load (first token ~+0.6 s).
  • Decode-bucket precreation deadline: restarts under constant traffic reach full speed.

See the README for the numbers.

R2: native C/C++ serving on 4x H200

Choose a tag to compare

@arthurgervais arthurgervais released this 21 Nov 01:44

ds41h native R2 vs stock vLLM on 4x H200

Native C/C++ serving of DeepSeek-V4.1-Flash-1017 on one node with 4x H200. It replaces the vLLM-based ds41h stack at tag FPRv1.

What's in R2

  • Native engine loop. The scheduler, KV manager, block tables, step builders and engine loop are C++. Decode runs on CUDA graphs launched by a C++ driver.
  • C++ API frontend. It replaces vLLM's Python API server: HTTP/TLS, API keys, chat templates, tool-call parsers.
  • Custom sm_90a kernels. A persistent decoder kernel, the sparse-attention indexer, routed-expert GEMMs and NVLink all-gather / reduce-scatter.
  • Precision. No quantization beyond the checkpoint's own formats (MXFP4 experts, FP8 dense weights), with 16-bit activations.

Performance

8K prompts, 2,048 output tokens, thinking off, 600 W. ds41h native uses DSpark k=3.

Stock vLLM 0.32.0, est. at 600 W ds41h native Gain
Decode, 1 stream 450-600 tok/s 622 tok/s ~x1.0-1.4
Prefill 27-38K tok/s 52-65K tok/s ~x1.5-2.4
KV cache 613K tokens 67.8M tokens x35+
256 streams don't fit 19.5K tok/s -

The stock figures are scaled from a stock run measured on the same host at ~200 W, with DSpark k=5. The README explains the method.

Against the vLLM-based ds41h stack (FPRv1), measured: x1.17 at 1 stream, x1.33-1.35 at 64, x1.60 at 256, and x3.2 KV cache.

Get started

You need 4x H200 (sm_90a), CUDA 13, gcc/g++ 13 and ~195 GiB of host RAM for the Engram tables. Build and run steps are in the README.