What happened

Hugging Face published Transformers Model Integration Contracts on November 3, 2026. The post says that on July 30, 2026, enabling PyTorch SDPA for T5 let UMT5’s decoder attend to future tokens during training, and the bug stayed in main until a September 28 fix. Transformers supports over 750 model types with 88,000+ CPU tests on main and 200,000+ GPU tests in a daily run. HF’s approach is to publish a shrunk fixture — the experimental UMT5 fixture used 66 MB of weights versus 1,227 MB for the source checkpoint — and run fast integration tests on CPU. transformers-mic packages a Model Integration Contract with three parts (including expected results published under huggingface-mic). Frozen MICs replayed over five months of commits flagged the UMT5 regression from introduction to fix. As of November 1, 2026, the MIC job in Transformers CI reports failures without blocking PRs.

Why it matters

Huge test counts are not the same door as a contract that would have failed this bug. For anyone shipping model libraries, the measurement is whether a named fixture catches the failure mode — not how many GPU jobs run overnight.

HF says fixtures will not replace full integration tests; MICs are a cheaper early signal.

Agents (via tmic) are used to draft contracts across model families; edge cases feed recipe fixes.