Local Inference Lab: ERNIE-5.5-Flash-Preview on 2x RTX PRO 6000 Blackwell 510 tok/s peak, 14.7K tok/s cold prefill (1,260 tok/s batched, 1.42M KV tokens)

Reddit r/LocalLLaMA Tools

Summary

Local Inference Lab发布了在2× RTX PRO 6000 Blackwell上运行百度ERNIE-5.5-Flash-Preview的生产级推理运行时,展示510 tok/s峰值单会话、1,260 tok/s批量吞吐与14.7K tok/s冷预填充性能。

Local Inference Lab production-signed runtime package for Baidu's ERNIE 5.5 Flash Preview (baidu/ERNIE-5.5-Flash-Preview, Apache-2.0) — a 43-layer hybrid architecture (37 Hybrid Comp ressed Attention / VHA layers + 6 MQA-DSA sparse attention layers, 512 routed SiTU MoE experts + 1 shared expert, top-10 split-feature sigmoid routing, mHC-4 residuals, MultiMax logit calibration, bundled D Spark MTP-7 speculative drafting, and native 1M context) — running on NVIDIA Flare across just 2× PCIe Gen5 RTX PRO 6000 Blackwell 96 GB GPUs (no NVLink, no Python at serving time, pure native Rust + precompiled CUDA graphs). By keeping the checkpoint's lossless CSF-compressed MXFP4 expert scales (instead of expanding them on GPU) and tuning both prefill and decode to the SM120 / PCIe Gen5 roofline: Single-session coding peaks at 510.1 tok/s — averaging 286.5 tok/s end-to-end incl. TTFT over a full 84,456-token reasoning + HTML5 Tetris generation (294.7 s, [Finish] stop), and 358.6 tok/s (4.44 tok/round) on shorter coding prompts (RB-Tree). Batched throughput hits 1,251–1,262 tok/s steady-state (953.6 tok/s full wall-clock at C32; 596.2 tok/s / 129.9 tok/s/user at C8). Cold prefill reaches 14,717 tok/s (0.86 s TTFT at 12.7K, 1.75 s at 25.4K, 3.51 s at 50.8K — zero prefix cache, 97.0% GPU compute-busy across 129 PCIe AllReduces per 4096-token chunk). 1,416,192 shared KV tokens (24.5 GiB KV cache, 241 snapshots) + full 1,048,576 per-request context on two 96 GB GPUs (81.16 GiB/GPU fixed model footprint), with native Rust <ernie:think> reasoning ext raction and <ernie:tool_call> XML tool-calling. Benchmarks 2× RTX PRO 6000 Blackwell (96 GB) — CSF MXFP4 + DSpark MTP-7 (TP2, alpha=0.6, PCIe RO=1) Workload Throughput Per-User Notes Live coding / Tetris (84,456 tok incl. reasoning) 286.54 avg / 510.06 peak tok/s 286.54 avg / 510.06 peak 294.7 s wall time incl. TTFT, [Finish] stop C=1 coding (RB-Tree) 358.6 tok/s 358.6 tok/s 4.44 tok/round C=8 concurrent decode 596.2 tok/s 129.9 tok/s Packed adaptive verification (budget=128) C=32 concurrent decode 953.6 tok/s (1,251–1,262 steady-state) 29.8–39.4 tok/s batch=16–32 steady-state peak 1,262 tok/s Kernel step latencies (nsys / native) DECODE1 7.19 ms · DRAFT1 0.64 ms · VERIFY8 10.30 ms — ~90–91% SM120 GDDR7/compute roofline Cold 6.3K prefill (no prefix cache) 12,632 tok/s — 0.50 s TTFT (6,325 tok) Cold 12.7K prefill (no prefix cache) 14,717 tok/s — 0.86 s TTFT (12,681 tok) Cold 25.4K prefill (no prefix cache) 14,551 tok/s — 1.75 s TTFT (25,403 tok) Cold 40K NIAH (39,932 tok) 14,394 tok/s — 2.77 s TTFT, PASS Cold 50.8K prefill (no prefix cache) 14,474 tok/s — 3.51 s TTFT (50,848 tok) KV capacity & max context 1,416,192 shared KV tokens — 24.5 GiB KV cache, 241 snapshots, 1M max context (Test host: 2× NVIDIA RTX PRO 6000 Blackwell Workstation Edition 96 GB, NVreg_EnablePCIERelaxedOrderingMode=1, native Rust flare run with --mtp-draft-tokens 7 --mtp-adaptive-verification --mtp-adaptive-verifi cation-alpha 0.6. Verified on the exact signed production core: PyTorch reference parity cos=0.9963–0.9992 / top1_match=True, compute-sanitizer --tool memcheck 0 errors across all custom Triton & b12x kern els, 84.5K-token Tetris completion, C=16 × 24K-context packed-decode stress 16/16 HTTP 200, <ernie:think> reasoning, <ernie:tool_call> XML tool-calling, and logprobs=True.) Quick Setup Guide (NVIDIA Flare) 1. Recommended NVIDIA Kernel Driver Setting (modprobe) Because RTX PRO 6000 Blackwell communicates over PCIe P2P (no NVLink), enabling PCIe Relaxed Ordering unlocks posted-write collectives and removes cross-switch read stalls: sh echo 'options nvidia NVreg_EnablePCIERelaxedOrderingMode=1' | sudo tee /etc/modprobe.d/nvidia-relaxed-ordering.conf sudo update-initramfs -u sudo reboot Verify after reboot (EnablePCIERelaxedOrderingMode: 1 and working P2P in topo -m): sh grep EnablePCIERelaxedOrderingMode /proc/driver/nvidia/params nvidia-smi topo -m 2. Run on 2× 96 GB SM120 GPUs (gb202, ~167 GB / 156 GiB) Hosted on Hugging Face under Local Inference Lab: https://huggingface.co/local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE (--revision gb202) Note: Serving ERNIE 5.5 requires a flare binary / container build containing NVIDIA/hyperflare-inference#500 (native Rust <ernie:think> and <ernie:tool_call> XML parser support). Docker: sh docker run --pull=always --rm -it \ --gpus '"device=0,1"' --ipc host \ --ulimit memlock=-1:-1 --ulimit nofile=65536:65536 \ -p 127.0.0.1:8000:8000 \ -v flare-home:/home/flare \ ghcr.io/local-inference-lab/flare:release \ run local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE \ --revision gb202 --filename model.safetensors \ --gpus 0,1 --max-concurrency 32 --mtp-draft-tokens 7 \ --mtp-adaptive-verification --mtp-max-verification-token-budget 128 \ --mtp-adaptive-verification-alpha 0.6 --scheduler-policy balanced \ --prefix-cache-memory 64G --kv-cache-limit memory \ --host 0.0.0.0 --port 8000 --served-model-name ERNIE-5.5-Flash-Preview Native binary (no Docker): sh flare run local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE \ --revision gb202 --filename model.safetensors \ --gpus 0,1 --max-concurrency 32 --mtp-draft-tokens 7 \ --mtp-adaptive-verification --mtp-max-verification-token-budget 128 \ --mtp-adaptive-verification-alpha 0.6 --scheduler-policy balanced \ --prefix-cache-memory 64G --kv-cache-limit memory \ --host 127.0.0.1 --port 8000 --served-model-name ERNIE-5.5-Flash-Preview Send a request (OpenAI-compatible API): sh curl --fail http://127.0.0.1:8000/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{"model":"ERNIE-5.5-Flash-Preview","messages":[{"role":"user","content":"Explain how a hash table works."}],"max_tokens":1024}' Sampling uses ERNIE 5.5 defaults (temperature=1.0, top_p=0.95, repetition_penalty in [1.0, 1.2]), with MultiMax logit calibration applied automatically across target, resume, prompt-logprobs, and DSpark Markov sampling paths. Under the Hood: Hitting the SM120 & PCIe Gen5 Roofline on 2 GPUs All kernel, runtime, and recipe work is open-source and submitted upstream: 97.0% GPU Compute-Busy Prefill (PREFILL4096 = 250.3 ms, only 7.7 ms idle across 129 PCIe ARs / 4.86 GB): 2-microbatch interleaved compute/P2P pipeline with deferred o_gate(A) + o_gate(B) hidden inside VHA AR(B) PCIe DMA windows (cutting exposed VHA AR gap from 204 µs → 109 µs). Single-shot full-chunk MoE (MOE_EXPERTS 84.94 → 64.45 ms, -20.5 ms), defer_post / defer_reduce_b kept through aux layers 40–41 (-3.70 ms mHC), and in-place late-load Triton VHA mix kernels (-92 MiB/GPU). ~91% SM120 Roofline Decode (DECODE1 = 7.186 ms, VERIFY8 = 10.296 ms): Native SITU (beta=4.0, linear_beta=25.0) support in MoETinyDecodeKernelBackend for 1–4 token W4A8-MX decode (DECODE1 7.90 → 7.186 ms, -9.0% — also speeds up any other SITU MoE model like Kimi K3/K3.1). GDDR7-aware concurrent_gate + after_fc1 ConcurrentSharedExpert overlap: the shared expert finishes 0.1 µs before csf_expand in DECODE1 and 4.1 µs before routed experts in VERIFY8, paired with dependency-bearing fused-addend flare::pcie_all_reduce_addend_dep. Fused gated wo_projection: optional sigmoid output gating fused directly into both the Triton group-major prefill quantizer and the CuTe decode TC-GEMV path. 64-head topk=2048 fused DSA indexer + SMEM safety fix: routes ERNIE 5.5's 64-head topk=2048 decode (rows <= 16) to the fused indexer with batch_slack=128 (101,376 B SMEM on SM120), plus a batch_slack >= 256 guard on direct_k_score (caught via compute-sanitizer --tool memcheck under long-context packed decode; verified 0 errors across nr=1..128 and seq_len=0..60,000), and topk=2176 (2048 DSA + 128 SWA) sparse MLA with attention sink bias. Fused MultiMax + ERNIE XML/Think parsers: MultiMax piecewise polynomial logit calibration fused directly into DSpark Markov sampling, plus native Rust <ernie:think> and <ernie:tool_call> parsers with schema-aware type coercion. Why lossless CSF wins on 2× 96 GB: keeping the checkpoint's lossless CSF-compressed MXFP4 scales plus FP8 Markov / NVFP4 draft heads brings the full model + 104 captured graphs down to 81.16 GiB/GPU, leaving 24.5 GiB of VRAM for 1.42M shared KV tokens without any extra lossy weight quantization. Links Signed HF package (main + gb202): https://huggingface.co/local-inference-lab/ERNIE-5.5-Flash-Preview-FLARE Base checkpoint (Apache-2.0): https://huggingface.co/baidu/ERNIE-5.5-Flash-Preview Upstream PRs: FlashInfer (b12x SM120 kernels): https://github.com/local-inference-lab/flashinfer/pull/141 Flare (hyperflare-inference XML/think parsers & collectives): https://github.com/NVIDIA/hyperflare-inference/pull/500 Recipes (hyperflare-recipes ERNIE 5.5 recipe): https://github.com/local-inference-lab/hyperflare-recipes/pull/24 local inference lab discord: https://discord.gg/gmvKSN3tVy
Original Article

Similar Articles

DeepSeek-V4.1-Flash-1017 at 41 tok/s on one 3090

Reddit r/LocalLLaMA

Delta Inference Engine 是一个 Windows 原生推理引擎,可在单张消费级 NVIDIA GPU 上以 2-bit 量化运行 5520 亿参数的 DeepSeek-V4.1-Flash-1017,RTX 3090 上生成速度达 41 tok/s,并提供 OpenAI 兼容 API。

capy-flash: Qwen3.8-Flash-Next (125B MoE) in full NVFP4 on two 16 GB consumer GPUs

Reddit r/LocalLLaMA

capy-flash 是基于 ninfer-tp2 进化的本地推理引擎,可在两张 16GB 消费级 RTX 5070 Ti 上以 NVFP4 全精度量化运行 Qwen3.8-Flash-Next 125B-A6B(MoE 专家卸载至内存),生成速度约 100 tok/s,超过 Strata。作者还发现并修复了张量并行下双重 BF16 舍入导致的误差放大问题,改用 FP16 传输部分和即可获得与单 GPU 相当的数值精度。