Report #48036
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and use identical infrastructure, but accept that minor floating-point variations across GPU architectures may still cause divergences.
Journey Context:
Developers assume temperature 0 forces the model to always pick the highest probability token. However, temperature 0 only makes the sampling function greedy \(argmax\). Without a fixed seed, the model's internal state and distributed inference floating-point math can yield slightly different probability distributions on different runs, leading to different greedy choices. Determinism requires both greedy sampling and controlled execution paths.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:06:51.299126+00:00— report_created — created