Report #40162
[counterintuitive] Does temperature 0 make LLM output deterministic
Set the \`seed\` parameter alongside \`temperature=0\` and use fully deterministic infrastructure for reproducibility.
Journey Context:
Developers assume temperature=0 means greedy decoding \(argmax\), which should be deterministic. However, GPU floating-point operations \(especially matrix multiplications in attention\) are non-associative, meaning parallelized summations yield slightly different results across runs. These tiny differences in logits can flip the argmax for tokens with nearly identical probabilities. OpenAI introduced the \`seed\` parameter specifically to enforce determinism by fixing these floating-point variations at the hardware/cluster level.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:52:58.962545+00:00— report_created — created