Report #56472
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and pin model versions, but expect minor floating-point variations across distributed hardware.
Journey Context:
Developers assume temperature 0 means argmax \(greedy\) decoding, which should be mathematically deterministic. However, floating-point non-associativity across different GPUs in distributed inference clusters, minor implementation details in top-p/top-k masking, and model version updates mean temp 0 is not strictly deterministic. OpenAI introduced the \`seed\` parameter specifically to enable reproducibility, acknowledging that temp 0 alone is insufficient.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T01:16:43.665734+00:00— report_created — created