Operator-Aware Mixed-Precision Tolerance Calibration for Tensor Kernels
This paper proposes an operator-aware mixed-precision tolerance calibration method that mines accumulated cloud GPU run data to automatically determine optimal absolute tolerances for tensor kernel correctness tests, achieving much tighter tolerances than hand-picked ones and significantly improving bug-detection recall.
-->
[Submitted on 23 Jun 2026]
Title:Operator-Aware Mixed-Precision Tolerance Calibration for Tensor Kernels
View a PDF of the paper titled Operator-Aware Mixed-Precision Tolerance Calibration for Tensor Kernels, by Dipankar Sarkar
View PDF HTML (experimental)
Abstract:Most tensor-kernel correctness tests go through a fixed-shape all close-style check with hand-picked absolute and relative tolerances. The thresholds are copied across the corpus and rarely revisited. We mine the element-wise error distribution of every test case from accumulated cloud GPU runs across the 26-entry gpuemu corpus and 2 dtypes (8,076 result rows). We then ask one empirical question: what absolute tolerance would the kernel itself, observed under its correct implementation, justify?
The answer is much tighter than the current hand-picked atol. The largest tightening is attention_triton fp16 at $2{,}184\times$. Restricted to the seven LLM-style buggy variants for which the corpus ships a paired correct counterpart, calibrated per-(op, dtype) tolerances raise bug-detection recall from 73.2% (1,805 of 2,467) to 82.4% (2,034 of 2,467), an absolute gain of 9.3 percentage points (+229 new detections). The control false-positive count rises from 0 to 20 out of 1,882 correct-control cases (+1.1 percentage points).
Comments: 8 pages, 1 figure, LNCS format. Companion paper: arXiv:2606.20128 (P1). Additional companions (P3, P4) to follow on arXiv this week; IDs will be added in a v2 replace
Subjects:
Machine Learning (cs.LG); Mathematical Software (cs.MS)
ACM classes: G.4
Cite as: arXiv:2607.16228 [cs.LG]
(or arXiv:2607.16228v1 [cs.LG] for this version)
https://doi.org/10.48550/arXiv.2607.16228
arXiv-issued DOI via DataCite
Submission history
From: Dipankar Sarkar [view email] [v1] Tue, 23 Jun 2026 20:50:36 UTC (23 KB)
Full-text links:
Access Paper:
View a PDF of the paper titled Operator-Aware Mixed-Precision Tolerance Calibration for Tensor Kernels, by Dipankar Sarkar
View PDF
HTML (experimental)
TeX Source
view license
Current browse context:
cs.LG
new | recent | 2026-07
Change to browse by:
cs cs.MS
References & Citations
NASA ADS
Google Scholar
Semantic Scholar
Loading...
Data provided by:
Bibliographic Tools
Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer (What is the Explorer?)
Connected Papers Toggle
Connected Papers (What is Connected Papers?)
Litmaps Toggle
Litmaps (What is Litmaps?)
scite.ai Toggle
scite Smart Citations (What are Smart Citations?)
Code, Data, Media
Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv (What is alphaXiv?)
Links to Code Toggle
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub Toggle
DagsHub (What is DagsHub?)
GotitPub Toggle
Gotit.pub (What is GotitPub?)
Huggingface Toggle
Hugging Face (What is Huggingface?)
ScienceCast Toggle
ScienceCast (What is ScienceCast?)
Demos
Demos
Replicate Toggle
Replicate (What is Replicate?)
Spaces Toggle
Hugging Face Spaces (What is Spaces?)
Spaces Toggle
TXYZ.AI (What is TXYZ.AI?)
Related Papers
Recommenders and Search Tools
Link to Influence Flower
Influence Flower (What are Influence Flowers?)
Core recommender toggle
CORE Recommender (What is CORE?)
IArxiv recommender toggle
IArxiv Recommender (What is IArxiv?)
Author
Venue
Institution
Topic
About arXivLabs
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.
Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)