While writing ds41f 1030 vs 1107, one line in the author’s release table stood out. The two releases load the same DeepSeek checkpoint, nothing re-quantized. They were given the same 256 prompts at temperature 0, and not one answer came out the same.

Most people know that a quantized model answers differently from the original. Fewer know that the original weights, served by two different engines (or by the same engine on a busy afternoon), also answer differently. This post explains why, shows it on our own hardware, and covers what it does and does not say about quality.

Where the differences come from

  • Addition order. Floating-point addition is not associative: (a + b) + c and a + (b + c) can differ in the last bit. One matrix multiply adds up thousands of products, and the kernel decides the order: how the work is tiled, split across cores, and split across GPUs.
  • Low precision amplifies it. Weights and many intermediate values are stored in 8 or 4 bits. A last-bit difference that lands near a rounding boundary becomes a whole step.
  • Near-ties flip. At each position the model picks the most likely next token. When the top two candidates are almost tied, a tiny difference swaps them. After one different token, everything that follows is a different text.

This happens in two situations:

  • Build to build: a new engine release changes kernels or how the nodes split the work.
  • Run to run on the same server: most engines pick a different reduction strategy depending on how many requests are in the batch, and the batch size changes with load. Thinking Machines showed that this, not “GPU randomness”, is the main reason endpoints are not deterministic at temperature 0 (Defeating Nondeterminism in LLM Inference, 2025-09).

Run to run: our ring vs a hosted endpoint

One prompt (a 250-word explanation of why the sky is blue), temperature 0, a fixed seed, thinking off, DeepSeek-V4.1-Flash-1017 on both sides:

RunsDistinct answers
Our four-Spark ring (ds41f 1107), alone81
Our ring, each run sent among 15 other requests81 (the same text as alone)
A hosted endpoint for the same model, via OpenRouter109

The same provider served all ten hosted runs. The earliest difference came at the tenth character: the heading was capitalized in some runs and not in others. This says nothing about that provider’s quality, only about repeatability.

Our engine gives the same answer whether it is alone or busy because ds41f is built for it: at temperature 0, every row’s result is independent of its batch (fixed reduction order in each kernel, ranks added in a fixed order) (README). Most serving stacks trade this away for speed.

Build to build: ds41f 1030 vs 1107

Determinism within one build does not carry over to the next. From the author’s release table, same weights, same prompts:

  • Temperature-0 answers identical: 0 of 256. Half of them part ways within the first 24 tokens.
  • Scored token by token on 1030’s own answers (65,536 positions), 1107 picks the same next token 94.6% of the time.

The weights did not change, and neither did the math the 67 new engine patches were meant to do: every release candidate up to the 41st still matched 1030 bit for bit. The author traced the split to the compiler (release notes). Upstream TileLang made its block-wide sums faster by adding the warps’ partial sums in a different order. Floating-point addition depends on order, so in the sparse-attention kernel about 1 value in 2 million now lands one rounding step away. At temperature 0 one different token is enough: everything after it follows a different path.

Different is not worse

The 94.6% only says how far 1107 moved from 1030. The release table also shows perplexity +2.2% for 1107, which looks like a quality drop, but it is the same kind of number: 1030 is the yardstick, so 1030 always scores best and any change looks a little “worse”. Neither number tells you which build is more correct.

The author settled that question directly. Scored against a reference computed in FP64, the two builds are equally close. In the real attention kernel, out of 67 million output values, they differ in 13: 1030 matches the reference in 6 of them, 1107 in 6, and neither in 1. On 1107 itself the quality evals hold: RULER 4K–256K 26 of 26, HumanEval+ 164 of 164 base and 156 of 164 plus, tool-eval-bench 90–91 of 100.

Quality needs tasks with right answers: math with a final number, code with tests, or your own work with a known good result. You also need enough of them. With 50 questions the score’s standard error is about 7 points, so a 1–2 point difference needs hundreds.

Where quality actually leaks

With the original weights, real quality loss comes from the engine computing something other than what the model’s authors compute:

  • a chat template or tokenizer that formats the system prompt, thinking or tool calls differently;
  • tool-call parsing;
  • approximations: long-context attention, KV-cache precision;
  • plain bugs.

This is measurable. Moonshot’s K2 Vendor Verifier sends the same 4,000 requests to every provider of Kimi K2. In its November 2025 round, valid tool-call JSON ranged from about 72% to 100% depending on who served the model. OpenRouter added Exacto endpoints for the same reason: they route only to providers with measurably better tool calling.

Also, for DeepSeek “original” already means low precision: the 1017 checkpoint ships in FP8 with FP4 experts. So “quantized or not?” is the wrong first question. The better one is “does this engine compute what the model’s authors compute?”

How ds41f does on that

What it gets right, from the project’s README and our configuration:

  • It loads DeepSeek’s own checkpoint as is.
  • It follows DeepSeek’s reference inference code term for term: FP32 logits, the reference’s precision in the mixing and expert layers, and the reference’s quantization points.
  • Temperature-0 output does not depend on the batch (confirmed above).
  • Sampling defaults match the model card (temperature 1.0, top_p 1.0).

Where it is thin:

  • The release table compares each release with the previous one, not with DeepSeek’s own outputs. For 1107 the author checked the changed kernel against an FP64 reference, which settles that one change, but there is no end-to-end comparison with DeepSeek’s reference outputs.
  • The quality evals are small: 26 RULER prompts, 164 HumanEval+ problems, 12 LongBench v2 questions. They catch breakage, not a one-point drift.

Takeaways

  • The same weights do not guarantee the same answers: not across engines, not across releases, and on most hosted endpoints not even across two identical requests.
  • Repeatable temperature-0 output is an engineering choice (batch invariance), and it costs speed.
  • Use top-1 and KL to see how far a build has moved. Judge quality with tasks that have answers, ideally your own.