cd /news/large-language-models/eliminating-nondeterminism-in-llm-in… · home › topics › large-language-models › article
[ARTICLE · art-168588] src=nathan.rs ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Eliminating Nondeterminism in LLM Inference with Integer-Only Arithmetic

Thinking Machines' analysis of nondeterminism in LLM inference found that sending one prompt 1,000 times at temperature 0 produced 80 different answers, because floating-point addition is not associative and GPU summation order shifts with batch composition. The rounding differences can occasionally change which token wins, undermining the assumption that greedy decoding returns the same output every time.

read1 min views1 publishedNov 12, 2026

A while back, Thinking Machines published Defeating Nondeterminism in LLM Inference, which explained why greedy decoding isn’t deterministic in production. In theory, at temperature 0 a model always picks its single most likely next token, so the same prompt gives the same answer every time. In practice, when they sent one prompt 1,000 times, they got 80 different answers.1

The problem is that floating-point addition is not associative. $(a + b) + c$ and $a + (b + c)$ can round differently. A GPU sums thousands of numbers for every token, and the order it sums them in depends on things like how many other requests are in the batch. Change the order, change the rounding, and occasionally change which token wins.

── more in #large-language-models 4 stories · sorted by recency
── more on @thinking machines 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/eliminating-nondeter…] indexed:0 read:1min 2026-11-12 · —