Report #90248
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and use consistent infrastructure, but design systems to tolerate minor variances due to GPU floating point non-associativity.
Journey Context:
Developers set temp=0 expecting exact reproducibility for testing or caching. However, GPU floating point operations \(especially in reduced precision like FP16/BF16\) are non-associative. Parallel execution paths across distributed GPU thread scheduling yield slightly different sums, altering the logit selection. OpenAI added a \`seed\` param but explicitly warns it is only 'mostly' deterministic, and absolute bit-for-bit determinism across different hardware clusters is impossible.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T10:04:37.364834+00:00— report_created — created