Skip to content

Bump transformers from 5.5.0 to 5.10.1 in /python - #14358

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/transformers-5.10.1
Open

Bump transformers from 5.5.0 to 5.10.1 in /python#14358
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python/transformers-5.10.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 1, 2026

Copy link
Copy Markdown
Contributor

Bumps transformers from 5.5.0 to 5.10.1.

Release notes

Sourced from transformers's releases.

Release v5.10.1

v5.10.0 was yanked as we publish on a corrupted branch. Sorry everyone, this happens when we rush a release!!!

New Model additions

Gemma4 unified+ Gemma4 MTP

Gemma 4 12B Unified is an encoder-free multimodal model with pretrained and instruction-tuned variants. Unlike standard Gemma 4, which uses dedicated encoder towers, Gemma 4 12B Unified projects raw inputs directly into the language model's embedding space through lightweight linear pipelines. This results in a simpler architecture while maintaining strong multimodal performance.

Key differences from standard Gemma 4:

  • No Vision Tower: Raw pixel patches are projected directly into LM space via a Dense + LayerNorm pipeline with factorized 2D positional embeddings, replacing the vision encoder.
  • No Audio Tower: Raw 16 kHz waveform samples are chunked into fixed-length frames and projected through a simple RMSNorm → Linear pipeline, replacing the mel spectrogram + Conformer encoder.
  • Shared Multimodal Pipeline: Both vision and audio use the same Gemma4UnifiedMultimodalEmbedder (RMSNorm → Linear) for the final projection to text hidden space.

You can find the original Gemma 4 12B Unified checkpoints under the Gemma 4 release.

Sapiens2

Sapiens2 is a family of high-resolution vision transformers pretrained on ~1 billion curated human images, designed for human-centric computer vision tasks including pose estimation, body-part segmentation, surface normal estimation, and pointmap estimation. The models scale from 0.4B to 5B parameters and train at native 1K resolution, with hierarchical 4K variants for extended spatial reasoning. Sapiens2 achieves substantial improvements over its predecessor with +4 mAP in pose estimation, +24.3 mIoU in body-part segmentation, and 45.6% error reduction in normal estimation.

Links: Documentation | Paper

DeepSeek-OCR-2

DeepSeek-OCR-2 is an OCR-specialized vision-language model built on a distinctive architecture that combines a SAM ViT-B vision encoder with a Qwen2 hybrid attention encoder, connected through an MLP projector to a DeepSeek-V2 Mixture-of-Experts (MoE) language model. The model features a hybrid attention mechanism that applies bidirectional attention over image tokens and causal attention over query tokens, enabling efficient and accurate document understanding. It supports both plain OCR tasks and grounding capabilities with coordinate-aware output for document conversion to markdown format.

Links: Documentation

Mellum

Mellum is a code-focused Mixture-of-Experts language model developed by JetBrains. It is derived from the Qwen3-MoE architecture with per-layer-type RoPE and interleaved sliding window attention. The model has 12B total parameters with 2.5B active parameters per token, using 64 routed experts with 8 activated per token across 28 layers.

Links: Documentation

Breaking changes

The Gemma4 vision pooler now casts inputs to float32 before scaling to prevent float16 overflow (inf saturation) with large checkpoints, which may cause minor numerical differences in outputs for users running Gemma-4 vision models in float16.

Audio Language Models (ALMs) now have a dedicated base model class without a language modeling head, aligning them with the design of Vision Language Models (VLMs); users relying on the previous model class structure should update their code to use the new base model class where appropriate.

... (truncated)

Commits

Copilot AI lite review requested due to automatic review settings September 1, 2026 22:19
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code labels Sep 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner September 1, 2026 22:19
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code labels Sep 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MAF Automated Review — Iteration 1

Result: Findings reported
Scope: full PR (1 commit(s)): ca8ef4673379
Model: claude-opus-4.8

Overview

This Dependabot change touches only python/uv.lock: it advances transformers across the 4→5 major boundary to 5.10.1 (piggy-backing a huggingface-hub 0.x→1.x bump) and simplifies redundant sys_platform environment markers. The marker churn was verified to be a semantic no-op because the resolution universe is pinned to exactly {darwin, linux, win32}, so dropping the three-way disjunction changes no install set. The one residual risk is real and confirmed by reproduction: transformers 5.x deleted the text2text-generation (the connector's default) and summarization pipeline tasks, so HuggingFaceTextCompletion now fails at construction for two of its three advertised tasks, and the mocked unit tests hide it.

Reviewed the supplied pull-request change set across correctness, security/reliability, architecture, and failure behavior.
1 verified finding remained after source verification (1 high) across 1 file. Details are attached to the affected lines below.

Affected areas: python/uv.lock

Comment thread python/uv.lock
@@ -7391,29 +7381,28 @@ wheels = [

[[package]]
name = "transformers"
version = "4.57.6"
version = "5.10.1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bumping transformers to 5.10.1 crosses the 4→5 major boundary, which removed the text2text-generation and summarization pipeline tasks — in 5.10.1, transformers.pipelines.SUPPORTED_TASKS contains only text-generation of the three (verified against the pinned version). HuggingFaceTextCompletion defaults to task="text2text-generation" and calls pipeline(task=task, ...) at python/semantic_kernel/connectors/ai/hugging_face/services/hf_text_completion.py:72, so constructing the service with the default task — or with task="summarization" — now raises KeyError: "Unknown task ..." on the first call. Two of the connector's three advertised tasks are broken at construction. The existing unit tests patch pipeline, so CI stays green while the real connector fails. Please either cap the dependency at transformers[torch] >=4.28,<5.0 in python/pyproject.toml (keeping the lock on 4.57.6), or update the connector to map the removed seq2seq tasks onto a 5.x-supported task and add a non-mocked construction test before adopting 5.x.

Bumps [transformers](https://github.com/huggingface/transformers) from 5.5.0 to 5.10.1.
- [Release notes](https://github.com/huggingface/transformers/releases)
- [Commits](huggingface/transformers@v5.5.0...v5.10.1)

---
updated-dependencies:
- dependency-name: transformers
  dependency-version: 5.10.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump transformers from 4.57.6 to 5.10.1 in /python Bump transformers from 5.5.0 to 5.10.1 in /python Sep 3, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/python/transformers-5.10.1 branch from ca8ef46 to ba2b1c7 Compare September 3, 2026 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. Used by Dependabot. python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant