#inference optimization

438 stories · 30 in 7 days · 121 in 30 days
Stories, products and papers tagged "inference optimization", newest first.
Nov 24
Chinese content研究提出 tree attention 解决决策模型选项顺序敏感问题

决策模型会因为你调换选项顺序就改变判断,这篇论文在十个模型上证实了这一点。作者对比了八种方案,发现 tree attention 不重训练就能消除顺序敏感,精度只掉 1.1 点。做 Agent 决策链或多选项筛选的开发者值得看看实现思路。

arXiv cs.AI@Bodong Liu et al. (4)Source
Chinese contentLiveLoRA:实现 LoRA 更新后 KV 缓存的精确迁移

跑着大量长会话智能体的团队换 LoRA 版本时不用再全量重放历史了。论文在 Qwen2.5-3B 上实测 68.98 倍加速,解码只多 4.8% 开销,还给出了等价性证明。做在线学习、个性化智能体或者频繁热更新适配器的服务端工程值得看。

arXiv cs.AI@Tianyi Huang et al. (5)Source
PapersBuildersSelected13:41
PackLoop speeds speculative decoding for looped LMs under concurrency

The non-obvious insight is that speculative decoding's losses under load come from schedule layout, not speculation itself, which reframes how serving stacks should batch looped-model work. Inference engineers running concurrent decoding — especially with long contexts — gain a drop-in schedule that preserves exact outputs while beating per-point tuned baselines. The closed-form admission rule, adapted from inventory theory, is a practical knob that needs calibration only once per engine.

arXiv cs.LG@Runguo Li, Dezhen LuSource
Chinese contentLooped Transformers 循环次数训练调度实证研究:下限取 2 还是 1 决定每圈的角色

用 46M 到 110M 参数的小模型把循环调度讲透了:训练时最低循环次数选 2 不选 1,每圈就是完整一层,还能推理时翻倍深度跑。想省显存做参数共享的工程师可以看 {2,3,4} 这组配置和 KV 复用技巧。

arXiv cs.LG@Konstantin KolokolovSource
Chinese contentIndexerStage:把 DeepSeek 稀疏注意力的 Indexer-K 状态分层外置,提升长上下文服务吞吐

做长上下文推理部署的可以看看这篇:它把 DeepSeek 稀疏注意力的 Indexer-K 状态搬到外部存储,在 SGLang 上跑出了比 HiSparse 高 12%–23% 的批次规模和 1.31x 解析吞吐,显存占用每卡不到 0.7 GiB。自己搭推理集群的团队值得评估这套方案。

arXiv: DeepSeek@Xin Zhang et al. (12)Source
Chinese contentARC 架构让同步 LLM 强化学习 rollout 提速 1.60 倍

做 LLM RL 训练的朋友可以看这篇:ARC 在 rollout 阶段动态决定哪些样本组继续生成、哪些挂起或回填,rollout 时间砍了 37.4%,GRPO 有效吞吐提升 50.1%。不改算法,纯工程优化,训练成本能实打实降下来。

arXiv cs.LG@Yihui Zhang et al. (9)Source
ProductsBuildersSelected01:51
vLLM shows NVMe KV cache offloading matching DRAM within 1%

The counterintuitive finding is that sequential NVMe reads are fast enough to serve KV cache directly, so the DRAM tier may be an unnecessary cost layer in inference stacks. Platform and inference engineers sizing serving clusters for agent or long-context workloads should benchmark direct-to-NVMe offloading before provisioning host memory. The AMD MI355X hardware angle also gives non-NVIDIA GPU clusters a reference point for storage-tiered serving.

Official accountvLLM@vllm_projectSource
How-toBuildersSelected01:48
vLLM offloads KV cache to NVMe on AMD MI355X GPUs

Skipping the DRAM tier changes the cost math for long-context inference: SSD bandwidth is now sufficient to serve KV cache directly on some stacks. Teams running vLLM on AMD MI355X hardware, or budgeting cache memory for high-session-count serving, can benchmark an NVMe-only tier against DRAM using the published blog setup. The result is also a rare public AMD-side datapoint against NVIDIA-centric serving benchmarks.

Official accountvLLM@vllm_projectSource
Chinese contentAMD工程师用 Gemini 4 Neon 将 Inkling 2 Mini 生成速度优化至1.88倍

AMD工程师拿 Gemini 4 Neon 当编程智能体,4.3小时就把 Inkling 2 Mini 在 Strix Halo 上的速度从 23.8 提到 44.8 tok/s,预填充快了5.9倍,全程没改模型权重。这种 AI 自动写 Kernel、自动做性能调优的工作流,做本地部署和推理优化的开发者值得细看流程细节。

