Transformers adds small model fixtures to catch regressions
Hugging Face describes how Transformers runs integration tests on CPU with small fixture models—the UMT5 fixture uses 66 MB versus 1,227 MB for the source checkpoint. The approach follows a real incident: after SDPA was enabled in July 2026, UMT5's decoder could attend to future tokens, and the bug stayed in main for nearly two months.