Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Silicon

2026

Read Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Silicon (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2604-22032.txt.

Description

Veit presents Kernel Contracts, a rulebook for ML kernel math across varied chips. A matmul on AMD may give a gradient unlike the same matmul on NVIDIA. A contract has eight parts: identifier, scope, precondition, postcondition, tolerance, reference oracle, measurement protocol, and violation signature. The language states twelve contract classes on math, order, build-time, and edge-case faults.

Catalog record

YEAR2026
COLLECTIONPAPERS
FORMATTXT
FILE SIZE85772
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2604.22032

Browse the full library · About the Tower of Babel