# Hugging Face Transformers v5.8.0 — Release & Upgrade Intelligence
- **Product:** Hugging Face Transformers (https://huggingface.co)
- **Version:** v5.8.0
- **Released:** May 05, 2026
- **Impact Score:** 7/10
- **Breaking Changes:** Source flagged
- **Canonical Analysis:** https://changelogs.us/transformers/updates/v5.8.0/

## Executive Summary (TL;DR)
Hugging Face Transformers v5.8.0. Source highlight: DeepSeek-V4 is the next-generation MoE (Mixture of Experts) language model from DeepSeek that introduces several architectural innovations over DeepSeek-V3. The architecture replaces Multi-head Latent Attention (MLA) with a hybrid local + long-range attention design, swaps residual connections for M

## Breaking Changes & Deprecations
- Breaking changes Apex integration has been removed from the library (including RMSNorm usage in T5 and related models), so users relying on Apex for mixed precision or fused ops should migrate to PyTorch's native equivalents instead.

## New Features
- Add DeepSeek V4 (#45643) by @ArthurZucker in #45643
- Add Granite 4.1 Vision (granite4_vision) (#45597) by @artem-spector in #45597
- Add EXAONE 4.5 implementations (#45471) by @nuxlear in #45471
- [Model] Add PP-FormulaNet Model Support (#45626) by @zhang-prog in #45626
- Add Granite 4.1 Vision (granite4_vision) (#45597)
- Add EXAONE 4.5 implementations (#45471)

## Bug Fixes
- deepseek r1 distilled tokenizer fix for qwen2 mapping (#45741) by @itazap in [#45741]
- PythonBackend slow tokenizer convert_ids_to_tokens fix (#45728) by @i3hz in [#45728]
- fix: correct spelling in continuous_api docstring (#45749) by @Dhruv908615 in [#45749]
- Fix link to modular transformers documentation (#45746) by @SangbumChoi in [#45746]
- Gemma4: fix failed test cases (#45568) by @kaixuanliu in [#45568]
- Fix CI: Allow more artifacts to be download in CI (#45785) by @ydshieh in [#45785]

## Upgrade Command
```bash
python -m pip install 'transformers==5.8.0'
```