AIGCLINK@aigclinkSource
Nov 23
Chinese contentDICE 方法通过预采样同步随机性提升投机解码吞吐量

搞推理优化的朋友可以看看这篇论文:它发现采样随机数其实起草前就知道,DICE 拿这个信息挑候选,不训练不改动采样分布就比现有基线快最多 24.6 个百分点。自己搭推理服务、用 vLLM 这类框架的都值得复现试试。

arXiv cs.AI@Guanning Zeng, Andrea ZanetteSource
Nov 21
How-toBuildersOfficial08:33
Chinese contentAWS 发布分布式 KV 缓存 agent skill,自托管 LLM 推理成本最多降 40%

如果你自己用 GPU 托管 LLM,多轮对话每次都重复算上下文纯属烧钱。AWS 把这套 KV 缓存配置做成了 agent skill,从编码 agent 里一句话就能让 agent 帮你把 ElastiCache 缓存搭好,官方数据显示成本省最多 40%、首 token 快最多 80%。自己搭 vLLM 服务的话可以照着这篇实操一下。

Primary sourceAWS Machine Learning Blog@Ravi YadavSource
Nov 20
Chinese contentRoCoKV:面向推理模型的 KV Cache 压缩方法,vLLM 中实现 1.27X 加速

推理模型的账单大头其实是长链条推理吃掉的显存和算力。这篇把压缩算法和 vLLM 内核一起改了,DeepSeek-R1-Distill-Llama-8B 上吞吐提升 38%,不牺牲准确率。自建推理服务、调过 KV Cache 的人应该看看。

arXiv: DeepSeek@Payman Behnam et al. (9)Source
Chinese contentFrontierReplay:混合架构模型的无切分精确前缀缓存方案

做推理服务或部署混合架构模型(比如线性注意力+循环层这类)的团队该看看。它不用切分 prefill 就能在可预测的边界处建精确缓存,TTFT 最高降 8.9 倍,精度一点不掉,比近似 replay 靠谱。

arXiv cs.LG@Zekun Wang, Yizhuo WangSource
Chinese contentTCDA:为扩散语言模型自适应选择去噪调度,最高省 8 倍算力

扩散语言模型跑推理时其实不用每次都走完整去噪流程。这篇论文给了一套带统计保证的选择规则,LLaDA-8B 在 WMT14 上能省 8 倍计算。做部署或研究扩散 LM 的工程师可以直接照着实现,论文还提醒 ELF 采样器时间网格是随机的,对比实验前要先固定。

arXiv cs.LG@Rabimba Karanjai et al. (6)Source
PapersBuildersSelected11:16
Twindex Offloads Indexer Cache for Long-Context Sparse-Attention Serving

The non-obvious insight is that in sparse-attention serving the indexer cache, not the main KV, becomes the memory ceiling once KV offloading is in place — a shift most serving teams have not accounted for. Engineers building long-context inference infrastructure can adopt Twindex without retraining or modifying model weights, since it integrates with CUDA graphs and existing offloading stacks. Teams running DeepSeek, Qwen or GLM deployments at million-token contexts should benchmark the reported 1.25x–3.03x concurrency gains against their own batching setups.

arXiv: DeepSeek@Yuxuan Xia et al. (6)Source
ProductsBuildersOfficial08:48
Chinese contentAmazon SageMaker AI 推理 2026 盘点第二篇:13 项新发布

AWS 把 2026 年 SageMaker 推理的 26 项发布分成两篇盘点,这篇讲 13 项,包括 GPU 装载密度优化和大模型跨实例切分。常年在 SageMaker 上部署推理服务的工程师可以直接对照清单挑能用上的功能,比翻零散公告省事。

Primary sourceAWS Machine Learning Blog@Aryaman KothariSource
How-toBuildersSelected06:54
Ant International Cuts DeepSeek-V4.1-Flash Latency on H20 GPUs

The step-by-step measurement of seven stacked optimizations is rare — most infra blogs report only final numbers, while this one lets engineers attribute gains to specific changes. Teams serving DeepSeek models on H20 or similar export-grade hardware get a concrete tuning checklist, including the TTFT-versus-TPOT trade-off data needed to pick between PD disaggregation and colocated serving. Ant International's Singapore-linked infra team also makes this a practical reference for ASEAN enterprises deploying inference on non-NVIDIA-flagship GPUs.

