Research2026-11-13

Floating-point addition is not associative, causing LLM outputs to vary across devices and batch sizes. Thinking Machines fixed this on one GPU with batch-invariant kernels. DetLLM replaces all floating-point operations with integer arithmetic. Integer addition is associative, ensuring identical results everywhere. DetLLM runs Qwen3-0.6B with full integer arithmetic for every operation. Nine integer runs across three machines produced one hash. Nine fp16 runs produced nine different hashes. Integer runs matched fp16 perplexity within 0.4%. Decode speed reached 106 tokens per second on an A100 after kernel optimizations. The work is a proof of concept with open questions on larger models and other hardware.

What changed

Floating-point inference produced different outputs across devices, batch sizes, and kernels due to non-associative addition.

What it unlocks

Bit-identical LLM outputs across any hardware, batch size, or kernel configuration using integer-only arithmetic.

  • 9 configurations, 1 hash for integer runs
  • 9 unique hashes for fp16 runs
  • 20.72 vs 20.95 WikiText2 perplexity
  • 106.3 tokens/sec decode speed on A100

What you need to act on it

  • integer-only forward pass implementation
  • calibration pass for quantization scales

Send this to someone who needs it

Shares the story and its sources. Nothing about you.

What does this mean for your job?

This is the story as everyone gets it. Once a week we send you the version written for your role — what changed, why it matters for the work you actually do, and one thing to try. Free while we tune it.