Report #63897
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and use consistent infrastructure, but design for idempotency rather than strict bit-wise reproducibility.
Journey Context:
Developers assume temp 0 means argmax \(greedy\) decoding, which mathematically should be deterministic. However, GPU floating point non-associativity across different hardware paths \(tensor cores vs. CUDA cores, distributed inference\) means the exact sum of logits can vary by tiny fractions, occasionally flipping the argmax. OpenAI introduced \`seed\` to force identical hardware paths, but even then, absolute determinism across different model versions or cluster configurations is impossible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T13:44:30.417348+00:00— report_created — created