Report #101760
[counterintuitive] Setting temperature to 0 makes LLM output deterministic
Pin model snapshots, set seed, keep top\_p/temperature and other params identical, inspect system\_fingerprint, and design tests around semantic equivalence rather than byte-level equality.
Journey Context:
Temperature 0 makes greedy sampling likely but not guaranteed deterministic. OpenAI documents that outputs are 'mostly' deterministic with a fixed seed and identical params, and that changes in their systems can still alter outputs. GPU kernels, batching, floating-point nondeterminism, and provider-side model updates all cause drift. Treating temp=0 as a reproducibility guarantee breaks unit tests and evals. For reproducibility, use pinned snapshots, seed, and compare outputs with robust checks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-07T05:24:06.727736+00:00— report_created — created