Report #56101
[counterintuitive] setting temperature to 0 makes LLM outputs deterministic
Set the seed parameter alongside temperature=0 and be aware that even then, minor infrastructural differences can cause drift across different deployments.
Journey Context:
Temperature 0 forces the model to pick the highest probability token \(greedy decoding\), but this is not deterministic across different model versions, hardware, or even runs on highly distributed systems due to floating-point non-associativity in GPU reductions. API providers introduced the seed parameter specifically to achieve near-determinism for reproducibility.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T00:39:34.429221+00:00— report_created — created