🚀 各模型 × TP 最佳性能启动命令(复制即跑)
🚀 Optimal Launch Commands by Model × TP (Copy & Run)
以下每一条命令均提取自 1.5.5 正式发布轮子同机实测脚本(queue155.sh / serve.sh),可直接跑出本报告中的实测速度与 KV 容量。点选下方「模型」和「卡数 TP」即可一键复制,无需翻找参数。
Every command below is extracted directly from our verified 1.5.5 release benchmark scripts (queue155.sh / serve.sh) to reproduce the exact throughput and KV capacity in this report. Pick your model and TP count below and copy.
全模型 × TP 选型与关键参数速查表
Quick Reference: Model × TP Requirements & Key Flags
所有配置均在 1.5.5 正式 Wheel 实机跑通;默认 OpenAI 接口 enable_thinking=false(如需默认开启思考,将命令中的 false 改为 true 即可;Anthropic /v1/messages 按请求自动切换)
All presets verified on the packaged 1.5.5 wheel. OpenAI endpoints default to enable_thinking=false (flip to true to enable by default; Anthropic /v1/messages switches per request).
PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True:强烈建议保留。防止长上下文压测显存碎片膨胀,27B 峰值显存直省 2.86–3.06 GiB,杜绝长时间运行 OOM。VLLM_USE_SPINLOOP_EXT=1:多卡 TP2 / TP4 启用低延迟自旋同步,显著降低单步 AllReduce 尾延迟(1.5.5 裸启动自动开启,显式写入确保一致)。CUDA_DISABLE_PERF_BOOST=1:NVIDIA 驱动 ≥580 下空闲自动降频至 135 MHz(约 42 W/卡),满载零性能损失;Flash-Next 另需 VLLM_WORKER_MULTIPROC_METHOD=spawn。PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True: Prevents allocator fragmentation under 256K load, saving 2.86–3.06 GiB peak VRAM on 27B.VLLM_USE_SPINLOOP_EXT=1: Enables low-latency spinloop collectives on TP2/TP4 (auto-enabled in 1.5.5 bare launch).CUDA_DISABLE_PERF_BOOST=1: Drops idle V100 power to ~42 W on driver ≥580 with zero load penalty. Flash-Next also sets VLLM_WORKER_MULTIPROC_METHOD=spawn.1.5.5 发布制品下载与校验(SHA256SUMS)1.5.5 Release Artifacts & Checksums (SHA256SUMS)
# GitHub Release: https://github.com/1CatAI/1Cat-vLLM/releases/tag/v1.5.5 b86bb78787c08dcd686bf69d75898732cff698fd46a8eb48b36700eca4f4ffe1 1cat_vllm-1.5.5+cu128-cp312-cp312-linux_x86_64.whl (193 MB · SM70 Wheel) 694c525f90158109f171bdfb24e704bd55ee759db5d17726e36e7a87cb0f8159 1cat-vllm-1.5.5-docker.tar.gz (188 MB · Docker 本地构建包,解压后 docker build)
1.5.5 核心突破与三代对比总览
Core breakthroughs & three-release overview
1.5.4 完成了 INT8 KV 与 Flash-Next 1.54M Host-KV 的架构铺路;1.5.5 则在 SM70 底层算子速度、显存与碎片治理、开箱即用零配置 以及 新架构扩展 四条战线全面兑现红利,并将 1.5.4 暴露的全部遗留缺陷一次性清零。
Where 1.5.4 laid the INT8 KV and Flash-Next 1.54M Host-KV foundation, 1.5.5 delivers across SM70 kernel speed, VRAM discipline, true zero-config usability, and new model architectures — while resolving every regression left from 1.5.4.
1.5.3 → 1.5.4 → 1.5.5 三代关键指标一览
1.5.3 → 1.5.4 → 1.5.5 key metrics at a glance
同一台 4×V100 原厂时钟,正式发布 Wheel 同脚本逐项实测(兼列相对 1.5.3 与 1.5.4 的双维变化)
Same 4×V100 host at stock clocks, measured from packaged release wheels (showing deltas vs both 1.5.3 and 1.5.4)
1. 27B 算子深度重构:消除 INT8 KV 单流开销,并发与长文全面刷新
1. 27B Kernel Overhaul: Zero INT8 Solo Penalty, New Concurrency & 250K Records
- 彻底抹平 1.5.4 的 INT8 KV 单流开销:27B MTP4
1K从13.28 → 12.42 ms(反超 1.5.3 FP8 KV 的12.62 ms),250K从21.18 → 18.33 ms(延迟 −13.4%,吞吐 +13.8%)。 - NVFP4 QPN2 + DirectPush + C8 Conv1d + FP8 M40:NVFP4
8K×8连续三代跃升28.39 → 24.06 → 21.68 ms(1,095.9 tok/s),64K×8 T=0.6达893.4 tok/s(较 1.5.3 +32.5%);FP88K×8暴降 −23.5%(28.47 → 21.78 ms)。 - 单卡 / 双卡 / 四卡全栈扩展:27B 全 NVFP4 从 TP1 → TP4 在 8 并发 8K 上达成
383.2 → 708.1 → 1,221.2 tok/s(3.19× 扩展);TP2 256K 达 811,863 KV (3.10×),峰值显存仅29.3 GiB。 - 显存控制大幅收紧:Graph 池压缩至
0.28–0.43 GiB,TP4 KV 增至 2,089,326 tok (7.97×),全量压测峰值从30,204 → 27,342 MiB(直省 2.86 GiB)。
- Eliminates 1.5.4's INT8 KV solo penalty: 27B MTP4
1Kdrops13.28 → 12.42 ms(beating 1.5.3 FP8 KV12.62 ms),250Kdrops21.18 → 18.33 ms(−13.4% step, +13.8% tok/s). - NVFP4 QPN2 + DirectPush + C8 Conv1d + FP8 M40: NVFP4
8K×8improves28.39 → 24.06 → 21.68 ms(1,095.9 tok/s),64K×8 T=0.6hits893.4 tok/s(+32.5% vs 1.5.3); FP88K×8drops −23.5%. - TP1 / TP2 / TP4 full-stack scaling: Full-NVFP4 8K×8 scales
383.2 → 708.1 → 1,221.2 tok/s(3.19×); TP2 256K holds 811,863 KV (3.10×) at29.3 GiBpeak VRAM. - Strict VRAM discipline: TP4 KV climbs to 2,089,326 tok (7.97×) while full-suite peak VRAM falls
30,204 → 27,342 MiB(−2.86 GiB).
2. Flash-Next 全面加速:250K Prefill 翻倍 2.01×、超长并发 3.14×、热启 −114 s
2. Flash-Next Accelerated: 250K Prefill 2.01×, 240K Conc 3.14×, Warm Start −114 s
- Prefill 全路径解锁(#1595 +
3617ca7d):默认max_num_batched_tokens=8192+ C++ PLE FastLane 与early_prefill零互斥共存 + 32GB 100 静态 HC 槽位;1K翻倍至4,115 tok/s、32K达9,679 tok/s、250K达8,510 tok/s(59.01 → 29.38 s,2.01×);稳态 240K 达11,467 tok/s(可选16384模式最高12,220 tok/s)。 - 超长上下文并发与常规满批双双反超:
8K×8跃升至638.4 tok/s(反超 1.5.4618.5);128K×4达417.9 tok/s (+27.3%);240K×290.5 → 284.1 tok/s (3.14×);240K×4(960K 活跃)155.3 → 343.1 tok/s (2.21×)。 - 启动更快、显存更省、抗干扰更强:
/dev/shm零拷贝加载(#1623)将热启从385 → 271 s(−114 s);压测峰值显存降至30,712 MiB(较 1.5.4 直省 1,138 MiB);64K 干扰最大停顿449 → 306 ms(−31.9%);Coding Agent C=8 首字 P905.27 → 2.35 s(−55.4%)。
- Full prefill fast paths unlocked (#1595 +
3617ca7d): Default8192batch + zero-exclusion C++ FastLane &early_prefill+ 100 static HC slots on 32GB V100 push1Kto4,115,32Kto9,679 tok/s, and250Kto8,510 tok/s(59.01 → 29.38 s, 2.01×); warm-page 240K reaches11,467 tok/s(up to12,220 tok/swith optional16384batch). - Concurrency records across short & extreme contexts:
8K×8hits638.4 tok/s(beating 1.5.4618.5);128K×4+27.3%,240K×290.5 → 284.1 tok/s (3.14×),240K×4(960K active)155.3 → 343.1 tok/s (2.21×). - Faster restarts, lower peak VRAM & jitter:
/dev/shmzero-copy (#1623) cuts warm start385 → 271 s(−114 s); peak VRAM drops to30,712 MiB(−1,138 MiB vs 1.5.4); 64K max stall449 → 306 ms(−31.9%); Agent C=8 p90 TTFT5.27 → 2.35 s(−55.4%).
3. 零配置开箱即用 + Inkling 2 Mini 新架构 + 四模型统一 Docker
3. True Zero-Config UX + Inkling 2 Mini + Unified 4-Model Docker
- 一条命令满血起飞:裸运行
vllm serve Qwen3.8-27B-NVFP4 -tp 4/2/1自动启用FLASH_ATTN_V100、原生MTP4(端到端提速 3.2×)、INT8 KV、前缀缓存、enable_auto_tool_choice+qwen3_coder及prompt_tokens_details缓存遥测,OpenAI Agent 与 Claude Code 首轮即通。 - Loop 架构 Inkling 2 Mini 登陆 SM70(#1616、#1625):原生 NVFP4/MXFP8 专家 + DSpark7 投机解码 +
inkling推理/工具解析器,冷启194 s/ 热启89 s、942,532 KV (3.60×),Chaos 门禁 48/48 PASS。 - 统一发布 Docker 镜像
1cat/vllm-v100:1.5.5:默认开启expandable_segments:True,单镜像通过-e MODEL=27b-mtp | 27b | flashnext | inkling2一键拉起全系模型,4×V100 实机冒烟 0 报错。
- One-line full-speed serving: Bare
vllm serve Qwen3.8-27B-NVFP4 -tp 4/2/1auto-enablesFLASH_ATTN_V100, nativeMTP4(3.2× faster out of the box),INT8 KV, prefix caching,enable_auto_tool_choice+qwen3_coder, andprompt_tokens_detailstelemetry. - Loop-architecture Inkling 2 Mini on SM70 (#1616, #1625): Native NVFP4/MXFP8 experts + DSpark7 speculation +
inklingparsers,194 s / 89 sstart,942,532 KV (3.60×), 48/48 Chaos Gate PASS. - Unified Docker
1cat/vllm-v100:1.5.5: Shipsexpandable_segments:Trueand-e MODEL=27b-mtp | 27b | flashnext | inkling2+TENSOR_PARALLEL_SIZEoverride, verified live on 4×V100 with 0 errors.
这一版做了什么:算子升级与 Bug 清零
What changed: kernel upgrades & bug fixes
v1.5.4 之后共合入 43 个 PR、50 个提交;在底层算子与零配置全面升级的同时,重点根治了 1.5.4 测评与发版前全面排查出的全部 P0/P1 缺陷。
43 merged PRs and 50 commits since v1.5.4: alongside major kernel and zero-config upgrades, every P0/P1 defect discovered in 1.5.4 and pre-release QA has been fixed and re-verified on GPU.
核心算子与性能突破
Core Kernels & Performance
- 27B TP1/TP2/TP4 NVFP4 算子极限化(
4279ea99、dbe5913a):QPN2 重写、TP DirectPush、C8 Conv1d、FP8 M40、TP1 MTP 精简头,全部 SM70 CUDA Kernel 经cuobjdump验证STACK:0 LOCAL:0。 - 27B 稠密 Prefill 提速(#1619):V3 FA2 与 P2P/计算算子重构,全系 1K–250K 冷启动首字全面缩短。
- Flash-Next Prefill 全路径加速(#1595、#1601、
3617ca7d):NVFP4 prefill 结合 8192 默认批 + C++ FastLane 与 early-prefill 共存 + 100 静态权重槽,32K 达 9,679 tok/s、250K 翻倍 +100.8%(稳态 240K 11.5K),混合最大停顿直降 31.9%。 - 启动与多卡通信(#1623、#1661):
/dev/shm零拷贝权重共享;TP4 Push All-Reduce 按 128-pack tile 独立 epoch 恢复 256 线程;MoEw13_kernel无分支 clamp 恢复STACK:0。
- 27B TP1/TP2/TP4 NVFP4 roofline kernels (
4279ea99,dbe5913a): Rewritten QPN2, TP DirectPush, C8 Conv1d, FP8 M40, TP1 MTP heads — all verifiedSTACK:0 LOCAL:0. - 27B Dense Prefill (#1619): V3 FA2 and P2P/compute kernels cut long-context TTFT across 1K–250K.
- Flash-Next Full Prefill Fast Path (#1595, #1601,
3617ca7d): 8192 default batch + zero-exclusion C++ FastLane & early-prefill + 100 static HC slots deliver 9,679 tok/s at 32K and 2.01× at 250K (11.5K warm 240K), cutting 64K stall jitter by 31.9%. - Startup & Collectives (#1623, #1661): Zero-copy
/dev/shmweight sharing; per-tile epoch restores 256-thread TP4 Push All-Reduce; branchless MoEw13_kernelrestoresSTACK:0.
P0 / P1 关键 Bug 修复(全部真机复测通过)
Critical P0 / P1 Bug Fixes (All Re-Verified on GPU)
- [P0] 修复 1.5.4
tools + json_object回归(#1573、#1660):27B 误调工具从 10/10 归零至 0/10(tool_rf 40/40、Edge 45/45);同步加固双格式 XML+JSON 并发工具流式解析。 - [P0] 修复 DFlash2 DirectPush 悬空邮箱崩溃(
dff955f0):排除 DFlash2/Eagle3 辅助采集层mlp.down_proj注册,消除 CUDA Graph 捕获Dangling mailbox崩溃。 - [P0] 补齐零配置 MTP4 与自动工具调用(
488cf3b0):修复裸启动退回 89 tok/s 与 OpenAI Agent / Claude Code 首轮报HTTP 400的开箱阻塞。 - [P1] 思考截断计费 & PCIe P2P 误判(
488cf3b0):修复finish=length时reasoning_tokens=0;改用nvidia-smi topo -p2p r安全探测 PCIe V100 P2P。 - [P1] 解锁 Flash-Next Prefill 三大受限快路径(#1661、
3617ca7d):解除 C++ FastLane 与ple_prefill_early_request互斥(新增ple_fast_lane_publish_seq消费释放握手)、恢复 32GB 100 静态 HC 槽位、默认max_num_batched_tokens=8192,Prefill 再涨 +14%–+97%,峰值显存反降至 30,712 MiB。
- [P0] Fixed 1.5.4
tools + json_objectregression (#1573, #1660): False tool calls drop 10/10 → 0/10 (tool_rf 40/40, Edge 45/45); dual XML+JSON streaming tool parser hardened. - [P0] Fixed DFlash2 DirectPush dangling mailbox crash (
dff955f0): Excludes DFlash2/Eagle3 aux-capturemlp.down_projlayers from DirectPush registration. - [P0] Enabled zero-config MTP4 & auto tool calling (
488cf3b0): Eliminates bare-launch 89 tok/s fallback and OpenAI Agent / Claude Code Turn-1HTTP 400. - [P1] Truncated reasoning billing & PCIe P2P probe (
488cf3b0): Fixesreasoning_tokens=0onfinish=lengthand replaces false-negative PCIe P2P detection with safenvidia-smi topo -p2p r. - [P1] Unlocked Flash-Next prefill fast paths (#1661,
3617ca7d): Eliminates C++ FastLane vsple_prefill_early_requestmutual exclusion viaple_fast_lane_publish_seq, restores 100 static HC slots on 32GB V100, raises default batch to8192, lifting prefill another +14%–+97% while cutting peak VRAM to 30,712 MiB.
缓存、状态与数值稳定性加固
Cache, State & Numerical Stability Hardening
- GDN / QSA 状态严密性(#1603、#1624):修复投机回放落在 Mamba 块边界时丢失已提交 GDN 状态;修复窗口 prefill 前 QSA Host-KV 页表延迟刷盘。
- KV 池与采样安全(#1609、#1610、#1612、#1622):虚拟分页压缩 KV 复用整块清零;MRV2 预热预留 kpool 尾环块;超 V2 sampler 行数请求提前拒绝;DFlash2 草稿惩罚移出轮转 UVA 池。
- 多卡精度与显存底线(
e3b6f49f):19 文件系统性加固,杜绝多卡规约精度漂移与显存碎片尖峰;TP4/TP2/TP1 全数通过零翻转与零 KLD 漂移门禁。 - OpenAI 缓存命中遥测默认开启(
488cf3b0):开启前缀缓存时自动回传prompt_tokens_details.cached_tokens。
- GDN / QSA state integrity (#1603, #1624): Preserves committed GDN state on Mamba block boundaries during replay; flushes deferred QSA host-KV writes before windowed prefill.
- KV pool & sampler safety (#1609, #1610, #1612, #1622): Zeroes reused compressed KV blocks; reserves kpool tail ring during MRV2 warmup; rejects oversized V2 sampler rows; isolates draft penalties from rotating UVA pools.
- Multi-GPU numerics & VRAM hardening (
e3b6f49f): 19-file stability/precision/VRAM audit; zero logit flips and zero KLD drift verified across TP4/TP2/TP1. - Cache telemetry on by default (
488cf3b0): Automatically populatesprompt_tokens_details.cached_tokenswhenever prefix caching is enabled.
新模型架构与生态扩展
New Architectures & Ecosystem
- Inkling 2 Mini(#1616、#1625):Loop 架构完整登陆 Volta SM70,涵盖 NVFP4/MXFP8 专家、视觉塔、DSpark7 投机解码、WMMA 长文优化及
inkling双解析器。 - DeepSeek-V4.1(#1588、#1594、#1596、#1608、#1618):零溢出 3-launch NVLink P2P DCP=4 注意力(1.55×–1.82×)、Prefill-First 相位分离与耦合 DSpark5、前缀命中率 API 与
<image>消毒。 - GLM-5.3 / GGUF / 多模态(#1538–#1591):单次 GLM-5.3 MoE 路由(#1611)、KDA 绑定(#1549)、DSML 非字符串流式工具参数(#1571)、SHM 多模态引用计数(#1613)与 Pillow 4xx 归类(#1538)。
- Inkling 2 Mini (#1616, #1625): Full Volta SM70 port of Loop architecture with NVFP4/MXFP8 experts, vision, DSpark7 speculation, WMMA optimization, and
inklingparsers. - DeepSeek-V4.1 (#1588, #1594, #1596, #1608, #1618): Zero-spill 3-launch NVLink P2P DCP=4 attention (1.55×–1.82×), Prefill-First + coupled DSpark5, prefix hit-rate API, and literal
<image>sanitization. - GLM-5.3 / GGUF / Multimodal (#1538–#1591): Single-pass GLM-5.3 MoE router (#1611), KDA binding (#1549), DSML streaming non-string tool args (#1571), multimodal SHM refcounting (#1613), and Pillow 4xx mapping (#1538).
速度全景:1.5.3 → 1.5.4 → 1.5.5 三代演进
Speed Panorama: 1.5.3 → 1.5.4 → 1.5.5 Evolution
同一台 4×V100、同一套 mbench2.py / prefill.py 脚本实测。四张图表从常规并发、长文单步延迟、64K 重载采样并发、全长度 Prefill 曲线四个正交维度拆解三代演进。
Measured on the exact same 4×V100 server using identical mbench2.py / prefill.py harnesses across four orthogonal axes: 8K concurrency, 1K–250K step decay, 64K heavy concurrency & T=0.6 sampling, and full-length prefill curves.
1. 8K 并发实测总吞吐(tok/s,可切换模型)
1. 8K Measured Total Throughput (tok/s, switchable)
2. 长文单步耗时衰减(1K → 250K,ms 越低越快)
2. Long-Context Step Latency (1K → 250K, lower ms is better)
3. 64K 重载并发 & T=0.6 采样三代跃升
3. 64K Heavy Concurrency & T=0.6 Sampling Leap
27B MTP4 在 64K×8 T=0.6 下三代连涨 674 → 790 → 893 tok/s(+32.5% vs 1.5.3);FP8 64K×8 单步降至 30.85 ms
27B MTP4 64K×8 T=0.6 climbs 674 → 790 → 893 tok/s (+32.5% vs 1.5.3); FP8 64K×8 drops to 30.85 ms
4. 全长度冷 Prefill 吞吐曲线(1K → 250K,tok/s)
4. Full-Range Cold Prefill Throughput Curve (1K → 250K, tok/s)
1.5.5 全模型实测曲线与 Flash-Next 1.5.4 基线(虚线)同图对比;Flash-Next 32K 峰值 9,679 tok/s,250K 达 8,510 tok/s(稳态 240K 11,467)
All 1.5.5 models vs Flash-Next 1.5.4 dashed baseline; Flash-Next peaks at 9,679 tok/s (32K) and holds 8,510 tok/s at 250K (11,467 warm 240K)
250K 降至 18.33 ms(比 1.5.4 快 13.4%,比 1.5.3 快 6.4%),实现「容量与速度双赢」。64K×8 T=0.6 下吞吐达 893.4 tok/s(较 1.5.3 的 674.3 净涨 +32.5%),步时与 T=0 的差距收敛至仅 0.45 ms(31.52 vs 31.07 ms),证明采样器与投机拒绝验证已不再是瓶颈。8K×8 单步从 28.47 → 21.78 ms (−23.5%),几乎追平 NVFP4 的 21.68 ms;在 KLD 仅 0.02185 的准无损精度下达成 935.7 tok/s 高并发输出。250K to 18.33 ms (−13.4% vs 1.5.4, −6.4% vs 1.5.3) — winning on both speed and capacity.64K×8 T=0.6, 1.5.5 hits 893.4 tok/s (+32.5% over 1.5.3) with only a 0.45 ms gap vs greedy (31.52 vs 31.07 ms), confirming sampling/verification overhead is virtually gone.8K×8 plunges 28.47 → 21.78 ms (−23.5%), delivering 935.7 tok/s at near-lossless KLD 0.02185.Flash-Next 深度分析:250K Prefill 暴涨与百万级并发突破
Flash-Next Deep Dive: 250K Prefill Leap & 960K-Active Concurrency
作为支持 1.54M Host+GPU KV 的超长上下文主力 MoE 模型,Flash-Next 在 1.5.5 中全面解锁三大 Prefill 加速路径:冷盘全档跃升至 8.5K–9.7K tok/s(250K 翻倍 2.01×,稳态 240K 达 11,467 tok/s,可选 16384 批最高 12,220 tok/s);超长并发在 960K 活跃上下文(240K×4)下输出 343.1 tok/s,较 1.5.3 提升近 19×。
As the 1.54M Host+GPU KV long-context MoE workhorse, Flash-Next unlocks all three prefill fast paths in 1.5.5: cold-disk prefill climbs to 8.5K–9.7K tok/s (2.01× at 250K; steady-state 240K hits 11,467 tok/s, up to 12,220 tok/s with optional 16384 batch), while 240K×4 (960K active) sustains 343.1 tok/s — nearly 19× faster than 1.5.3.
Flash-Next 超长上下文并发三代跃升(tok/s,最高 960K 活跃)
Flash-Next Extreme-Context Concurrency (tok/s, up to 960K active)
1.5.3 → 1.5.4 → 1.5.5 同口径实测;240K×2 从 8.2 → 90.5 → 284.1 tok/s,240K×4 从 18.2 → 155.3 → 343.1 tok/s
1.5.3 → 1.5.4 → 1.5.5 same-host measurement; 240K×2 jumps 8.2 → 90.5 → 284.1, 240K×4 jumps 18.2 → 155.3 → 343.1
Flash-Next 1K→250K 首字耗时对比:冷 Prefill vs 1.5.5 满缓存(秒)
Flash-Next 1K→250K TTFT: Cold Prefill vs 1.5.5 Cached (seconds)
250K 冷首字压缩至 29.38 s(较 1.5.3 省 32.0 s,较 1.5.4 翻倍 2.01×),满缓存仅 1.71 s(17.2× 加速),append 仅 1.72 s
250K cold TTFT drops to 29.38 s (−32.0 s vs 1.5.3, 2.01× vs 1.5.4), full-cache hit takes 1.71 s (17.2×), append 1.72 s
max_num_batched_tokens 从 4096 提至 8192(MoE 512 专家分块填满 HMMA M64 tile,QSA 索引扫描减半)、通过 ple_fast_lane_publish_seq 彻底解除 C++ FastLane 与 ple_prefill_early_request 互斥、并恢复 32GB 100 个静态 HC 权重槽位,将冷盘 250K Prefill 从 59.01 s 压至 29.38 s (+100.8%)、32K 达 9,679 tok/s、稳态 240K 达 11,467 tok/s。block_size=2048 切分 prefill,提升批上限完全不增加抖动,64K 最大停顿反降至 306.1 ms (−31.9%);同时 expandable_segments 与 /dev/shm 零拷贝将全量峰值显存压至 30,712 MiB(−1,138 MiB vs 1.5.4)、热启缩短 −114 s。8192 默认下,8K×8 解码升至 638.4 tok/s(反超 1.5.4 618.5),KV 仍保持 1.54M;对于纯长文批处理场景,用户传入 -e MAX_NUM_BATCHED_TOKENS=16384 可进一步拉升稳态 240K Prefill 至 12,220 tok/s(峰值显存 31.8 GiB,0 OOM)。max_num_batched_tokens from 4096 to 8192, eliminating C++ FastLane vs ple_prefill_early_request mutual exclusion via ple_fast_lane_publish_seq, and restoring 100 static HC weight slots cuts 250K cold prefill from 59.01 to 29.38 s (+100.8%), hits 9,679 tok/s at 32K, and reaches 11,467 tok/s on warm 240K.block_size=2048 whenever decode is active, 64K max stall actually improves to 306.1 ms (−31.9%) while peak VRAM drops to 30,712 MiB (−1,138 MiB vs 1.5.4) and warm restart drops −114 s.8192 pushes 8K×8 decode to 638.4 tok/s (beating 1.5.4's 618.5) with 1.12 GiB extra VRAM headroom; passing -e MAX_NUM_BATCHED_TOKENS=16384 unlocks up to 12,220 tok/s warm 240K prefill (31.8 GiB peak, 0 OOM).单卡 / 双卡 / 四卡扩展性与显存、启动治理
TP1 / TP2 / TP4 Scaling, VRAM Discipline & Startup
1.5.5 针对 1× / 2× / 4× V100-32GB 全栈规格做了专门的算子与显存预算优化:单卡 32GB 可稳跑 27B 85K 与 8 并发;双卡 256K 首次达成 811,863 KV (3.10×);四卡在 8 并发下实现高达 3.19×–3.65× 的跨卡扩展效率,且全系压测峰值显存较 1.5.4 暴降 1.5–3.1 GiB。
1.5.5 tunes kernels and memory budgets across 1×, 2×, and 4× V100-32GB: TP1 smoothly handles 85K & 8-user loads, TP2 unlocks 256K with 811,863 KV (3.10×), and TP4 achieves 3.19×–3.65× concurrency scaling while cutting peak VRAM by 1.5–3.1 GiB vs 1.5.4.
1. 27B NVFP4 单卡 → 双卡 → 四卡扩展吞吐(tok/s)
1. 27B NVFP4 TP1 → TP2 → TP4 Scaling (tok/s)
2. 全量压测峰值显存治理:1.5.4 vs 1.5.5(MiB/卡,红线 = 32 GiB)
2. Full-Suite Peak VRAM: 1.5.4 vs 1.5.5 (MiB/GPU, red line = 32 GiB)
27B MTP4 峰值直降 −2,862 MiB,27B FP8 峰值直降 −3,062 MiB;全部配置远离 32,768 MiB OOM 红线
27B MTP4 peak drops −2,862 MiB, 27B FP8 drops −3,062 MiB; all presets maintain wide OOM headroom
3. KV 容量三代演进(万 tokens)
3. KV Capacity Three-Release Growth (10K tokens)
27B MTP4 突破 208.9 万 KV(7.97× @ 256K);1.5.5 新增 Inkling 2 Mini(94.3 万)与 TP2 256K(81.2 万)
27B MTP4 surpasses 2.09M KV (7.97× @ 256K); 1.5.5 adds Inkling 2 Mini (943K) and TP2 256K (812K)
4. 有缓存热重启耗时三代演进(秒,越低越快)
4. Warm Restart Time Evolution (seconds, lower is faster)
Flash-Next 受益于 /dev/shm 零拷贝,热启从 385s 骤降至 271s(−29.6%);Inkling 2 Mini 仅需 89s
Flash-Next /dev/shm zero-copy cuts warm restart 385s → 271s (−29.6%); Inkling 2 Mini restarts in 89s
27B NVFP4 单卡 / 双卡 / 四卡扩展效率明细表(全 NVFP4 与 零配置混合权重双口径)
27B NVFP4 TP1 / TP2 / TP4 Scaling Efficiency Breakdown
c8_8k 重载并发下,TP1→TP2 扩展率高达 1.85×–1.98×(双卡近乎 100% 满效率),TP1→TP4 达 3.19×–3.65×。原因在于 DirectPush 通信融合消除了步间 AllReduce 同步气泡,让 4 卡总 HBM 带宽(3.6 TB/s)充分转化为解码吞吐。expandable_segments:True 默认化、动态 4 槽位 P2P gather 及 0.28–0.43 GiB 极简 CUDA Graph 池,把 27B MTP4/FP8 压测峰值锁死在 27.3–27.5 GiB,同时反而腾出 +97.8K 更多 KV。8K×8 达 617.1 tok/s、全程峰值仅 29.3 GiB 且 KLD 与 TP4 完全一致(0.04857)。c8_8k, TP1→TP2 scales 1.85×–1.98× and TP1→TP4 reaches 3.19×–3.65× as DirectPush removes inter-GPU AllReduce bubbles and saturates aggregate 3.6 TB/s HBM bandwidth.expandable_segments:True, dynamic 4-slot P2P gather, and a compact 0.28–0.43 GiB CUDA Graph pool holds 27B MTP4/FP8 matrix peaks at 27.3–27.5 GiB while adding +97.8K KV tokens.真实多轮 Agent 与 6 大前端缓存模式深度实测
Real Multi-Turn Agents & 6 Frontend Prefix Cache Patterns
在开启 Thinking 与官方采样的 agent_bench.py 真实多轮 Coding Agent 压测中,Flash-Next C=8 首字 P90 较 1.5.3 狂降 9.8×(22.99 → 5.27 → 2.35 s);27B MTP4 C=4 首次达成 4/4 全任务完成 且解码 P50 提速 +20%。此外实测覆盖 OpenWebUI、Claude Code(Anthropic /v1/messages)、8 工具 Schema、剥离思考块等 6 大前端缓存模式,命中率达 97.3%–99.4%。
In real multi-turn Coding Agents (Thinking ON, official sampling), Flash-Next C=8 p90 TTFT drops 9.8× since 1.5.3 (22.99 → 5.27 → 2.35 s), while 27B MTP4 C=4 achieves 4/4 tasks done with +20% faster decode. Across 6 real frontend cache patterns (OpenWebUI, Claude Code Anthropic API, 8-tool schemas, stripped thinking), hit rates reach 97.3%–99.4%.
1. Coding Agent 首字 P90 延迟三代演进(秒,越低越好)
1. Coding Agent p90 TTFT Evolution (seconds, lower is better)
Flash-Next C=8 从 22.99s → 5.27s → 2.35s(−55.4% vs 1.5.4);27B C=8 回落至 5.79s(−21.8%)
Flash-Next C=8 falls 22.99s → 5.27s → 2.35s (−55.4% vs 1.5.4); 27B C=8 drops to 5.79s (−21.8%)
2. Coding Agent 解码 P50 速率三代演进(tok/s,越高越好)
2. Coding Agent Decode P50 Speed (tok/s, higher is better)
27B MTP4 全并发档位连续提速:C=1 283.7 (+8.9%) · C=4 169.5 (+20.0%) · C=8 117.4 (+14.0%)
27B MTP4 speeds up across every concurrency: C=1 283.7 (+8.9%), C=4 169.5 (+20.0%), C=8 117.4 (+14.0%)
3. 6 大真实前端缓存命中率与 TTFT 加速比可视化
3. 6 Frontend Prefix Cache Hit Rates & TTFT Speedups
零配置默认自动回传 prompt_tokens_details.cached_tokens,冷热输出 100% 逐比特一致
Zero-config auto-reports prompt_tokens_details.cached_tokens with 100% bit-exact cold/warm parity
4. 真实端到端 Agent 实战门禁(4 / 4 全部一次通过)
4. Real End-to-End Agent Gate (4 / 4 Passed on First Run)
零配置直连实测,覆盖磁盘代码修复、Anthropic API、中文多步工具与断连混沌压测
Zero-config live runs covering disk code repair, Anthropic API, Chinese multi-step tools & disconnect chaos
- Agent 1 · 真实磁盘代码修复:5 轮 6 次工具调用(含并行
list_files + run_tests/read_file ×2)修完 bug 并跑绿单测;缓存单调攀升0 → 3,264(98.6% 命中),TTFT772 → 186 ms,0 JSON 解析错。 - Agent 2 · Claude Code (
/v1/messages):开启thinking + tools + cache_control3 轮协作,stop_reason精准切换tool_use → tool_use → end_turn,cache_read达3,776(98.2%),耗时1.29 → 0.35 s。 - Agent 3 · 中文多步函数调用:3 轮完成仓储查库、核算与报价单,中文 UTF-8 参数(
深圳一号仓/V100-32G加速卡)零乱码,精确输出32,000 元。 - Agent 4 · 8 路并发 + 中途断连混沌压测:2 路流式传输中途强断 Socket,全批
2.99 s完成且命中cached=4096,断连后探针0.17 s立即恢复,0 卡死 / 0 slot 泄漏。
- Agent 1 · Real-Disk Code Repair: 5 turns / 6 tool calls (including parallel
read_file ×2) fixed real bug & passedunittest; cache climbed0 → 3,264(98.6% hit), TTFT772 → 186 ms, 0 JSON errors. - Agent 2 · Claude Code (
/v1/messages): 3-turnthinking + tools + cache_controlworkflow (tool_use → tool_use → end_turn),cache_read=3,776(98.2%), latency1.29 → 0.35 s. - Agent 3 · Chinese Multi-Step Tools: 3 turns of warehouse lookup & pricing with clean UTF-8 arguments, 0 garbled chars, exact calculation.
- Agent 4 · 8-Way Chaos + Mid-Stream Disconnects: 2 sockets killed mid-stream; batch completed in
2.99 s(cached=4096), health probe recovered in0.17 s, 0 hangs / 0 slot leaks.
6 大真实前端前缀缓存模式明细表(OpenWebUI / Agent / Claude Code / 剥离思考 / 非对齐)
6 Real Frontend Prefix Cache Patterns Detail Matrix
<think> 仍命中 97.3%:多数客户端在多轮续写时会剥离上一轮的思考过程导致常规引擎缓存全灭;1Cat-vLLM 通过 _AssistantReasoningCache 机制依然命中 2,496 / 2,564 tokens (97.3%),首字仅 217 ms。<think>: Via _AssistantReasoningCache, stripped-reasoning multi-turn requests still hit 2,496 / 2,564 tokens (97.3%) with 217 ms TTFT.全新登陆:Inkling 2 Mini(Loop 架构 + DSpark7 投机)
New on Volta: Inkling 2 Mini (Loop Architecture + DSpark7)
1.5.5 首次将 Loop 架构模型 Inkling 2 Mini 完整移植至 V100 SM70(#1616、#1625),原生支持 256K 上下文、DSpark7 投机解码、WMMA 长文并发优化与 inkling 推理/工具解析器,在 1.5.3 / 1.5.4 中尚无此模型支持。
1.5.5 brings the Loop-architecture Inkling 2 Mini to Volta SM70 (#1616, #1625) with 256K context, DSpark7 speculation, WMMA acceleration, and native inkling reasoning/tool parsers.
1. Inkling 2 Mini 解码吞吐全景(单流长文 & 高并发 & Chaos 突发)
1. Inkling 2 Mini Decode Throughput (Solo Long-Ctx, Concurrency & Burst)
单流 32K 达 275.9 tok/s;8K×8 并发达 605.3 tok/s,Chaos B=8 突发达 612.0 tok/s
Solo 32K hits 275.9 tok/s; 8K×8 reaches 605.3 tok/s and Chaos B=8 burst hits 612.0 tok/s
2. Inkling 2 Mini 1K→250K 冷 Prefill 吞吐与满缓存首字对比
2. Inkling 2 Mini 1K→250K Cold Prefill vs Full-Cache TTFT
8K 峰值 Prefill 达 9,604 tok/s;250K 冷启动 56.24 s → 满缓存 2.38 s(23.6× 加速)
8K peaks at 9,604 tok/s; 250K drops from 56.24 s cold to 2.38 s cached (23.6×)
Inkling 2 Mini 全长度实测明细(1.5.5 发布轮子,256K)
Inkling 2 Mini Full Measured Matrix (1.5.5 Wheel, 256K)
质量与稳态红线:精度持平 BF16、分领域 KLD 零漂移、干扰骤降
Quality & Stability Red Line: BF16 Parity, Zero KLD Drift & Lower Stall
速度优化绝不以牺牲精度或稳定性为代价。1.5.5 完整通过 740 题贪心准确率评测、54,566 位置分领域逐 Token KLD(vs BF16)、Golden Gate 零翻转、64K Prefill 干扰延迟及全模型 Edge+Vision 45/45 门禁:精度纹丝不动,评测吞吐反涨 +11% ~ +30%。
Speed never compromises accuracy or stability. 1.5.5 passes 740-problem greedy evals, 54,566-position per-domain KLD vs BF16, zero-flip Golden Gate logprobs, 64K stall interference, and 45/45 Edge+Vision gates — identical accuracy at +11% to +30% higher eval throughput.
1. 740 题贪心准确率对比(vs BF16 基线)
1. 740-Problem Greedy Accuracy (vs BF16 Reference)
GSM8K 300 / MMLU 400 / Code 40;全部 0 乱码 / 0 死循环,1.5.5 评测吞吐提升 +11% ~ +30%
GSM8K 300 / MMLU 400 / Code 40; 0 garbled / 0 loops, with +11% to +30% faster eval throughput
2. 分领域 54,566 位置逐 Token KLD vs BF16(越低越逼近 BF16)
2. Per-Domain 54,566-Position KLD vs BF16 (lower is closer to BF16)
TP4 / DFlash2 / TP2 跨并行与投机引擎最大差异 ≤ 0.00006;FP8 英文推理 KLD 低至 0.00394 (Top-1 99.50%)
TP4 / DFlash2 / TP2 agree within ≤ 0.00006; FP8 reasoning KLD is just 0.00394 (99.50% Top-1 match)
3. 64K Prefill 并发干扰最大停顿(max_gap_ms,越低越稳)
3. 64K Prefill Interference Max Stall Gap (ms, lower is smoother)
三代持续收敛:27B MTP4 803→759→727 ms、27B FP8 855→768→741 ms、Flash-Next 449→306 ms (−31.9%)、Inkling 2 仅 233 ms
Continuous three-release drop: 27B MTP4 803→759→727 ms, FP8 855→768→741 ms, Flash-Next 449→306 ms (−31.9%), Inkling 2 233 ms
4. 数值一致性、日志与混沌门禁总检结果
4. Numerical Parity, Log & Chaos Verification Summary
- 三代 NVFP4 KLD 纹丝不动:1.5.3
0.04850 (96.82%)→ 1.5.40.04850 (96.82%)→ 1.5.50.04852 (96.82%);DFlash20.04851,TP20.04857,零精度漂移。 - 27B FP8 KLD 优于 1.5.4:1.5.4
0.02190→ 1.5.50.02185(Top-198.35%,英文推理 Top-1 高达99.50%),同时并发步时狂降 23.5%。 - Golden Gate 零翻转:TP4 与 TP1
flips=0/128(mean_diff=0.001166),512/512 贪婪输出逐 token 完全一致。 - 冷热缓存逐比特一致:13,153-token 长文(SHA
a0f60b6261f0d036)、6 档非对齐长度与 DFlash2 命中cold == warm100% 一致;全部 7 套运行 + Docker 实测 0 OOM / 0 Traceback / 0 XID。
- Zero NVFP4 KLD drift across 3 releases: 1.5.3
0.04850 (96.82%)→ 1.5.40.04850 (96.82%)→ 1.5.50.04852 (96.82%); DFlash20.04851, TP20.04857. - 27B FP8 KLD slightly better: 1.5.4
0.02190→ 1.5.50.02185(98.35% top-1, 99.50% on reasoning) while cutting 8-user latency by 23.5%. - Golden Gate zero flips:
flips=0/128(mean_diff=0.001166) on TP4 and TP1, 512/512 greedy tokens exact. - Cold vs cached bit-exact: 13,153-token prompt, 6 unaligned boundary lengths, and DFlash2 hits are 100% bit-exact; all 7 runs + Docker smoke logged 0 OOM / 0 Traceback / 0 XID.
完整测试数据(1.5.3 / 1.5.4 / 1.5.5 全量原始明细)
Complete Benchmark Data Room
以下全部原始数据均来自同机同口径实测,可直接切换 8 个数据视图与各模型配置逐行核对。
Every number below is directly measured on the same 4×V100 server. Switch across all 8 tabs and model presets to inspect row-by-row results.
1.5.4 已知问题清零表与 1.5.5 使用提示
1.5.4 Issue Resolution & 1.5.5 Notes
1.5.4 问题复测与本次 Bug 修复总表
1.5.4 Issues & Pre-Release Bugs Resolved
1.5.5 使用提示(非阻塞已知事项)
1.5.5 Release Notes & Minor Limitations
- 配置OpenAI 默认
enable_thinking=false:OpenAI 接口默认极速非思考,Anthropic/v1/messages按请求体thinking.type="enabled"自动切换;如需 OpenAI 默认开启思考,加--default-chat-template-kwargs '{"enable_thinking":true}'。 - 配置单卡 32GB 跑 27B NVFP4:27B 含视觉塔约 22.4 GiB 权重,单卡建议加
--language-model-only --gpu-memory-utilization 0.92以留出充足 98K KV 空间。 - 性能Flash-Next 批上限与满批 8 并发:默认
max_num_batched_tokens=8192下8K×8达638.4 tok/s(反超 1.5.4618.5)、Prefill 翻倍+100.8%、峰值显存省1,138 MiB;仅64K×8(684.7vs726.2)略有 5.7% 权衡;纯长文吞吐优先场景可传-e MAX_NUM_BATCHED_TOKENS=16384(稳态 240K 达12,220 tok/s,峰值显存31.8 GiB)。 - 说明Flash-Next 外挂 MTP 权重:启动仍需在
--speculative-config传入{"model":"<mtp_path>"},其余 19 项参数由自动配置器补齐。
- configOpenAI default
enable_thinking=false: Fast non-thinking default on OpenAI endpoints (Anthropic/v1/messageshonorsthinking.type="enabled"automatically). Pass--default-chat-template-kwargs '{"enable_thinking":true}'to flip default. - configSingle 32GB V100 with 27B NVFP4: Vision + 27B weights use ~22.4 GiB; pass
--language-model-only --gpu-memory-utilization 0.92for comfortable 98K KV room. - speedFlash-Next batch tuning & c=8: Default
max_num_batched_tokens=8192pushes8K×8to638.4 tok/s(beating 1.5.4618.5), doubles 250K prefill (+100.8%), and cuts peak VRAM by 1,138 MiB (only64K×8trades 5.7%:684.7vs726.2). Pass-e MAX_NUM_BATCHED_TOKENS=16384for up to12,220 tok/swarm 240K prefill (31.8 GiB peak). - noteFlash-Next external MTP weights: Pass
--speculative-config '{"model":"<mtp_path>"}'; the auto-profile fills the remaining 19 parameters automatically.