决策模型会因为你调换选项顺序就改变判断,这篇论文在十个模型上证实了这一点。作者对比了八种方案,发现 tree attention 不重训练就能消除顺序敏感,精度只掉 1.1 点。做 Agent 决策链或多选项筛选的开发者值得看看实现思路。
#inference optimization
跑着大量长会话智能体的团队换 LoRA 版本时不用再全量重放历史了。论文在 Qwen2.5-3B 上实测 68.98 倍加速,解码只多 4.8% 开销,还给出了等价性证明。做在线学习、个性化智能体或者频繁热更新适配器的服务端工程值得看。
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.
用 46M 到 110M 参数的小模型把循环调度讲透了:训练时最低循环次数选 2 不选 1,每圈就是完整一层,还能推理时翻倍深度跑。想省显存做参数共享的工程师可以看 {2,3,4} 这组配置和 KV 复用技巧。
做长上下文推理部署的可以看看这篇:它把 DeepSeek 稀疏注意力的 Indexer-K 状态搬到外部存储,在 SGLang 上跑出了比 HiSparse 高 12%–23% 的批次规模和 1.31x 解析吞吐,显存占用每卡不到 0.7 GiB。自己搭推理集群的团队值得评估这套方案。
做 LLM RL 训练的朋友可以看这篇:ARC 在 rollout 阶段动态决定哪些样本组继续生成、哪些挂起或回填,rollout 时间砍了 37.4%,GRPO 有效吞吐提升 50.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.
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.
AMD工程师拿 Gemini 4 Neon 当编程智能体,4.3小时就把 Inkling 2 Mini 在 Strix Halo 上的速度从 23.8 提到 44.8 tok/s,预填充快了5.9倍,全程没改模型权重。这种 AI 自动写 Kernel、自动做性能调优的工作流,做本地部署和推理优化的开发者值得细看流程细节。
有人发现 MiniMax 的 kernels 不见了,直接在线@官方问询。如果你在用 MiniMax 模型做部署,建议确认自己的推理环境是否受影响。
搞推理优化的朋友可以看看这篇论文:它发现采样随机数其实起草前就知道,DICE 拿这个信息挑候选,不训练不改动采样分布就比现有基线快最多 24.6 个百分点。自己搭推理服务、用 vLLM 这类框架的都值得复现试试。
做推理优化或自托管 LLaMA 的开发者可以看这篇:不按请求一刀切砍层数,而是逐 token 路由,一个模型权重就能同时服务高低预算请求,混合 batch 下 TPOT 最多降 21.2%,比传统层跳过更省心。
如果你自己用 GPU 托管 LLM,多轮对话每次都重复算上下文纯属烧钱。AWS 把这套 KV 缓存配置做成了 agent skill,从编码 agent 里一句话就能让 agent 帮你把 ElastiCache 缓存搭好,官方数据显示成本省最多 40%、首 token 快最多 80%。自己搭 vLLM 服务的话可以照着这篇实操一下。
推理模型的账单大头其实是长链条推理吃掉的显存和算力。这篇把压缩算法和 vLLM 内核一起改了,DeepSeek-R1-Distill-Llama-8B 上吞吐提升 38%,不牺牲准确率。自建推理服务、调过 KV Cache 的人应该看看。
做推理服务或部署混合架构模型(比如线性注意力+循环层这类)的团队该看看。它不用切分 prefill 就能在可预测的边界处建精确缓存,TTFT 最高降 8.9 倍,精度一点不掉,比近似 replay 靠谱。
扩散语言模型跑推理时其实不用每次都走完整去噪流程。这篇论文给了一套带统计保证的选择规则,LLaDA-8B 在 WMT14 上能省 8 倍计算。做部署或研究扩散 LM 的工程师可以直接照着实现,论文还提醒 ELF 采样器时间网格是随机的,对比实验前要先固定。
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.
推理 VLM 太慢的话可以看看这篇:Raptor 不用训练,靠拒绝反馈动态调树深度和分支宽度,实测平均加速到 2.39 倍。做推理优化的工程师值得把方法搬进自己的 pipeline 里试。
AWS 把 2026 年 SageMaker 推理的 26 项发布分成两篇盘点,这篇讲 13 项,包括 GPU 装载密度优化和大模型跨实例切分。常年在 SageMaker 上部署推理服务的工程师可以直接对照清单挑能用上的功能,比翻零散公告省事。
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.
AWS 给 SageMaker 推理端点加了自动体检:GPU 闲置、延迟变差、配置能优化都会主动提醒,还能一键进 SageMaker Studio 跑基准测试再决定改不改。跑生成式 AI 推理的团队省了人工巡检,建议看看自己账户的 Health 通知。
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.
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.
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.
智源和清程极智把 FlagOS 推向商用推理了,从内核、服务延迟到前缀缓存都在做优化。如果团队在自建推理服务,这套覆盖多层级的方案可以对比 vLLM、SGLang 看看差异在哪。
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.
微软的第二代自研推理芯片真的量产了,Copilot 这类产品已经跑在上面,每瓦 token 量比 GPU 基础设施高 1.7 倍。10 petaFLOPS FP4、216GB HBM3e 的规格摆出来,这是在直接压缩对英伟达的依赖,做云服务和大规模推理的团队值得对照自家方案看看。
sciforium 用客户流量微调推测解码的 drafter,让 7-token 草拟通过验证,DeepSeek-V4.1-Flash 在 4 张 AMD MI355X 上跑到 1,129 tok/s,权重还是原版没动过。做推理优化的工程师值得看,他们连失败的尝试都写出来了。
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.
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.
NVIDIA 给自家 Nemotron 3.5 Transcribe 换了个自适应推理引擎,每个 pass 自动在 megakernel 和融合 kernel 之间切换,B200 上跑到 6367 倍实时,比 vLLM 快 64%。做语音转写或推理优化的人都该看看这套 per-pass 切换的思路。
这篇论文有意思的地方是换了思路:不压缩模型,而是预测专家的重用距离来决定路由。Qwen3-30B-A3B 在 16GB 显存的显卡上跑出 12.5 tokens/s,比把模型塞满内存还快。做端侧部署、推理框架的工程师可以直接看开源代码。
一家推理服务商把缓存、token 压缩和上下文管理打包成了多模态推理服务,自测视频提速 2.48 倍。做视频理解或长上下文业务的团队可以关注,但数字是厂商自己测的,对比 vLLM 等方案前建议先跑自己的基准。
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.
做视频生成或推理服务的朋友可以关注:RunwayML 的 CTO 亲自讲视频模型怎么训练、怎么扛住百万用户的实时请求。这类生产级工程经验很少公开讲,比看论文更接地气。
CoreWeave 自己团队开发 ARIA 和 speculative decoding 时被手工拼工具搞烦了,索性做了个 Forge 把整个 AI 开发循环放进一个平台。他们自己当第一个客户试用。做模型训练和推理优化的开发者可以看下 Corey Sanders 的现场演示,对比一下自己现在的工具链。
Fireworks 这个思路挺有意思:不囤芯片,把算力当商品买,靠软件把模型推理速度做上去。跟 Groq 那种造芯片的路子正好相反。如果你在选推理服务商部署开源模型,这篇能帮你理解不同路线的成本逻辑。
是石科技发了新服务,专治AI视频生成太慢太贵:速度提到2.48倍还不掉画质。做视频产品或批量出内容的工作室可以关注,能不能省钱得看你自己跑一跑实测。
如果你常在 Hugging Face 上拉模型,这条值得收藏:transformers 加载的模型能直接导出到别的运行时再做优化,不用困在单一框架里。做部署的同学可以先去官方文档确认支持的格式清单。
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.