Stanford 和伯克利搞了个 TokenGate,往模型里一插就能把长文档 prefill 快最多 11.3 倍,内存还省 3 倍多,跑长上下文的可以看看。
#inference optimization
Matching DeepInfer's performance while beating it on a third-party agentic benchmark suggests vLLM is now a credible production backend for high-throughput DeepSeek serving, not just a research engine. Engineers running agent-heavy inference stacks can use the reproducible blog recipe to benchmark their own deployments against the 954K tokens/s figure. DeepSeek's off-peak pricing makes the revenue-per-GPU-hour number a useful cost baseline for capacity planning.
LMSYS 给 SGLang 针对性优化了 DeepSeek 的推理,博客里有性能数据和具体工程手段,自己部署 DeepSeek 的可以直接抄作业。
The claim that serving consumes six times the training FLOPs reframes inference as the real cost centre, not model training. Builders running inference workloads can use the full-stack walkthrough to understand why the same open model behaves differently across providers and where compiler and caching gains come from. The segment on SGLang memory management is especially relevant for anyone serving agents with long contexts.
循环模型每次循环都要单独存一份 KV 缓存,内存爆炸。这篇论文的两阶段训练方法让缓存能跨层共享,首 token 时间砍了 83.6%,做长推理的可以看看。
有人用 Rowhammer 硬件攻击搞坏了 Triton 编译,四个主流模型实测慢 4-16%,搞 GPU 推理的都该看看这篇。
The finding overturns the widely repeated narrative that acceptance rate falls as chains grow, which has driven draft-model co-design and position-aware training spending. Teams building inference acceleration should redirect effort from positional engineering toward entropy at decision points, where the paper localizes the real failure. The MATH-500 baseline and open diagnostic protocol are directly reusable for benchmarking any draft-target pairing.
fal 把 FLUX 3 Max 调校到 12 秒出 10 秒视频,比 Seedance 2.5 快 20 多倍还同分,做视频生成的可以看看他们怎么优化的。
The practical effect is that vLLM's optimizations — prefix caching and speculative decoding — now apply to TPU hardware, giving teams a second accelerator option beyond NVIDIA GPUs for self-hosted inference. Organisations already locked into the PyTorch and vLLM stack can evaluate TPU economics without rewriting their serving code. It also signals Google's continued push to open TPU inference beyond JAX.
The session bundles inference infrastructure decisions most teams learn the hard way: when disaggregated prefill/decode and KV-cache-aware routing pay off, and whether self-hosting beats token-based API pricing. Engineers deploying open-source models with vLLM or SGLang can register to get a hands-on walkthrough of Ray Serve LLM and agentic-platform integration. Registration is open now via the Anyscale link.
arXiv 上这篇论文给 MTP 解码加了个轻量控制器,不用重训练就能自动选草稿长度,Llama-3.1 上最高跑出 4.1 倍解码速度,做推理优化的可以看看。
这篇论文教你让稀疏注意力模型多层共用一套候选池,不用重训,vLLM 里给 DeepSeek-V4-Flash 实测提速 1.4 倍还省电,做推理优化的值得看。
不用改模型,装个 eagle_harness 配合 vLLM 就能让 Qwen 这类模型出字快近 3 倍,实测数据都给了,自己搭服务的可以试试。
Speculative decoding delivers speedups without changing model outputs, so teams can adopt it without revalidating answer quality. Inference engineers running 27B-class models on limited hardware can treat EAGLE-4 as a drop-on layer rather than a model swap, and its measured edge over DFlash 2 and DSpark gives a concrete baseline for benchmarking their own stacks. The gains come purely from the drafting side, a direction worth watching in the decoding literature.
Open-source inference stacks closing the gap with a lab's proprietary serving setup changes the economics of self-hosting large MoE models. Teams weighing DeepSeek's API against running their own GPUs can use these Wide-EP and EPLB results to estimate revenue per GPU at off-peak prices. The GB200 and GB300 benchmarks also give infrastructure planners concrete throughput targets for the latest NVIDIA hardware.
一个 3B 的线性注意力模型,每条序列状态固定 29.5 MB,不随上下文膨胀,还全程跑在 Trainium2 上,长上下文推理的内存账很好算。
Positron 把推理拆成两半:prefill 交给 GPU,decode 用自家专用硬件,生成速度更快,思路挺有意思。
vLLM now spans three hardware ecosystems, which reduces the lock-in that previously tied inference stacks to NVIDIA GPUs. Teams running self-hosted inference can benchmark vLLM against vendor-specific runtimes on AMD and TPU infrastructure. The KV cache management work matters most for serving long-context models where memory, not compute, is the bottleneck.
Specialising silicon per inference phase sidesteps the compromise a single chip type must make, and avoiding HBM removes exposure to the tightest supply constraint in AI hardware. Teams running high-volume generation workloads can compare this two-chip endpoint against all-GPU serving on cost and tokens-per-second. It also signals a broader shift toward heterogeneous inference stacks that infrastructure buyers should track.
DeepSeek 把自家线上推理的优化手法开源了,GPU 空等、缓存复用这些细节都写了,自建集群的团队直接抄作业。
DeepSeek 把自家生产环境的推理引擎 DeepInfer 开源了,能看懂官方 API 为什么便宜,想自己部署模型的人值得翻翻代码。
This signals that diffusion-style and autoregressive denoising workloads are getting dedicated serving infrastructure rather than piggybacking on standard LLM stacks. Engineers running multimodal or video generation pipelines should watch vLLM-Omni, since the pipelining and multi-stream scheduling tricks could cut tail latency without a separate deployment. vLLM's direct endorsement also suggests upstream adoption of these scheduling techniques is likely.
The routing layer is the interesting part: simply offloading KV cache to CPU or storage is not enough, since a request must land on the node whose cache already holds its blocks. Engineers running multi-node inference can use this to decide between cheaper CPU offload and shared-storage tiers. The poster session is open to PyTorch Conference attendees on 20-21 October in San Jose.
一篇很实用的推理优化论文:给 Qwen3 加个小模块做 token 剪枝,TTFT 最快快 11 倍,代码开源可以直接试。
用 vLLM 部署模型的朋友注意,10 月的 PyTorch Conference 有前缀缓存、KV 传输这些硬核议题,还有路线图讲解,感兴趣可以安排上。
论文发现现行的 VLM 剪枝评测方式有漏洞,模型可能靠文本捷径蒙混过关。作者做了个 PAA-Bench 框架和 PCS 指标,8 种方法实测后发现压缩更多 token 未必更快,想给剪枝方法做评测的可以看看。
Hugging Face 开了节 Local AI 202 直播,教你用投机解码让本地跑模型快一大截,喜欢折腾本地部署的别错过。
LlamaIndex 给 OpenDocRouter 上的 OCR 模型加了投机解码,LightOnOCR-3-1B 跑得更快了,做文档识别的可以去测速。
The engineering detail on kernel tuning and the Rust runtime shows how a third-party speech vendor squeezed performance out of AWS's in-house silicon, a signal for teams weighing GPU vs. Trainium for inference cost. Practitioners running large-scale batch transcription can borrow the porting and tuning patterns directly. Compared with running Nova-3 on GPUs, the results offer a concrete cost baseline for AWS-native stacks.
KV cache transfer addresses the hidden cost of agentic loops: re-prefilling the same context on every turn, which inflates latency and GPU spend as conversations grow. Teams running self-hosted agents on vLLM can replicate the setup on EC2 P5en instances with EFA. The reported gains also give a concrete comparison point for choosing between Qwen3-32B and GLM-5-FP8 when latency per turn matters.
Shifting KV-cache transfer coordination off the critical path removes a hidden latency tax in prefill-decode disaggregation, and the 3x TTFT gain applies to any team serving LLMs at scale on vLLM. Practitioners running inference on AWS can adopt the NIXL connector on EC2 P5en with EFA networking directly from the guide. Compared with pull-based transfer, the push design needs no receiver-side polling, which is what unlocks the latency savings.
SenseTime 在 CSDI Summit 上讲了 Prefill 和 Decode 分离部署的做法,用 KV Cache 连接,单次测试吞吐量提升约 5 倍,做推理部署的可以看看。
英伟达把 Kimi K3 的推理速度干到 423 tok/s,比原来快 1.68 倍,跑 vLLM 的朋友可以关注这次上游优化。
Percy Liang's closing argument reframes the KV cache as the structural root of Transformer inference inefficiency, pointing to architectures designed for inference from day one, such as SSMs, linear attention, and diffusion-based non-autoregressive generation. Engineers building or tuning inference stacks get a single coherent map from architecture to serving systems. The executable lecture notes with sympy-verified formulas make the material directly reproducible rather than slide-level theory.
The result shows that kernel-level fusion of attention, MoE and communication, rather than more hardware alone, is now the lever for agent-scale inference speed. Teams serving large MoE models can apply the same CuTe DSL decode path in vLLM to cut latency at low batch sizes. It also demonstrates Moonshot's Kimi K3 running efficiently on NVIDIA's newest GB300 rack, a useful datapoint for cross-hardware deployment comparisons.
Perplexity 出了个 pplx-decider-flash,输入每百万 token 只要 1 美分,做路由、判断这类决策场景成本压到极低,还承诺继续优化缓存。