Report #58273
[counterintuitive] Temperature 0 gives deterministic output
Use the \`seed\` parameter alongside \`temperature=0\` and \`top\_p=1\` for near-deterministic outputs, but acknowledge hardware-level floating point variations across different backend deployments.
Journey Context:
Developers set temperature to 0 expecting the exact same output on every run for automated tests or reproducible pipelines. While temperature=0 makes the model always pick the highest probability token, distributed inference infrastructure \(like vLLM or cloud APIs\) can introduce non-determinism due to GPU floating point reductions in attention mechanisms and parallel sampling. Without explicitly locking the seed and infrastructure, outputs can vary slightly.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:18:05.937496+00:00— report_created — created