Official accountLMSYS Org (SGLang)@lmsysorgSource
ProductsBuildersOfficial06:03
Chinese contentAmazon SageMaker AI 新增推理端点自动检测延迟漂移与 GPU 闲置

AWS 给 SageMaker 推理端点加了自动体检:GPU 闲置、延迟变差、配置能优化都会主动提醒,还能一键进 SageMaker Studio 跑基准测试再决定改不改。跑生成式 AI 推理的团队省了人工巡检,建议看看自己账户的 Health 通知。

Primary sourceAWS Machine Learning Blog@Hazim QudahSource
How-toBuildersSelected06:00
NVIDIA Dynamo targets bottlenecks in RL post-training

RL post-training is increasingly the expensive phase after pretraining, and rollout inference overhead is rarely documented in this much detail by framework vendors. Engineers building RL pipelines with frameworks like verl or OpenRLHF can benchmark Dynamo against their current serving layer to find where weight-sync stalls and worker resets cost them throughput. The Microsoft deployment signals adoption beyond NVIDIA's own stack, relevant to anyone planning post-training infrastructure at scale.

Official accountNVIDIA AI@NVIDIAAISource
ProductsBuildersSelected02:25
CoreWeave and Numerata cut Qwen3-32B cold start to 1.11 seconds

Cold start under two seconds changes capacity planning: teams no longer need to keep idle GPUs warm to meet latency targets, and scale-to-zero becomes realistic for irregular traffic. Engineers running vLLM deployments of open-weight models should compare their own startup times against this setup. The 400 Gb/s RDMA-in-same-datacenter design is the detail to scrutinise, since replicating it depends on co-located storage and GPU infrastructure rather than software alone.

CoreWeave@CoreWeaveSource
Nov 19
How-toBuildersSelected18:58
Ant International serves DeepSeek-V4.1-Flash on 8x H200 via SGLang

The non-obvious takeaway is the explicit cost curve: prefill speed and TTFT gains of up to 64% come at a measurable price of 3%-52% higher TPOT and a 1.36-point GSM8K drop, so the 128-token late-layer mode fits latency-sensitive chat, not accuracy-critical decoding. Engineers running DeepSeek or MoE models on H200 clusters can copy the SGLang PD disaggregation recipe directly. Given Ant International is Singapore-headquartered, the write-up is a concrete datapoint on how regional infrastructure teams optimize open-weight Chinese models on US GPUs.

Official accountLMSYS Org (SGLang)@lmsysorgSource
ProductsBuildersOfficial12:21
Chinese contentBAAI 与清程极智合作推出基于 FlagOS 的端到端推理优化方案

智源和清程极智把 FlagOS 推向商用推理了,从内核、服务延迟到前缀缓存都在做优化。如果团队在自建推理服务,这套覆盖多层级的方案可以对比 vLLM、SGLang 看看差异在哪。

Primary sourcepandaily@[email protected] (Pandaily)Source
Nov 18
PapersBuildersSelected12:03
XM-Sparse Boosts Sparse-Attention LLM Serving via Scale-up Memory

The finding that K-index caches, not just KV caches, cap decode throughput reframes how sparse-attention serving systems should be architected, and the dual I/O strategy offers a concrete blueprint. Engineers running SGLang with long-context models like DeepSeek-V3.2 or GLM-5.3 can apply these techniques to raise concurrency without adding GPUs. Hardware teams evaluating X-Mem-style memory expansion get a quantified baseline against PCIe offloading alternatives.

arXiv: DeepSeek@Yijun Sun et al. (6)Source
Chinese content微软 Maia 200 芯片投产:每瓦 token 性能提升 1.7 倍

微软的第二代自研推理芯片真的量产了,Copilot 这类产品已经跑在上面,每瓦 token 量比 GPU 基础设施高 1.7 倍。10 petaFLOPS FP4、216GB HBM3e 的规格摆出来,这是在直接压缩对英伟达的依赖,做云服务和大规模推理的团队值得对照自家方案看看。

IT之家Source
Chinese contentAMD MI355X 上跑出 1,129 tok/s:sciforium 分享 DeepSeek-V4.1-Flash 推测解码实践

sciforium 用客户流量微调推测解码的 drafter,让 7-token 草拟通过验证,DeepSeek-V4.1-Flash 在 4 张 AMD MI355X 上跑到 1,129 tok/s,权重还是原版没动过。做推理优化的工程师值得看,他们连失败的尝试都写出来了。

elvis@omarsar0Source
IndustryBuildersSelected02:35
SGLang Summit announces v1.0, Miles v0.2 and new consortium

