Hugging Face describes Model Integration Contracts as a way to test Transformers models without a GPU farm. Each contract has a fixture (a shrunk model with the same kinds of layers as the real checkpoint), a runnable Markdown usage path and human-reviewed baselines. It holds if running the usage path on the fixture still gives the baselines.
The post says Transformers has over 88,000 CPU tests on main and over 200,000 GPU tests in a daily run. Enabling SDPA for T5 on 30 July 2026 let UMT5’s decoder attend to future tokens, and the bug stayed in main for almost two months until a fix on 28 September. A UMT5 contract with a 66 MB fixture (against 1,227 MB for the checkpoint) flagged it. On injected faults, random-weight Whisper fixtures caught 18 of 24 and overfit fixtures caught all 24.
It is experimental: as of 1 November the MIC job reports failures without blocking pull requests, and false-alarm and review costs are open questions.
Source: Hugging Face blog.