PulseAugur
实时 22:51:37

New specification language aims to formalize ML kernel contracts across silicon

Researchers have introduced a new specification language called Kernel Contracts, designed to formally define and verify the correctness of machine learning kernels across different hardware platforms. This language addresses the issue of subtle discrepancies in computations between various silicon vendors, which can lead to errors that are difficult to detect. The framework includes eight components for defining contracts, such as preconditions, postconditions, and tolerance levels, and has been applied to analyze documented incidents of precision errors and incorrect behavior on specific hardware. AI

影响 Provides a formal method to ensure consistency of ML computations across diverse hardware, potentially reducing debugging time and improving model reliability.

排序理由 Academic paper introducing a new specification language for ML kernel correctness.

在 arXiv cs.LG 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

New specification language aims to formalize ML kernel contracts across silicon

报道来源 [1]

  1. arXiv cs.LG TIER_1 English(EN) · Cooper Veit ·

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

    arXiv:2604.22032v1 Announce Type: new Abstract: Every ML kernel ships with an implicit contract about what it computes. People rarely write the contract down. When two kernels disagree -- when a matmul on AMD produces a different gradient than the same matmul on NVIDIA, when a fu…