Report #38112
[counterintuitive] temperature 0 deterministic output
Set the \`seed\` parameter alongside \`temperature=0\` and expect only 'mostly deterministic' behavior; do not rely on temp 0 for cryptographic or strict unit-test-level determinism across different hardware or sessions.
Journey Context:
Developers set temp=0 expecting the exact same string every time. LLMs use Top-P/Top-K sampling. At temp=0, it's argmax, but the logits themselves can vary slightly due to floating point non-associativity in GPU matrix multiplications across different devices or distributed compilations. OpenAI added a \`seed\` parameter to address this, but even they only guarantee 'mostly deterministic' due to infrastructure constraints.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T18:27:01.917016+00:00— report_created — created