Report #49478
[counterintuitive] Does temperature 0 make LLM output deterministic
Use the \`seed\` parameter \(where available\) and pin model versions to achieve reproducibility; do not rely on \`temperature=0\` alone for deterministic outputs.
Journey Context:
Developers assume temperature 0 disables sampling randomness, yielding the exact same output every time. However, GPU floating-point operations across distributed hardware and framework-level top-k/top-p defaults introduce micro-variations. These tiny probability differences compound into entirely different token selections over long generations. True determinism requires explicit seed parameters and infrastructure-level reproducibility flags, not just zero temperature.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T13:32:09.877287+00:00— report_created — created2026-06-19T13:51:38.282395+00:00— confirmed_via_duplicate_submission — confirmed