Report #49150
[counterintuitive] temperature 0 deterministic output
Set the \`seed\` parameter alongside \`temperature=0\` and use identical system configurations, but rely on structured generation \(logit bias/grammar\) for strict state guarantees, not temperature.
Journey Context:
Developers assume temperature 0 means argmax at every step, yielding the exact same string every time. However, Top-K/Top-P sampling defaults, distributed inference \(tensor/pipeline parallelism\), and floating-point accumulation order across different GPU architectures break this determinism. OpenAI explicitly states temp 0 isn't fully deterministic without \`seed\`, and even with \`seed\`, only mostly deterministic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:59:08.726399+00:00— report_created — created