The formation of a consortium spanning NVIDIA, AMD, Intel, Google and Meta shows inference frameworks are consolidating into de facto standards backed by competing hardware vendors. Engineers serving LLMs at scale can evaluate SGLang v1.0 as an alternative to vLLM and TensorRT-LLM, drawing on the production deployment notes from Meta, Cloudflare and LinkedIn. Teams building agent and RL workloads will find the workshop material directly applicable.

elvis@omarsar0Source
ModelsBuildersSelected01:09
DSpark speculative decoding for Kimi K3.1 Pro cuts draft KV memory

Bounded draft KV memory removes the main scaling blocker for speculative decoding on million-token contexts, where draft caches previously grew with sequence length. Teams serving Kimi K3.1 Pro on vLLM, especially with P/D disaggregated deployments, can swap in the released weights and config for immediate throughput gains. Compared with the preview draft model, the 30% acceptance-length improvement compounds with the fixed 2K window into a materially cheaper long-context serving setup.

Official accountvLLM@vllm_projectSource
Nov 17
Chinese contentNVIDIA 提出自适应 Megakernel 方案,Nemotron 3.5 Transcribe 推理吞吐最高达 6367 倍实时

NVIDIA 给自家 Nemotron 3.5 Transcribe 换了个自适应推理引擎,每个 pass 自动在 megakernel 和融合 kernel 之间切换,B200 上跑到 6367 倍实时,比 vLLM 快 64%。做语音转写或推理优化的人都该看看这套 per-pass 切换的思路。

arXiv cs.LG@Aditya Chatterjee et al. (6)Source
Chinese contentCECAR 用缓存感知路由让 MoE 大模型在 16GB 显存显卡上跑出 12.5 tokens/s

这篇论文有意思的地方是换了思路:不压缩模型,而是预测专家的重用距离来决定路由。Qwen3-30B-A3B 在 16GB 显存的显卡上跑出 12.5 tokens/s,比把模型塞满内存还快。做端侧部署、推理框架的工程师可以直接看开源代码。

arXiv cs.AI@Byeongju Kim et al. (7)Source
ProductsBuildersOfficial10:13
Chinese contentMETASTONE 推出多模态推理服务,自测视频处理提速 2.48 倍

一家推理服务商把缓存、token 压缩和上下文管理打包成了多模态推理服务,自测视频提速 2.48 倍。做视频理解或长上下文业务的团队可以关注,但数字是厂商自己测的,对比 vLLM 等方案前建议先跑自己的基准。

Primary sourcepandaily@[email protected] (Pandaily)Source
ProductsBuildersSelected10:10
Together Compiler Tuning Agents Deliver Up to 2.6x Throughput Gains

The interesting signal is that an agent-driven compiler beat hand assumptions about megakernels and even found Torch Compile surprisingly competitive, suggesting automated tuning may outperform manual kernel engineering for many teams. Engineering leads running GPU inference should evaluate whether per-deployment tuning can replace bespoke optimization work, especially at serving scale. Teams choosing between Together Compiler, TensorRT-LLM, and vLLM-style stacks will find the lessons directly relevant to benchmarking their own serving setups.

Official accountTogether AI@togethercomputeSource
Chinese contentCoreWeave 发布 CoreWeave Forge:一站式运行 AI 开发全流程

CoreWeave 自己团队开发 ARIA 和 speculative decoding 时被手工拼工具搞烦了,索性做了个 Forge 把整个 AI 开发循环放进一个平台。他们自己当第一个客户试用。做模型训练和推理优化的开发者可以看下 Corey Sanders 的现场演示,对比一下自己现在的工具链。

CoreWeave@CoreWeaveSource
Chinese contentFireworks 向投资人称芯片和数据中心是商品,护城河在于模型加速软件

Fireworks 这个思路挺有意思:不囤芯片,把算力当商品买,靠软件把模型推理速度做上去。跟 Groq 那种造芯片的路子正好相反。如果你在选推理服务商部署开源模型,这篇能帮你理解不同路线的成本逻辑。

The Information@theinformationSource
Nov 16
Nov 14
PapersBuildersSelected00:42
Tencent paper shows MoE models survive neuron-level pruning

The practical takeaway is that expert granularity is the wrong unit for MoE compression — neuron-level pruning keeps skills intact while cutting memory by over a third. Teams running self-hosted MoE models on constrained GPU budgets, from inference startups to enterprise ML platforms, can apply RAMPr-style scoring to cut serving costs without retraining. The results give open-source MoE deployments a concrete alternative to expert-dropping methods.

rohanpaul_ai@rohanpaul_aiSource