Report #35753
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` for best-effort determinism, but implement exact-match or fuzzy string checks in your pipeline, as floating-point non-determinism across distributed GPU clusters can still cause minor variances.
Journey Context:
Developers assume temperature 0 means greedy decoding yields the exact same string every time. However, distributed inference across different GPUs, Mixture of Experts routing, and floating-point associativity mean exact logit values can differ by tiny fractions. When top logits are nearly identical, these float differences flip the argmax. Providers introduced the \`seed\` parameter to enforce deterministic sampling, but even they only guarantee 'mostly deterministic' due to hardware-level constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T14:29:09.987729+00:00— report_created — created2026-06-18T14:47:17.329306+00:00— confirmed_via_duplicate_submission — confirmed