PulseAugur
中
实时 14:40:23
English(EN) vLLM Temperature 0 Isn't Deterministic: 23 of 200 Answers Changed

vLLM Temperature 0 非确定性与 GPU 批处理相关

最近的回归测试显示,vLLM 的 temperature 0 设置(旨在实现确定性输出)并未始终产生相同的结果。这种非确定性源于 vLLM 使用连续批处理,这意味着一个请求的批次组成会根据共享 GPU 的其他并发请求而改变。不同的批次大小会导致 GPU 内核以不同的顺序对浮点数求和,从而产生略有不同的 logits。当排名前两个 token 的概率非常接近时,这可能导致模型选择不同的 token,进而导致生成文本其余部分输出发散。该问题在 Llama 3.1 8B Instruct 上观察到,并凸显了批次组成对推理结果的影响。 AI

影响 强调了可复现的 LLM 评估中潜在的问题以及硬件批处理对模型输出一致性的影响。

排序理由 对 LLM 推理系统的行为进行技术分析。[lever_c_demoted from research: ic=1 ai=1.0]

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

vLLM Temperature 0 非确定性与 GPU 批处理相关

本文如何被排名

Signal score
20 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
对 LLM 推理系统的行为进行技术分析。[lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准。

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · jidonglab ·

    vLLM Temperature 0 并非确定性:200个答案中有23个发生变化

    <p>My regression test for a prompt change failed on a Tuesday. I hadn't touched the prompt yet.</p> <p>Same model, same weights, same vLLM server, same 200 eval prompts, <code>temperature=0</code>. I ran the suite twice in a row and 23 of the 200 answers came back different. Not …