<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/2506.09501/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/2506.09501/feed.xml" rel="self" type="application/rss+xml" /><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — HN submission</title><link>https://news.ycombinator.com/item?id=49548229</link><guid isPermaLink="false">urn:hackerpapers:submission:2506.09501:49548229</guid><pubDate>Thu, 03 Sep 2026 10:27:11 GMT</pubDate><description>&lt;p&gt;Understanding, Mitigating Numerical Sources of Nondeterminism in LLM Inference&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;1 point; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — mentioned by shakna</title><link>https://news.ycombinator.com/item?id=49499116</link><guid isPermaLink="false">urn:hackerpapers:mention:2506.09501:49499116</guid><pubDate>Sun, 30 Aug 2026 14:45:11 GMT</pubDate><description>&lt;p&gt;Floating point matrix calculations are non-deterministic. You need to invent new hardware, that doesn&amp;#x27;t use floating point math, first. [0] [0] https://arxiv.org/html/2506.09501&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — mentioned by nyrikki</title><link>https://news.ycombinator.com/item?id=47373348</link><guid isPermaLink="false">urn:hackerpapers:mention:2506.09501:47373348</guid><pubDate>Sat, 14 Mar 2026 04:26:46 GMT</pubDate><description>&lt;p&gt;&amp;gt; However, as the name “batch-invariant” suggests, the technique is currently limited to handling variations related only to the batch dimension, making it robust to continuous batching and other batch-size–related changes, but not to other forms of nondeterminism like changing the TP sizes or GPU types. https://arxiv.org/abs/2506.09501&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — mentioned by rvz</title><link>https://news.ycombinator.com/item?id=46920803</link><guid isPermaLink="false">urn:hackerpapers:mention:2506.09501:46920803</guid><pubDate>Sat, 07 Feb 2026 02:40:01 GMT</pubDate><description>&lt;p&gt;Nope. You have not shown how a large scale collection of neural networks irrespective of their architecture is more deterministic when compared to a &amp;#x27;compiler&amp;#x27; and only repeating a known misconception of tweaking the temperature to 0 which does not bring the determinism you claim it brings with LLMs [0] [1] [2], otherwise you would not have this problem in the first place. By even doing that, the result of the outputs are useless anyway. So this really does not help your point at all. So therefore: &amp;gt; You&amp;#x27;re just using words incorrectly. Deterministic means repeatable. That&amp;#x27;s it. Predictable…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — mentioned by spindump8930</title><link>https://news.ycombinator.com/item?id=44536027</link><guid isPermaLink="false">urn:hackerpapers:mention:2506.09501:44536027</guid><pubDate>Fri, 11 Jul 2025 19:29:57 GMT</pubDate><description>&lt;p&gt;The many sources of stochastic/non-deterministic behavior have been mentioned in other replies but I wanted to point out this paper: https://arxiv.org/abs/2506.09501 which analyzes the issues around GPU non determinism (once sampling and batching related effects are removed). One important take-away is that these issues are more likely in longer generations so reasoning models can suffer more.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — mentioned by mzl</title><link>https://news.ycombinator.com/item?id=44452415</link><guid isPermaLink="false">urn:hackerpapers:mention:2506.09501:44452415</guid><pubDate>Thu, 03 Jul 2025 07:03:40 GMT</pubDate><description>&lt;p&gt;LLMs can be run in a mostly deterministic mode (see https://docs.pytorch.org/docs/stable/notes/randomness.html for some info on running PyTorch programs). Varying the deployment type (chip model, number of chips, batch size, ...) can also change the output due to rounding errors. See https://arxiv.org/abs/2506.09501 for some details on that.&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — HN submission</title><link>https://news.ycombinator.com/item?id=44378499</link><guid isPermaLink="false">urn:hackerpapers:submission:2506.09501:44378499</guid><pubDate>Wed, 25 Jun 2025 15:34:21 GMT</pubDate><description>&lt;p&gt;Give Me FP32 or Give Me Death?&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3 points; 2 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item><item><title>Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference — mentioned by Der_Einzige</title><link>https://news.ycombinator.com/item?id=44347604</link><guid isPermaLink="false">urn:hackerpapers:mention:2506.09501:44347604</guid><pubDate>Sun, 22 Jun 2025 15:17:55 GMT</pubDate><description>&lt;p&gt;This belief (LLMs are deterministic except for samplers) is very wrong and will get you into hilariously large amounts of trouble for assuming it&amp;#x27;s true. Also greedy sampling considered harmful: https://arxiv.org/abs/2506.09501 From the abstract: &amp;quot;For instance, under bfloat16 precision with greedy decoding, a reasoning model like DeepSeek-R1-Distill-Qwen-7B can exhibit up to 9% variation in accuracy and 9,000 tokens difference in response length due to differences in GPU count, type, and evaluation batch size. We trace the root cause of this variability to the non-associative nature of…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/2506.09501/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.CL</category></item></channel></rss>
