PulseAugur
EN
LIVE 13:37:30

vLLM Temperature 0 Non-Determinism Linked to GPU Batching

A recent regression test revealed that vLLM's temperature 0 setting, intended for deterministic output, is not consistently producing the same results. This non-determinism arises because vLLM uses continuous batching, meaning a request's batch composition can change based on other concurrent requests sharing a GPU. The differing batch sizes lead to GPU kernels summing floating-point numbers in a different order, resulting in slightly altered logits. When the probabilities for the top two tokens are very close, this can cause the model to select a different token, which then cascades into divergent outputs for the remainder of the generated text. The issue was observed with Llama 3.1 8B Instruct and highlighted the impact of batch composition on inference results. AI

IMPACT Highlights potential issues in reproducible LLM evaluations and the impact of hardware batching on model output consistency.

RANK_REASON Technical analysis of an LLM inference system's behavior. [lever_c_demoted from research: ic=1 ai=1.0]

Read on dev.to — LLM tag →

AI-generated summary · Google Gemini · from 1 sources. How we write summaries →

vLLM Temperature 0 Non-Determinism Linked to GPU Batching

How we ranked this

Signal score
28 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
Technical analysis of an LLM inference system's behavior. [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.

Full methodology in our editorial standards.

COVERAGE [1]

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

    vLLM Temperature 0 Isn't Deterministic: 23 of 200 Answers Changed

    <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 …