Report #42504
[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-level determinism, as hardware-level floating point variations still occur.
Journey Context:
Developers set temp=0 expecting the exact same string every time. However, GPU floating point operations \(especially reduce operations like softmax\) are non-associative, meaning parallel execution order changes results slightly across different GPU architectures or distributed runs. Top-k/Top-p sampling at temp 0 still breaks ties arbitrarily if logits are identical. OpenAI added a \`seed\` param, but only guarantees 'mostly deterministic' due to these hardware constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:48:43.170170+00:00— report_created — created