logoalt Hacker News

shaknayesterday at 2:45 PM3 repliesview on HN

Floating point matrix calculations are non-deterministic. You need to invent new hardware, that doesn't use floating point math, first. [0]

[0] https://arxiv.org/html/2506.09501


Replies

mrobyesterday at 3:29 PM

>Floating point matrix calculations are non-deterministic.

This is not inherent to floating-point math. That actual (true) claim in the article is that different hardware and different hardware configurations produce different results. But deterministic inference is possible, e.g. llama.cpp on CPU is deterministic by default.

trollbridgeyesterday at 7:15 PM

Floating point math is entirely deterministic. For a given set of inputs, the same outputs come out, every time.

feelameeyesterday at 3:42 PM

using which floating point standard? IEEE754 is totally deterministic