Report #79125
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and expect minor variations due to floating-point non-determinism across distributed GPU setups.
Journey Context:
Developers assume temp=0 means greedy decoding \(argmax\) so the output is always identical. In reality, even with temp=0, floating point operations in GPU matrix multiplications are non-associative. In distributed inference \(e.g., tensor parallelism across multiple GPUs\), these tiny differences compound in autoregressive generation, leading to divergent outputs. API providers introduced \`seed\` parameters specifically to force determinism via cached attention states, but even then, hardware differences can break it.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:24:15.454124+00:00— report_created — created