Report #49838
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and enforce deterministic backend configurations, but recognize that strict reproducibility across different hardware clusters is not guaranteed due to floating-point non-determinism in GPU operations.
Journey Context:
Developers assume setting temperature to 0 forces the model to always pick the highest probability token, making outputs reproducible. However, floating-point arithmetic \(particularly in attention mechanisms and MoE routing\) is non-deterministic across different GPU runs or clusters. Even at temp 0, distributed inference can yield different results. Without a seed parameter and hardware-level determinism, temp 0 only ensures greedy decoding locally, not strict reproducibility across sessions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:08:19.814076+00:00— report_created — created