TLDR AI · DEEP DIVES & ANALYSIS

DEFEATING NONDETERMINISM IN LLM INFERENCE

thinkingmachines.ai37 min read

Summary from the TLDR AI newsletter

Reproducibility is the bedrock of scientific progress, but it is remarkably difficult to get reproducible results from large language models. LLM APIs are not deterministic in practice, even when adjusting the temperature down to 0. Sampling isn't deterministic even when running inference on your own hardware with an OSS inference library. This article looks at the root causes of nondeterminism to give the community a solid understanding of how to resolve it in their reference systems.