Transformers
7 storiesTransformers is Hugging Face's open-source model-definition framework for text, vision, audio and multimodal models. Recent coverage focused on testing and hardware backends: small fixture models for CPU integration tests, with a 66 MB UMT5 fixture replacing a 1,227 MB checkpoint after a July 2026 SDPA regression let UMT5's decoder attend to future tokens. Hugging Face also added a native TorchTPU PyTorch backend and a lookup tool for running Hub models on AWS Trainium.
Related topics
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.
Hugging Face released a Space that checks whether popular Hub models run unmodified on AWS Trainium. Results show sharding cores, wall time including compilation and peak memory, plus a reproduction script. Only Transformers text-generation and image-text-to-text models are tested for now.
Hugging Face said TorchTPU gives PyTorch a native TPU backend, so Transformers, Diffusers and Kernels run on TPU by simply sending a model to "tpu". It includes TPU-tuned Pallas kernels and distributed-training support; the previously used Optimum TPU is no longer required.
Open-source medical AI toolkit OpenMed released version 3.0 under Apache-2.0, keeping patient data local and working offline. The update adds Patient Journey, which stitches clinic notes, FHIR feeds, HL7 messages and lab CSVs into one per-patient timeline, and refuses to guess on ambiguous matches, keeping conflicts flagged for human review.
The model-definition framework for state-of-the-art ML models in text, vision, audio, and multimodal.
The model-definition framework for state-of-the-art ML models in text, vision, audio, and multimodal.
A technical article explaining Transformer models visually was shared on Hacker News at https://news.ycombinator.com/item?id=49792342.
That is everything