Metraipolis › archive › dc_591041583e9f

Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures — arXiv:2609.25624

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.25624
License (as archived)
CC0-1.0
Archived
2026-10-08T14:37:37.965Z
SHA-256 of the archived text
4c789d7dfc93c03eb231cf5af4aa8a2897540800e6bbe74ff149f90301ddc8b7
Stable URL of this page
https://metraipolis.com/documento/dc_591041583e9f

How to cite

Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures — arXiv:2609.25624 — arXiv (en), https://arxiv.org/abs/2609.25624 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_591041583e9f (Metraipolis archive dc_591041583e9f, sha256 4c789d7dfc93c03eb231cf5af4aa8a2897540800e6bbe74ff149f90301ddc8b7)
BibTeX
@misc{dc591041583e9f,
  title = {Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures — arXiv:2609.25624},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.25624},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_591041583e9f; sha256 4c789d7dfc93c03eb231cf5af4aa8a2897540800e6bbe74ff149f90301ddc8b7},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.25624. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language model (LLM) outputs are expected to be reproducible under greedy decoding, yet in practice the same model, prompt, and software stack produce different outputs on different GPUs. The root cause is floating-point non-associativity combined with hardware-dependent kernel selection. Inference frameworks select different matrix-multiplication kernels on each architecture, with different parallel reduction orders and unspecified tensor-core arithmetic, and the resulting rounding differences can flip output tokens. Existing solutions have imperfect cross-architecture reproducibility and incur a significant performance penalty. We present a solution employing a set of fixed-configuration fused-upcast GEMM kernels that load 16-bit weights from memory, upcast them to FP32 in registers, and accumulate with IEEE-754 arithmetic in a reduction order that is a pure function of the problem shape and is therefore independent of the device, its SM count, or kernel scheduling. By fixing the floating-point reduction order as a function of problem shape alone, every GPU runs the same operation sequence, so cross-architecture reproducibility of the linear layers reduces to correct IEEE-754 arithmetic rather than to rounding differences staying below a tie-flip threshold. We confirm our solution's linear-layer outputs are bitwise identical across NVIDIA Ampere, Ada, and Hopper GPUs, while running $1.17$ to $3.1\times$ faster end-to-end than the state-of-the-art solution and cutting weight-memory traffic in half.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-23 in cs.AR).
Categorie arXiv: Hardware Architecture (cs.AR) ; Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.25624 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T13:47:52.520Z dalla pagina https://arxiv.org/catchup/cs.AR/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).