Report #48869
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and pin the model version; otherwise, expect minor variances due to floating-point non-determinism in GPU distributed computing.
Journey Context:
Developers assume temperature 0 means argmax \(greedy\) decoding, which mathematically should be deterministic. However, distributed GPU computations \(like attention mechanisms across multiple devices\) use atomic adds, which are non-deterministic by nature. Thus, the calculated logits might differ slightly run-to-run, changing the argmax selection. API providers introduced \`seed\` params to force deterministic caching/computation, but even then, underlying model version changes alter behavior.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:30:18.889253+00:00— report_created — created