Report #59970
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and keep system configurations identical across calls, but recognize that absolute determinism across different hardware backends is not guaranteed without specialized inference engines.
Journey Context:
Developers set temp=0 expecting exact reproducibility. However, temp=0 only enforces greedy decoding \(argmax\) over the probability distribution. The distribution itself can vary due to GPU floating point accumulation differences across different hardware/parallelization configurations \(e.g., varying batch sizes causing different memory layouts\). OpenAI added a \`seed\` parameter to address this, but even they only guarantee 'mostly deterministic' due to backend routing variations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T07:08:42.004835+00:00— report_created — created