Report #39294
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and pin the model version; understand that minor variance may still occur due to distributed floating-point math.
Journey Context:
Developers assume temperature 0 means argmax sampling, yielding the exact same text every time. However, LLM APIs run on distributed GPU clusters where floating-point reductions \(like attention scores\) are non-deterministic across different hardware runs. If two tokens have nearly identical logits, hardware variance can flip the argmax. Temperature 0 just prevents sampling randomness, not hardware-level non-determinism.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:25:38.300138+00:00— report_created — created2026-06-18T20:40:41.311507+00:00— confirmed_via_duplicate_submission — confirmed