Ollama's prompt cache changes LLM outputs even at temperature 0 with fixed seed

Full-Travel857 · reddit · 2026-11-07

A developer running Polish grammar benchmarks noticed different answers at temperature 0 with a fixed seed depending on whether Ollama reused the prompt cache. He ran a controlled experiment — 3 models, 10 model-prompt pairs, 4 conditions (streaming on/off × model loaded/unloaded), 5 reps, 200 responses:

His takeaway: benchmarking with fixed seeds may not measure what you think unless you control server state. He shipped AI Bóbr v0.8.1 with a controlled testing mode (unload + verify before each attempt, cache stats logged) and is rerunning his 11-model benchmark, asking if others have seen the same.

Original post →

More from Infra

Infra channel →