Report #57374
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and check the \`system\_fingerprint\` for consistency, but design systems to tolerate minor variances due to distributed GPU floating-point math.
Journey Context:
Developers assume temperature 0 enforces argmax \(greedy\) decoding, guaranteeing identical outputs for identical inputs. However, LLM APIs run on distributed GPU clusters where floating-point operations \(especially in optimized kernels like FlashAttention\) are non-associative and hardware-dependent. This means the exact logits can vary slightly between runs on different nodes, causing different token selections even at temp 0.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:47:34.690900+00:00— report_created — created