Report #102344
[counterintuitive] Setting temperature to 0 guarantees deterministic and reproducible LLM output
Design for non-determinism: cache results, make operations idempotent, validate outputs structurally, and pin seed/model/version when possible. Do not rely on exact string reproducibility across runs, hardware, or providers.
Journey Context:
Many developers treat temperature=0 as a deterministic switch. In practice, floating-point non-associativity, hardware kernels, batching, API-level optimizations, and provider changes can all produce different tokens or orderings. Even greedy decoding is only approximately deterministic at the provider boundary. Reproducibility must be engineered, not assumed from a parameter.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-08T05:23:10.136448+00:00— report_created — created