renovate-bot opened a new pull request, #8313:
URL: https://github.com/apache/texera/pull/8313

   > ℹ️ **Note**
   > 
   > This PR body was truncated due to platform limits.
   
   This PR contains the following updates:
   
   | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | 
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
   |---|---|---|---|
   | [transformers](https://redirect.github.com/huggingface/transformers) | 
`==5.5.0` → `==5.10.1` | 
![age](https://developer.mend.io/api/mc/badges/age/pypi/transformers/5.10.1?slim=true)
 | 
![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/transformers/5.5.0/5.10.1?slim=true)
 |
   
   ---
   
   ### Transformers save_pretrained path traversal allows arbitrary file writes 
through chat template names
   [CVE-2026-9856](https://nvd.nist.gov/vuln/detail/CVE-2026-9856) / 
[GHSA-xrqw-3rrv-vx5w](https://redirect.github.com/advisories/GHSA-xrqw-3rrv-vx5w)
   
   <details>
   <summary>More information</summary>
   
   #### Details
   A vulnerability in huggingface/transformers versions < 5.10.0 allows an 
attacker to perform arbitrary file writes via path traversal. The issue resides 
in the `save_pretrained()` methods of `PreTrainedTokenizerBase` and 
`ProcessorMixin`, where keys from the `chat_template` dictionary are used 
directly as filenames without proper validation. An attacker can exploit this 
by publishing a malicious Hugging Face Hub repository with a crafted 
`tokenizer_config.json` file. When a victim downloads and saves the tokenizer 
or processor, the attacker-controlled keys can escape the intended save 
directory, enabling arbitrary file writes with attacker-controlled content. 
This vulnerability affects multiple processors inheriting from 
`ProcessorMixin`, including Idefics, Florence, Gemma, Phi, and Qwen-VL.
   
   #### Severity
   - CVSS Score: 7.1 / 10 (High)
   - Vector String: `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:L`
   
   #### References
   - 
[https://nvd.nist.gov/vuln/detail/CVE-2026-9856](https://nvd.nist.gov/vuln/detail/CVE-2026-9856)
   - 
[https://github.com/huggingface/transformers/commit/eaaaf8494dd5386634ae37d1d122212fdc315be5](https://redirect.github.com/huggingface/transformers/commit/eaaaf8494dd5386634ae37d1d122212fdc315be5)
   - 
[https://huntr.com/bounties/362824d5-fe18-40e8-a6cf-62277f97a170](https://huntr.com/bounties/362824d5-fe18-40e8-a6cf-62277f97a170)
   - 
[https://github.com/huggingface/transformers/pull/46191](https://redirect.github.com/huggingface/transformers/pull/46191)
   - 
[https://github.com/advisories/GHSA-xrqw-3rrv-vx5w](https://redirect.github.com/advisories/GHSA-xrqw-3rrv-vx5w)
   
   This data is provided by the [GitHub Advisory 
Database](https://redirect.github.com/advisories/GHSA-xrqw-3rrv-vx5w) ([CC-BY 
4.0](https://redirect.github.com/github/advisory-database/blob/main/LICENSE.md)).
   </details>
   
   ---
   
   ### Release Notes
   
   <details>
   <summary>huggingface/transformers (transformers)</summary>
   
   ### 
[`v5.10.1`](https://redirect.github.com/huggingface/transformers/releases/tag/v5.10.1)
   
   [Compare 
Source](https://redirect.github.com/huggingface/transformers/compare/v5.10.0...v5.10.1)
   
   ### 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
   
   <img width="2000" height="400" alt="image" 
src="https://github.com/user-attachments/assets/5e3ee940-f78d-4343-ac7a-889930800aa6";
 />
   
   Gemma 4 12B Unified is an **encoder-free** multimodal model with pretrained 
and instruction-tuned variants. Unlike [standard Gemma 4](./gemma4), 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](https://huggingface.co/collections/google/gemma-4) release.
   
   - who needs encoders? 
([#&#8203;46385](https://redirect.github.com/huggingface/transformers/issues/46385))
 by [@&#8203;douglas-reid](https://redirect.github.com/douglas-reid) 
[@&#8203;sgerrard](https://redirect.github.com/sgerrard) 
[@&#8203;vasqu](https://redirect.github.com/vasqu) 
[@&#8203;molbap](https://redirect.github.com/molbap)
   
   ##### 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](https://huggingface.co/docs/transformers/main/en/model_doc/sapiens2)
 | [Paper](https://huggingface.co/papers/2604.21681)
   
   - Add Sapiens2 Model 
([#&#8203;45919](https://redirect.github.com/huggingface/transformers/issues/45919))
 by [@&#8203;guarin](https://redirect.github.com/guarin) in 
[#&#8203;45919](https://redirect.github.com/huggingface/transformers/pull/45919)
   
   ##### 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](https://huggingface.co/docs/transformers/main/en/model_doc/deepseek_ocr2)
   
   - Add Deepseek-OCR-2 model 
([#&#8203;45075](https://redirect.github.com/huggingface/transformers/issues/45075))
 by [@&#8203;thisisiron](https://redirect.github.com/thisisiron) in 
[#&#8203;45075](https://redirect.github.com/huggingface/transformers/pull/45075)
   
   ##### 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](https://huggingface.co/docs/transformers/main/en/model_doc/mellum)
   
   - feat: Add support for JetBrains' `Mellum` v2 code generation model 
([#&#8203;46112](https://redirect.github.com/huggingface/transformers/issues/46112))
 by [@&#8203;shadeMe](https://redirect.github.com/shadeMe) in 
[#&#8203;46112](https://redirect.github.com/huggingface/transformers/pull/46112)
   
   #### 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.
   
   - 🚨 Fix float16 overflow in Gemma4 vision pooler 
([#&#8203;46277](https://redirect.github.com/huggingface/transformers/issues/46277))
 by [@&#8203;Bluear7878](https://redirect.github.com/Bluear7878)
   
   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.
   
   - 🚨 \[ALM] Add base model without head 
([#&#8203;45534](https://redirect.github.com/huggingface/transformers/issues/45534))
 by [@&#8203;eustlb](https://redirect.github.com/eustlb)
   
   #### Parallelization
   
   This release includes numerous bug fixes for model parallelism across 
multiple models (Gemma4, AltCLIP, ChineseClip, Blip-2, Whisper, Ovis2, Moshi) 
and parallel execution strategies, including fixes for tensor parallelism (TP), 
expert parallelism (EP), beam search under model parallel settings, and loss 
over-counting under TP/EP configurations. The continuous batching manager was 
also reworked for clearer control flow and improved TP race condition handling, 
and FSDP initialization via `from_pretrained` was introduced.
   
   - Fix dsv4 dequant + tp/ep 
([#&#8203;46378](https://redirect.github.com/huggingface/transformers/issues/46378))
 by [@&#8203;IlyasMoutawwakil](https://redirect.github.com/IlyasMoutawwakil) in 
\[[#&#8203;46378](https://redirect.github.com/huggingface/transformers/issues/46378)]
   - \[CB] \[Major] Rework manager to have clearer control flow + handle TP 
([#&#8203;46070](https://redirect.github.com/huggingface/transformers/issues/46070))
 by [@&#8203;remi-or](https://redirect.github.com/remi-or) in 
\[[#&#8203;46070](https://redirect.github.com/huggingface/transformers/issues/46070)]
   - fix series of bugs for model parallel beam search 
([#&#8203;46280](https://redirect.github.com/huggingface/transformers/issues/46280))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46280](https://redirect.github.com/huggingface/transformers/issues/46280)]
   - Fix model parallel issue for altclip model and ChineseClip model 
([#&#8203;45487](https://redirect.github.com/huggingface/transformers/issues/45487))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;45487](https://redirect.github.com/huggingface/transformers/issues/45487)]
   - Model parallel fix 
([#&#8203;46230](https://redirect.github.com/huggingface/transformers/issues/46230))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46230](https://redirect.github.com/huggingface/transformers/issues/46230)]
   - \[`Revert`] FSDP+Dtensor refactor related changes 
([#&#8203;46246](https://redirect.github.com/huggingface/transformers/issues/46246))
 by [@&#8203;vasqu](https://redirect.github.com/vasqu) in 
\[[#&#8203;46246](https://redirect.github.com/huggingface/transformers/issues/46246)]
   - Fix model parallel bugs for Gemma4 
([#&#8203;45817](https://redirect.github.com/huggingface/transformers/issues/45817))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;45817](https://redirect.github.com/huggingface/transformers/issues/45817)]
   - init FSDP through from\_pretrained 
([#&#8203;46102](https://redirect.github.com/huggingface/transformers/issues/46102))
 by [@&#8203;3outeille](https://redirect.github.com/3outeille) in 
\[[#&#8203;46102](https://redirect.github.com/huggingface/transformers/issues/46102)]
   - fix model parallel device mismatch issue in `create_bidirectional_mask` 
([#&#8203;46221](https://redirect.github.com/huggingface/transformers/issues/46221))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46221](https://redirect.github.com/huggingface/transformers/issues/46221)]
   - Trainer.compute\_loss: fix loss over-counting under TP and EP-as-TP 
([#&#8203;45994](https://redirect.github.com/huggingface/transformers/issues/45994))
 by [@&#8203;AmineDiro](https://redirect.github.com/AmineDiro) in 
\[[#&#8203;45994](https://redirect.github.com/huggingface/transformers/issues/45994)]
   - Fix caching allocator warmup byte estimation for EP model loading 
([#&#8203;46149](https://redirect.github.com/huggingface/transformers/issues/46149))
 by [@&#8203;sywangyi](https://redirect.github.com/sywangyi) in 
\[[#&#8203;46149](https://redirect.github.com/huggingface/transformers/issues/46149)]
   
   #### Cache
   
   Fixed a regression in encoder-decoder cache initialization where the decoder 
config was incorrectly applied to the cross-attention cache, and resolved a 
`RuntimeError` caused by buffer size limits when warming up the cache on MPS 
devices. Additional test infrastructure improvements were made to support 
read-only cache environments used in CI.
   
   - fix: cache warmup `RuntimeError` on mps 
([#&#8203;46239](https://redirect.github.com/huggingface/transformers/issues/46239))
 by [@&#8203;McPatate](https://redirect.github.com/McPatate) in 
\[[#&#8203;46239](https://redirect.github.com/huggingface/transformers/issues/46239)]
   - Make more tests work with read-only cache 
([#&#8203;46299](https://redirect.github.com/huggingface/transformers/issues/46299))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46299](https://redirect.github.com/huggingface/transformers/issues/46299)]
   - Update a test to avoid writing to the default xet cache 
([#&#8203;46250](https://redirect.github.com/huggingface/transformers/issues/46250))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46250](https://redirect.github.com/huggingface/transformers/issues/46250)]
   - Fix a regression in encoder-decoder generation cache initialization 
([#&#8203;46111](https://redirect.github.com/huggingface/transformers/issues/46111))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46111](https://redirect.github.com/huggingface/transformers/issues/46111)]
   
   #### Quantization
   
   Added support for DeepGEMM BF16, mixed FP8/FP4, and MegaMoE quantization via 
a grouped linear refactor, while fixing two bugs: an FP8 MoE reverse substring 
issue affecting DSv4 initialization, and a BitsAndBytes 4-bit/8-bit 
quantization bug that silently dropped chunked tensors from one-to-many weight 
converters.
   
   - DeepGEMM BF16 + mixed FP8/FP4 + MegaMoE + refactor 
([#&#8203;45634](https://redirect.github.com/huggingface/transformers/issues/45634))
 by [@&#8203;IlyasMoutawwakil](https://redirect.github.com/IlyasMoutawwakil) in 
\[[#&#8203;45634](https://redirect.github.com/huggingface/transformers/issues/45634)]
   - Fix fp8 moe reverse substring 
([#&#8203;46265](https://redirect.github.com/huggingface/transformers/issues/46265))
 by [@&#8203;ArthurZucker](https://redirect.github.com/ArthurZucker) in 
\[[#&#8203;46265](https://redirect.github.com/huggingface/transformers/issues/46265)]
   - Fix bnb 4bit/8bit quantization drop chunked tensors bug 
([#&#8203;46210](https://redirect.github.com/huggingface/transformers/issues/46210))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46210](https://redirect.github.com/huggingface/transformers/issues/46210)]
   
   #### Bugfixes and improvements
   
   - Fix wrong changes produced by style/repo. check bot 
([#&#8203;46371](https://redirect.github.com/huggingface/transformers/issues/46371))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46371](https://redirect.github.com/huggingface/transformers/issues/46371)]
   - Fix path traversal when saving Bark voice preset embeddings 
([#&#8203;46237](https://redirect.github.com/huggingface/transformers/issues/46237))
 by [@&#8203;LinZiyuu](https://redirect.github.com/LinZiyuu) in 
\[[#&#8203;46237](https://redirect.github.com/huggingface/transformers/issues/46237)]
   - Pass library\_name/version to Hub calls via a shared HfApi 
([#&#8203;46318](https://redirect.github.com/huggingface/transformers/issues/46318))
 by [@&#8203;Wauplin](https://redirect.github.com/Wauplin) in 
\[[#&#8203;46318](https://redirect.github.com/huggingface/transformers/issues/46318)]
   - docs: update ACL Anthology URL in CITATION.cff 
([#&#8203;46352](https://redirect.github.com/huggingface/transformers/issues/46352))
 by [@&#8203;irfaan101](https://redirect.github.com/irfaan101) in 
\[[#&#8203;46352](https://redirect.github.com/huggingface/transformers/issues/46352)]
   - \[docs] contributing 
([#&#8203;45465](https://redirect.github.com/huggingface/transformers/issues/45465))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;45465](https://redirect.github.com/huggingface/transformers/issues/45465)]
   - \[docs] Romanian translation of `contributing.md`, 
`modular_transformers.md`, `multimodal_processing.md`, 
`add_vision_processing_components.md`, `add_audio_processing_components.md`, 
`modeling_rules.md`, `model_output_tracing.md`, `auto_docstring.md`, 
`testing.md`, `pr_checks.md` and `add_new_model.md` . 
([#&#8203;46345](https://redirect.github.com/huggingface/transformers/issues/46345))
 by [@&#8203;filipinescu](https://redirect.github.com/filipinescu) in 
\[[#&#8203;46345](https://redirect.github.com/huggingface/transformers/issues/46345)]
   - \[docs] xpu continuous batching 
([#&#8203;46334](https://redirect.github.com/huggingface/transformers/issues/46334))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;46334](https://redirect.github.com/huggingface/transformers/issues/46334)]
   - Fix incorrect attribute mapping relationships in GLM MoE DSA Config 
([#&#8203;46338](https://redirect.github.com/huggingface/transformers/issues/46338))
 by [@&#8203;Dovis01](https://redirect.github.com/Dovis01) in 
\[[#&#8203;46338](https://redirect.github.com/huggingface/transformers/issues/46338)]
   - Fix grammar typos in Whisper documentation 
([#&#8203;46336](https://redirect.github.com/huggingface/transformers/issues/46336))
 by [@&#8203;calliec-1223](https://redirect.github.com/calliec-1223) in 
\[[#&#8203;46336](https://redirect.github.com/huggingface/transformers/issues/46336)]
   - \[docs] update num\_items\_in\_batch for causal LMs 
([#&#8203;46335](https://redirect.github.com/huggingface/transformers/issues/46335))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;46335](https://redirect.github.com/huggingface/transformers/issues/46335)]
   - Update compressed tensors minimum version 
([#&#8203;46342](https://redirect.github.com/huggingface/transformers/issues/46342))
 by [@&#8203;SunMarc](https://redirect.github.com/SunMarc) in 
\[[#&#8203;46342](https://redirect.github.com/huggingface/transformers/issues/46342)]
   - Fix \_is\_package\_available reporting available without a version 
([#&#8203;46125](https://redirect.github.com/huggingface/transformers/issues/46125))
 by [@&#8203;blipbyte](https://redirect.github.com/blipbyte) in 
\[[#&#8203;46125](https://redirect.github.com/huggingface/transformers/issues/46125)]
   - remove sec 
([#&#8203;46346](https://redirect.github.com/huggingface/transformers/issues/46346))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46346](https://redirect.github.com/huggingface/transformers/issues/46346)]
   - fix: include transitive relative imports when loading from local directory 
([#&#8203;46022](https://redirect.github.com/huggingface/transformers/issues/46022))
 by [@&#8203;trducng](https://redirect.github.com/trducng) in 
\[[#&#8203;46022](https://redirect.github.com/huggingface/transformers/issues/46022)]
   - perf(feature\_extraction\_sequence): skip re-splitting already-batched 
numpy arrays in pad() 
([#&#8203;46329](https://redirect.github.com/huggingface/transformers/issues/46329))
 by [@&#8203;Anai-Guo](https://redirect.github.com/Anai-Guo) in 
\[[#&#8203;46329](https://redirect.github.com/huggingface/transformers/issues/46329)]
   - \[Zamba] Support attn\_implementation dispatch 
([#&#8203;46317](https://redirect.github.com/huggingface/transformers/issues/46317))
 by [@&#8203;YangKai0616](https://redirect.github.com/YangKai0616) in 
\[[#&#8203;46317](https://redirect.github.com/huggingface/transformers/issues/46317)]
   - Fix TestAppRoutes test failures caused by deprecated 
asyncio.get\_event\_loop() on Python 3.10+ 
([#&#8203;46340](https://redirect.github.com/huggingface/transformers/issues/46340))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46340](https://redirect.github.com/huggingface/transformers/issues/46340)]
   - \[Qwen3VL] Fix video token placeholder: use self.video\_token instead of 
hardcoded "<|placeholder|>" 
([#&#8203;46296](https://redirect.github.com/huggingface/transformers/issues/46296))
 by [@&#8203;kpal002](https://redirect.github.com/kpal002) in 
\[[#&#8203;46296](https://redirect.github.com/huggingface/transformers/issues/46296)]
   - chore(linter): fixes for rule 16 
([#&#8203;46023](https://redirect.github.com/huggingface/transformers/issues/46023))
 by [@&#8203;tarekziade](https://redirect.github.com/tarekziade) in 
\[[#&#8203;46023](https://redirect.github.com/huggingface/transformers/issues/46023)]
   - \[docs] Romanian translation of  `weightconverter.md`,  `models.md`,  
`custom_models.md`,  `monkey_patching.md`,  `fusion_mapping.md`, 
`how_to_hack_models.md`, `model_sharing.md` and `serialization.md`. 
([#&#8203;46309](https://redirect.github.com/huggingface/transformers/issues/46309))
 by [@&#8203;filipinescu](https://redirect.github.com/filipinescu) in 
\[[#&#8203;46309](https://redirect.github.com/huggingface/transformers/issues/46309)]
   - Normalize CUDA OOM errors when comparing commit failures in 
check\_bad\_commit 
([#&#8203;46322](https://redirect.github.com/huggingface/transformers/issues/46322))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46322](https://redirect.github.com/huggingface/transformers/issues/46322)]
   - Fix unhandled exception noise from background safetensors conversion 
thread 
([#&#8203;45752](https://redirect.github.com/huggingface/transformers/issues/45752))
 by [@&#8203;dhruv7477](https://redirect.github.com/dhruv7477) in 
\[[#&#8203;45752](https://redirect.github.com/huggingface/transformers/issues/45752)]
   - Add Expectations for pipeline token classification tests 
([#&#8203;46151](https://redirect.github.com/huggingface/transformers/issues/46151))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46151](https://redirect.github.com/huggingface/transformers/issues/46151)]
   - \[docs] fix auto-add release dates 
([#&#8203;46283](https://redirect.github.com/huggingface/transformers/issues/46283))
 by [@&#8203;zucchini-nlp](https://redirect.github.com/zucchini-nlp) in 
\[[#&#8203;46283](https://redirect.github.com/huggingface/transformers/issues/46283)]
   - Separate pip command syntax for notebook and CLI tabs in Quickstart 
([#&#8203;46243](https://redirect.github.com/huggingface/transformers/issues/46243))
 by [@&#8203;pvelayudhan](https://redirect.github.com/pvelayudhan) in 
\[[#&#8203;46243](https://redirect.github.com/huggingface/transformers/issues/46243)]
   - Romanian translation of README.md, index.md, installation.md, \_config.py 
and quicktour.md. 
([#&#8203;46166](https://redirect.github.com/huggingface/transformers/issues/46166))
 by [@&#8203;filipinescu](https://redirect.github.com/filipinescu) in 
\[[#&#8203;46166](https://redirect.github.com/huggingface/transformers/issues/46166)]
   - Fall back to flat kwarg when modality dict is passed without it 
([#&#8203;46195](https://redirect.github.com/huggingface/transformers/issues/46195))
 by [@&#8203;Ace3Z](https://redirect.github.com/Ace3Z) in 
\[[#&#8203;46195](https://redirect.github.com/huggingface/transformers/issues/46195)]
   - Fix load\_adapter OOM caused by full-model warmup sizing 
([#&#8203;46145](https://redirect.github.com/huggingface/transformers/issues/46145))
 by [@&#8203;Yooniel](https://redirect.github.com/Yooniel) in 
\[[#&#8203;46145](https://redirect.github.com/huggingface/transformers/issues/46145)]
   - Replace assert with raise ImportError for optuna/ray dependency checks 
([#&#8203;46263](https://redirect.github.com/huggingface/transformers/issues/46263))
 by [@&#8203;SebTardif](https://redirect.github.com/SebTardif) in 
\[[#&#8203;46263](https://redirect.github.com/huggingface/transformers/issues/46263)]
   - chore(linter): respect TRF017 modeling rule 
([#&#8203;46260](https://redirect.github.com/huggingface/transformers/issues/46260))
 by [@&#8203;tarekziade](https://redirect.github.com/tarekziade) in 
\[[#&#8203;46260](https://redirect.github.com/huggingface/transformers/issues/46260)]
   - Delete dead code in qwen-vl series 
([#&#8203;45827](https://redirect.github.com/huggingface/transformers/issues/45827))
 by [@&#8203;zucchini-nlp](https://redirect.github.com/zucchini-nlp) in 
\[[#&#8203;45827](https://redirect.github.com/huggingface/transformers/issues/45827)]
   - qa: fix ty caching and align CI with local run 
([#&#8203;46278](https://redirect.github.com/huggingface/transformers/issues/46278))
 by [@&#8203;tarekziade](https://redirect.github.com/tarekziade) in 
\[[#&#8203;46278](https://redirect.github.com/huggingface/transformers/issues/46278)]
   - Guard DeviceMesh import in continuous batching 
([#&#8203;46205](https://redirect.github.com/huggingface/transformers/issues/46205))
 by [@&#8203;danyalahmed1995](https://redirect.github.com/danyalahmed1995) in 
\[[#&#8203;46205](https://redirect.github.com/huggingface/transformers/issues/46205)]
   - Processor compatibility with vLLM  
([#&#8203;46258](https://redirect.github.com/huggingface/transformers/issues/46258))
 by [@&#8203;zucchini-nlp](https://redirect.github.com/zucchini-nlp) in 
\[[#&#8203;46258](https://redirect.github.com/huggingface/transformers/issues/46258)]
   - Fix PR CI workflow cancellation condition 
([#&#8203;46276](https://redirect.github.com/huggingface/transformers/issues/46276))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46276](https://redirect.github.com/huggingface/transformers/issues/46276)]
   - \[fix] toctree 
([#&#8203;46106](https://redirect.github.com/huggingface/transformers/issues/46106))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;46106](https://redirect.github.com/huggingface/transformers/issues/46106)]
   - add more generic support for distributed trainer tests 
([#&#8203;46109](https://redirect.github.com/huggingface/transformers/issues/46109))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46109](https://redirect.github.com/huggingface/transformers/issues/46109)]
   - add XPU Expectations for florence2 and lfm2\_vl model test 
([#&#8203;46275](https://redirect.github.com/huggingface/transformers/issues/46275))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46275](https://redirect.github.com/huggingface/transformers/issues/46275)]
   - Fix `StaticCache` building an empty layer list when `num_kv_shared_layers 
== 0` 
([#&#8203;46235](https://redirect.github.com/huggingface/transformers/issues/46235))
 by [@&#8203;tengomucho](https://redirect.github.com/tengomucho) in 
\[[#&#8203;46235](https://redirect.github.com/huggingface/transformers/issues/46235)]
   - Fix inverted assertion in remove\_handler 
([#&#8203;46227](https://redirect.github.com/huggingface/transformers/issues/46227))
 by [@&#8203;SebTardif](https://redirect.github.com/SebTardif) in 
\[[#&#8203;46227](https://redirect.github.com/huggingface/transformers/issues/46227)]
   - \[ShieldGemma2] Support attn\_implementation dispatch 
([#&#8203;46069](https://redirect.github.com/huggingface/transformers/issues/46069))
 by [@&#8203;YangKai0616](https://redirect.github.com/YangKai0616) in 
\[[#&#8203;46069](https://redirect.github.com/huggingface/transformers/issues/46069)]
   - \[Gemma4] Replace one-hot matmul with F.embedding in position embeddings 
([#&#8203;46176](https://redirect.github.com/huggingface/transformers/issues/46176))
 by [@&#8203;Sriniketh24](https://redirect.github.com/Sriniketh24) in 
\[[#&#8203;46176](https://redirect.github.com/huggingface/transformers/issues/46176)]
   - fix: kosmos2.5: properly expand embeddings table 
([#&#8203;45835](https://redirect.github.com/huggingface/transformers/issues/45835))
 by [@&#8203;nunq](https://redirect.github.com/nunq) in 
\[[#&#8203;45835](https://redirect.github.com/huggingface/transformers/issues/45835)]
   - find pytest launch error in torch 2.13.0.dev20260526 
([#&#8203;46252](https://redirect.github.com/huggingface/transformers/issues/46252))
 by [@&#8203;sywangyi](https://redirect.github.com/sywangyi) in 
\[[#&#8203;46252](https://redirect.github.com/huggingface/transformers/issues/46252)]
   - \[Test]\[Kosmos2.5] Add XPU expectations for integration tests 
([#&#8203;46135](https://redirect.github.com/huggingface/transformers/issues/46135))
 by [@&#8203;YangKai0616](https://redirect.github.com/YangKai0616) in 
\[[#&#8203;46135](https://redirect.github.com/huggingface/transformers/issues/46135)]
   - Support FA2 flash\_attn\_with\_kvcache for XPU continuous batching 
([#&#8203;46028](https://redirect.github.com/huggingface/transformers/issues/46028))
 by [@&#8203;YangKai0616](https://redirect.github.com/YangKai0616) in 
\[[#&#8203;46028](https://redirect.github.com/huggingface/transformers/issues/46028)]
   - \[`Configs`] Fix layer type validation to include its mlp counterpart 
([#&#8203;46220](https://redirect.github.com/huggingface/transformers/issues/46220))
 by [@&#8203;vasqu](https://redirect.github.com/vasqu) in 
\[[#&#8203;46220](https://redirect.github.com/huggingface/transformers/issues/46220)]
   - Fix `num_items_in_batch` over-counting for causal LM losses 
([#&#8203;46204](https://redirect.github.com/huggingface/transformers/issues/46204))
 by [@&#8203;qgallouedec](https://redirect.github.com/qgallouedec) in 
\[[#&#8203;46204](https://redirect.github.com/huggingface/transformers/issues/46204)]
   - RF-DETR doc fixes 
([#&#8203;46244](https://redirect.github.com/huggingface/transformers/issues/46244))
 by [@&#8203;merveenoyan](https://redirect.github.com/merveenoyan) in 
\[[#&#8203;46244](https://redirect.github.com/huggingface/transformers/issues/46244)]
   - Use `main` instead of commit SHA for now 
([#&#8203;46241](https://redirect.github.com/huggingface/transformers/issues/46241))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46241](https://redirect.github.com/huggingface/transformers/issues/46241)]
   - Enable push event (to main) for PR CI workflow 
([#&#8203;46240](https://redirect.github.com/huggingface/transformers/issues/46240))
 by [@&#8203;ydshieh](https://redirect.github.com/ydshieh) in 
\[[#&#8203;46240](https://redirect.github.com/huggingface/transformers/issues/46240)]
   - fix(hrm\_text): Add XPU Expectations for tests 
([#&#8203;46214](https://redirect.github.com/huggingface/transformers/issues/46214))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;46214](https://redirect.github.com/huggingface/transformers/issues/46214)]
   - \[deepseek\_v4] keep hc\_head / sinks / position\_bias in fp32 
([#&#8203;46198](https://redirect.github.com/huggingface/transformers/issues/46198))
 by [@&#8203;ArthurZucker](https://redirect.github.com/ArthurZucker) in 
\[[#&#8203;46198](https://redirect.github.com/huggingface/transformers/issues/46198)]
   - Fix FSDP2 and distributed checkpointing imports for older PyTorch versions 
([#&#8203;46141](https://redirect.github.com/huggingface/transformers/issues/46141))
 by [@&#8203;ryota-komatsu](https://redirect.github.com/ryota-komatsu) in 
\[[#&#8203;46141](https://redirect.github.com/huggingface/transformers/issues/46141)]
   - Fix Gemma4 Array Mask Indexing 
([#&#8203;46203](https://redirect.github.com/huggingface/transformers/issues/46203))
 by [@&#8203;petecao](https://redirect.github.com/petecao) in 
\[[#&#8203;46203](https://redirect.github.com/huggingface/transformers/issues/46203)]
   - utils: handle flash\_attn missing from importlib packages\_distributions 
without crashing 
([#&#8203;45524](https://redirect.github.com/huggingface/transformers/issues/45524))
 by [@&#8203;SAY-5](https://redirect.github.com/SAY-5) in 
\[[#&#8203;45524](https://redirect.github.com/huggingface/transformers/issues/45524)]
   - \[AMD CI] revert AMD mi325 hf-workflows ref from SHA back to 
[@&#8203;main](https://redirect.github.com/main) 
([#&#8203;46213](https://redirect.github.com/huggingface/transformers/issues/46213))
 by 
[@&#8203;Abdennacer-Badaoui](https://redirect.github.com/Abdennacer-Badaoui) in 
\[[#&#8203;46213](https://redirect.github.com/huggingface/transformers/issues/46213)]
   - \[GLM-4.6V] Update with GLM-GA Processor 
([#&#8203;46184](https://redirect.github.com/huggingface/transformers/issues/46184))
 by [@&#8203;zRzRzRzRzRzRzR](https://redirect.github.com/zRzRzRzRzRzRzR) in 
\[[#&#8203;46184](https://redirect.github.com/huggingface/transformers/issues/46184)]
   - update xpu expectation for falcon mamba 
([#&#8203;46086](https://redirect.github.com/huggingface/transformers/issues/46086))
 by [@&#8203;sywangyi](https://redirect.github.com/sywangyi) in 
\[[#&#8203;46086](https://redirect.github.com/huggingface/transformers/issues/46086)]
   - chore: enable Dependabot weekly GitHub Actions bumps 
([#&#8203;46157](https://redirect.github.com/huggingface/transformers/issues/46157))
 by 
[@&#8203;hf-dependantbot-rollout](https://redirect.github.com/hf-dependantbot-rollout)\[bot]
 in 
\[[#&#8203;46157](https://redirect.github.com/huggingface/transformers/issues/46157)]
   - Fix Gemma4 use\_bidirectional\_attention="all" mask behavior 
([#&#8203;46079](https://redirect.github.com/huggingface/transformers/issues/46079))
 by [@&#8203;oliverholworthy](https://redirect.github.com/oliverholworthy) in 
\[[#&#8203;46079](https://redirect.github.com/huggingface/transformers/issues/46079)]
   - Fix loading with only 1 device or distributed config 
([#&#8203;46197](https://redirect.github.com/huggingface/transformers/issues/46197))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46197](https://redirect.github.com/huggingface/transformers/issues/46197)]
   - Fix TypeError on list-typed ignore\_keys\_at\_rope\_validation in RoPE 
config 
([#&#8203;46142](https://redirect.github.com/huggingface/transformers/issues/46142))
 by [@&#8203;Charly21r](https://redirect.github.com/Charly21r) in 
\[[#&#8203;46142](https://redirect.github.com/huggingface/transformers/issues/46142)]
   - Support XPU autocast dtype fallback for FlashAttention 
([#&#8203;46199](https://redirect.github.com/huggingface/transformers/issues/46199))
 by [@&#8203;YangKai0616](https://redirect.github.com/YangKai0616) in 
\[[#&#8203;46199](https://redirect.github.com/huggingface/transformers/issues/46199)]
   - Fix path traversal when saving named chat templates 
([#&#8203;46191](https://redirect.github.com/huggingface/transformers/issues/46191))
 by [@&#8203;LinZiyuu](https://redirect.github.com/LinZiyuu) in 
\[[#&#8203;46191](https://redirect.github.com/huggingface/transformers/issues/46191)]
   - Fix is\_last off-by-one in MaskGenerationPipeline for partial batches 
([#&#8203;46136](https://redirect.github.com/huggingface/transformers/issues/46136))
 by [@&#8203;J3r3myPerera](https://redirect.github.com/J3r3myPerera) in 
\[[#&#8203;46136](https://redirect.github.com/huggingface/transformers/issues/46136)]
   - Fix wrong variable in check\_model\_type isinstance check 
([#&#8203;46080](https://redirect.github.com/huggingface/transformers/issues/46080))
 by [@&#8203;SebTardif](https://redirect.github.com/SebTardif) in 
\[[#&#8203;46080](https://redirect.github.com/huggingface/transformers/issues/46080)]
   - Enable passing kwargs through RoFormer models 
([#&#8203;46171](https://redirect.github.com/huggingface/transformers/issues/46171))
 by [@&#8203;ir2718](https://redirect.github.com/ir2718) in 
\[[#&#8203;46171](https://redirect.github.com/huggingface/transformers/issues/46171)]
   - Update cohere2\_moe tp\_plan 
([#&#8203;46189](https://redirect.github.com/huggingface/transformers/issues/46189))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46189](https://redirect.github.com/huggingface/transformers/issues/46189)]
   - Update release tool 
([#&#8203;46193](https://redirect.github.com/huggingface/transformers/issues/46193))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46193](https://redirect.github.com/huggingface/transformers/issues/46193)]
   - \[loading] Fix base\_model\_prefix issues in conversions 
([#&#8203;46067](https://redirect.github.com/huggingface/transformers/issues/46067))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46067](https://redirect.github.com/huggingface/transformers/issues/46067)]
   - Bump dev version 
([#&#8203;46188](https://redirect.github.com/huggingface/transformers/issues/46188))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46188](https://redirect.github.com/huggingface/transformers/issues/46188)]
   - Update self-comment-ci 
([#&#8203;46137](https://redirect.github.com/huggingface/transformers/issues/46137))
 by [@&#8203;guarin](https://redirect.github.com/guarin) in 
\[[#&#8203;46137](https://redirect.github.com/huggingface/transformers/issues/46137)]
   
   #### Significant community contributions
   
   The following contributors have made significant changes to the library over 
the last release:
   
   - [@&#8203;filipinescu](https://redirect.github.com/filipinescu)
     - \[docs] Romanian translation of `contributing.md`, 
`modular_transformers.md`, `multimodal_processing.md`, 
`add_vision_processing_components.md`, `add_audio_processing_components.md`, 
`modeling_rules.md`, `model_output_tracing.md`, `auto_docstring.md`, 
`testing.md`, `pr_checks.md` and `add_new_model.md` . 
([#&#8203;46345](https://redirect.github.com/huggingface/transformers/issues/46345))
     - \[docs] Romanian translation of  `weightconverter.md`,  `models.md`,  
`custom_models.md`,  `monkey_patching.md`,  `fusion_mapping.md`, 
`how_to_hack_models.md`, `model_sharing.md` and `serialization.md`. 
([#&#8203;46309](https://redirect.github.com/huggingface/transformers/issues/46309))
     - Romanian translation of README.md, index.md, installation.md, 
\_config.py and quicktour.md. 
([#&#8203;46166](https://redirect.github.com/huggingface/transformers/issues/46166))
   - [@&#8203;remi-or](https://redirect.github.com/remi-or)
     - \[CB] \[Major] Rework manager to have clearer control flow + handle TP 
([#&#8203;46070](https://redirect.github.com/huggingface/transformers/issues/46070))
   - [@&#8203;thisisiron](https://redirect.github.com/thisisiron)
     - Add Deepseek-OCR-2 model 
([#&#8203;45075](https://redirect.github.com/huggingface/transformers/issues/45075))
   - [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu)
     - Add Expectations for pipeline token classification tests 
([#&#8203;46151](https://redirect.github.com/huggingface/transformers/issues/46151))
     - fix series of bugs for model parallel beam search 
([#&#8203;46280](https://redirect.github.com/huggingface/transformers/issues/46280))
     - add more generic support for distributed trainer tests 
([#&#8203;46109](https://redirect.github.com/huggingface/transformers/issues/46109))
     - add XPU Expectations for florence2 and lfm2\_vl model test 
([#&#8203;46275](https://redirect.github.com/huggingface/transformers/issues/46275))
     - Fix model parallel issue for altclip model and ChineseClip model 
([#&#8203;45487](https://redirect.github.com/huggingface/transformers/issues/45487))
     - Model parallel fix 
([#&#8203;46230](https://redirect.github.com/huggingface/transformers/issues/46230))
     - fix(hrm\_text): Add XPU Expectations for tests 
([#&#8203;46214](https://redirect.github.com/huggingface/transformers/issues/46214))
     - Fix model parallel bugs for Gemma4 
([#&#8203;45817](https://redirect.github.com/huggingface/transformers/issues/45817))
     - Fix bnb 4bit/8bit quantization drop chunked tensors bug 
([#&#8203;46210](https://redirect.github.com/huggingface/transformers/issues/46210))
     - fix model parallel device mismatch issue in `create_bidirectional_mask` 
([#&#8203;46221](https://redirect.github.com/huggingface/transformers/issues/46221))
     - Fix a regression in encoder-decoder generation cache initialization 
([#&#8203;46111](https://redirect.github.com/huggingface/transformers/issues/46111))
   - [@&#8203;shadeMe](https://redirect.github.com/shadeMe)
     - feat: Add support for JetBrains' `Mellum` v2 code generation model 
([#&#8203;46112](https://redirect.github.com/huggingface/transformers/issues/46112))
   - [@&#8203;vasqu](https://redirect.github.com/vasqu)
     - \[`Revert`] FSDP+Dtensor refactor related changes 
([#&#8203;46246](https://redirect.github.com/huggingface/transformers/issues/46246))
     - \[`Configs`] Fix layer type validation to include its mlp counterpart 
([#&#8203;46220](https://redirect.github.com/huggingface/transformers/issues/46220))
   - [@&#8203;zRzRzRzRzRzRzR](https://redirect.github.com/zRzRzRzRzRzRzR)
     - \[GLM-4.6V] Update with GLM-GA Processor 
([#&#8203;46184](https://redirect.github.com/huggingface/transformers/issues/46184))
   - [@&#8203;eustlb](https://redirect.github.com/eustlb)
     - 🚨 \[ALM] Add base model without head 
([#&#8203;45534](https://redirect.github.com/huggingface/transformers/issues/45534))
   
   ### 
[`v5.10.0`](https://redirect.github.com/huggingface/transformers/compare/v5.9.0...v5.10.0)
   
   [Compare 
Source](https://redirect.github.com/huggingface/transformers/compare/v5.9.0...v5.10.0)
   
   ### 
[`v5.9.0`](https://redirect.github.com/huggingface/transformers/releases/tag/v5.9.0)
   
   [Compare 
Source](https://redirect.github.com/huggingface/transformers/compare/v5.8.1...v5.9.0)
   
   ### Release v5.9.0
   
   #### New Model additions
   
   ##### Cohere2Moe
   
   Command A+ is a Mixture-of-Experts (MoE) language model from Cohere that 
features a hybrid attention pattern combining sliding window and full attention 
layers. The model incorporates both shared and routed experts and supports a 
very large context window for processing extensive text sequences.
   
   **Links:** 
[Documentation](https://huggingface.co/docs/transformers/main/en/model_doc/cohere2_moe)
   
   - Add new cohere2\_moe model 
([#&#8203;46115](https://redirect.github.com/huggingface/transformers/issues/46115))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
[#&#8203;46115](https://redirect.github.com/huggingface/transformers/pull/46115)
   
   ##### Parakeet tdt 
([#&#8203;44171](https://redirect.github.com/huggingface/transformers/issues/44171))
   
   - Parakeet tdt 
([#&#8203;44171](https://redirect.github.com/huggingface/transformers/issues/44171))
 by [@&#8203;lmaksym](https://redirect.github.com/lmaksym)
   
   ##### HRM-Text
   
   HRM-Text is an improved autoregressive language-modeling variant of the 
Hierarchical Reasoning Model (HRM) that uses a hierarchical recurrent forward 
pass with two transformer stacks - one for slow, abstract planning (H) and one 
for fast, detailed computation (L) - reused inside a nested recurrence. It 
features PrefixLM attention where instruction tokens attend bidirectionally 
while response tokens attend causally, per-head sigmoid output gates, and 
parameterless RMSNorm. The model is designed as a base language model without 
instruction tuning or chat templates.
   
   **Links:** 
[Documentation](https://huggingface.co/docs/transformers/main/en/model_doc/hrm_text)
 | [Paper](https://huggingface.co/papers/2506.21734)
   
   - Add hrm text 
([#&#8203;46025](https://redirect.github.com/huggingface/transformers/issues/46025))
 by [@&#8203;abcd1927](https://redirect.github.com/abcd1927) in 
[#&#8203;46025](https://redirect.github.com/huggingface/transformers/pull/46025)
   
   #### Breaking changes
   
   The `text_embeds` input for SAM3, EdgeTAM, and SAM3-Lite-Text models now 
expects full text embeddings instead of just pooler outputs, aligning with 
other models in the library — users must update their inputs accordingly.
   
   - 🚨Fix memory leaks caused by lru decorators in vision models 
([#&#8203;45922](https://redirect.github.com/huggingface/transformers/issues/45922))
 by [@&#8203;yonigozlan](https://redirect.github.com/yonigozlan)
   
   #### Audio
   
   Audio support was expanded with the addition of AudioFlamingoNext model 
checkpoints and improved compilability of audio/vision encoders via standalone 
pure functions. Additional improvements include better error messaging when 
loading audio from video files and new documentation for audio/video processors.
   
   - user friendly error when loading audio from video 
([#&#8203;45221](https://redirect.github.com/huggingface/transformers/issues/45221))
 by [@&#8203;eustlb](https://redirect.github.com/eustlb) in 
\[[#&#8203;45221](https://redirect.github.com/huggingface/transformers/issues/45221)]
   - \[docs] adding audio/video processors 
([#&#8203;45795](https://redirect.github.com/huggingface/transformers/issues/45795))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;45795](https://redirect.github.com/huggingface/transformers/issues/45795)]
   - Support Audio Flamingo Next checkpoints 
([#&#8203;44830](https://redirect.github.com/huggingface/transformers/issues/44830))
 by [@&#8203;lashahub](https://redirect.github.com/lashahub) in 
\[[#&#8203;44830](https://redirect.github.com/huggingface/transformers/issues/44830)]
   - Extract dynamic vision/audio tensors into standalone pure functions 
([#&#8203;45396](https://redirect.github.com/huggingface/transformers/issues/45396))
 by [@&#8203;IlyasMoutawwakil](https://redirect.github.com/IlyasMoutawwakil) in 
\[[#&#8203;45396](https://redirect.github.com/huggingface/transformers/issues/45396)]
   
   #### Generation
   
   Fixed generation issues including `inputs_embeds` and `per_layer_inputs` 
handling for Gemma4, an `AttributeError` in RAG's `generate()` caused by 
missing config fields, and flaky VLM generation tests by blocking special image 
tokens during sampling.
   
   - Fix Gemma4 generation from inputs\_embeds and per\_layer\_inputs 
([#&#8203;46049](https://redirect.github.com/huggingface/transformers/issues/46049))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46049](https://redirect.github.com/huggingface/transformers/issues/46049)]
   - Fix AttributeError in RAG generate() for missing config fields 
([#&#8203;46035](https://redirect.github.com/huggingface/transformers/issues/46035))
 by [@&#8203;Sriniketh24](https://redirect.github.com/Sriniketh24) in 
\[[#&#8203;46035](https://redirect.github.com/huggingface/transformers/issues/46035)]
   - Block image\_start/end\_token\_id in generation test sampling 
([#&#8203;45914](https://redirect.github.com/huggingface/transformers/issues/45914))
 by [@&#8203;Rocketknight1](https://redirect.github.com/Rocketknight1) in 
\[[#&#8203;45914](https://redirect.github.com/huggingface/transformers/issues/45914)]
   
   #### Bugfixes and improvements
   
   - Remove mask visualization tool from `masking_utils.py` 
([#&#8203;46066](https://redirect.github.com/huggingface/transformers/issues/46066))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;46066](https://redirect.github.com/huggingface/transformers/issues/46066)]
   - fix: owned\_by field in GET /v1/models returns list instead of string 
([#&#8203;46006](https://redirect.github.com/huggingface/transformers/issues/46006))
 by [@&#8203;nileshpatil6](https://redirect.github.com/nileshpatil6) in 
\[[#&#8203;46006](https://redirect.github.com/huggingface/transformers/issues/46006)]
   - \[CB] Remove OpenTelemetry 
([#&#8203;45984](https://redirect.github.com/huggingface/transformers/issues/45984))
 by [@&#8203;remi-or](https://redirect.github.com/remi-or) in 
\[[#&#8203;45984](https://redirect.github.com/huggingface/transformers/issues/45984)]
   - docs(readme): use canonical `huggingface.co` domain in prose links 
([#&#8203;46042](https://redirect.github.com/huggingface/transformers/issues/46042))
 by [@&#8203;kiwigitops](https://redirect.github.com/kiwigitops) in 
\[[#&#8203;46042](https://redirect.github.com/huggingface/transformers/issues/46042)]
   - Fix remaining RAG doc examples that crash on current transformers 
([#&#8203;46044](https://redirect.github.com/huggingface/transformers/issues/46044))
 by [@&#8203;Sriniketh24](https://redirect.github.com/Sriniketh24) in 
\[[#&#8203;46044](https://redirect.github.com/huggingface/transformers/issues/46044)]
   - Init the actual tensor, not a copy 
([#&#8203;46030](https://redirect.github.com/huggingface/transformers/issues/46030))
 by [@&#8203;Rocketknight1](https://redirect.github.com/Rocketknight1) in 
\[[#&#8203;46030](https://redirect.github.com/huggingface/transformers/issues/46030)]
   - docs: sync legacy ACL anthology URLs and update metrics across i18n 
READMEs 
([#&#8203;46027](https://redirect.github.com/huggingface/transformers/issues/46027))
 by [@&#8203;irfaan101](https://redirect.github.com/irfaan101) in 
\[[#&#8203;46027](https://redirect.github.com/huggingface/transformers/issues/46027)]
   - \[MultimodalLM] add language\_model to the get/set\_input\_embeddings 
logic 
([#&#8203;46029](https://redirect.github.com/huggingface/transformers/issues/46029))
 by [@&#8203;eustlb](https://redirect.github.com/eustlb) in 
\[[#&#8203;46029](https://redirect.github.com/huggingface/transformers/issues/46029)]
   - \[`HRM Text`] Add integration tests 
([#&#8203;46033](https://redirect.github.com/huggingface/transformers/issues/46033))
 by [@&#8203;vasqu](https://redirect.github.com/vasqu) in 
\[[#&#8203;46033](https://redirect.github.com/huggingface/transformers/issues/46033)]
   - hy\_v3: add XPU expectations 
([#&#8203;45858](https://redirect.github.com/huggingface/transformers/issues/45858))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;45858](https://redirect.github.com/huggingface/transformers/issues/45858)]
   - exaone4\_5: add XPU expectations 
([#&#8203;45890](https://redirect.github.com/huggingface/transformers/issues/45890))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;45890](https://redirect.github.com/huggingface/transformers/issues/45890)]
   - hyperclovax: add XPU Expectations for CI test 
([#&#8203;45926](https://redirect.github.com/huggingface/transformers/issues/45926))
 by [@&#8203;kaixuanliu](https://redirect.github.com/kaixuanliu) in 
\[[#&#8203;45926](https://redirect.github.com/huggingface/transformers/issues/45926)]
   - chore(ci): remove dead env vars from circleci-failure-summary-comment.yml 
([#&#8203;45972](https://redirect.github.com/huggingface/transformers/issues/45972))
 by [@&#8203;XciD](https://redirect.github.com/XciD) in 
\[[#&#8203;45972](https://redirect.github.com/huggingface/transformers/issues/45972)]
   - \[CB] \[Major] Add tensor paralellism 
([#&#8203;45821](https://redirect.github.com/huggingface/transformers/issues/45821))
 by [@&#8203;remi-or](https://redirect.github.com/remi-or) in 
\[[#&#8203;45821](https://redirect.github.com/huggingface/transformers/issues/45821)]
   - docs: update models architecture count and sync ACL anthology URLs 
([#&#8203;46001](https://redirect.github.com/huggingface/transformers/issues/46001))
 by [@&#8203;irfaan101](https://redirect.github.com/irfaan101) in 
\[[#&#8203;46001](https://redirect.github.com/huggingface/transformers/issues/46001)]
   - bugfix(ci): avoid E2BIG in pr\_slow\_ci\_suggestion  
([#&#8203;45983](https://redirect.github.com/huggingface/transformers/issues/45983))
 by [@&#8203;tarekziade](https://redirect.github.com/tarekziade) in 
\[[#&#8203;45983](https://redirect.github.com/huggingface/transformers/issues/45983)]
   - RFDetr - use correct Roboflow org for release 
([#&#8203;45946](https://redirect.github.com/huggingface/transformers/issues/45946))
 by [@&#8203;sbucaille](https://redirect.github.com/sbucaille) in 
\[[#&#8203;45946](https://redirect.github.com/huggingface/transformers/issues/45946)]
   - docs: Fix formatting issues in weightconverter.md 
([#&#8203;45988](https://redirect.github.com/huggingface/transformers/issues/45988))
 by [@&#8203;ArjunSrivastava1](https://redirect.github.com/ArjunSrivastava1) in 
\[[#&#8203;45988](https://redirect.github.com/huggingface/transformers/issues/45988)]
   - Fix colqwen2 test 
([#&#8203;45981](https://redirect.github.com/huggingface/transformers/issues/45981))
 by [@&#8203;IlyasMoutawwakil](https://redirect.github.com/IlyasMoutawwakil) in 
\[[#&#8203;45981](https://redirect.github.com/huggingface/transformers/issues/45981)]
   - Fix M-RoPE device mismatch in Qwen3VL family under FSDP2 CPU offload 
([#&#8203;45861](https://redirect.github.com/huggingface/transformers/issues/45861))
 by [@&#8203;jamesbraza](https://redirect.github.com/jamesbraza) in 
\[[#&#8203;45861](https://redirect.github.com/huggingface/transformers/issues/45861)]
   - \[docs] chat template prefill 
([#&#8203;45947](https://redirect.github.com/huggingface/transformers/issues/45947))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;45947](https://redirect.github.com/huggingface/transformers/issues/45947)]
   - \[docs] decode fast path 
([#&#8203;45899](https://redirect.github.com/huggingface/transformers/issues/45899))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;45899](https://redirect.github.com/huggingface/transformers/issues/45899)]
   - fix: restore `_attn_implementation `and fix request offset in 
`generate_batch()` 
([#&#8203;45943](https://redirect.github.com/huggingface/transformers/issues/45943))
 by [@&#8203;sergiopaniego](https://redirect.github.com/sergiopaniego) in 
\[[#&#8203;45943](https://redirect.github.com/huggingface/transformers/issues/45943)]
   - Expose `per_layer_inputs` for every Gemma4 variants 
([#&#8203;45927](https://redirect.github.com/huggingface/transformers/issues/45927))
 by [@&#8203;Cyrilvallez](https://redirect.github.com/Cyrilvallez) in 
\[[#&#8203;45927](https://redirect.github.com/huggingface/transformers/issues/45927)]
   - chore: update benchmark\_v2.yml 
([#&#8203;45966](https://redirect.github.com/huggingface/transformers/issues/45966))
 by 
[@&#8203;hf-security-analysis](https://redirect.github.com/hf-security-analysis)\[bot]
 in 
\[[#&#8203;45966](https://redirect.github.com/huggingface/transformers/issues/45966)]
   - fix(ci): set persist-credentials: false on actions/checkout and close 
remaining template injection findings 
([#&#8203;45964](https://redirect.github.com/huggingface/transformers/issues/45964))
 by [@&#8203;XciD](https://redirect.github.com/XciD) in 
\[[#&#8203;45964](https://redirect.github.com/huggingface/transformers/issues/45964)]
   - chore(ci): set default workflow permissions to contents: read 
([#&#8203;45961](https://redirect.github.com/huggingface/transformers/issues/45961))
 by [@&#8203;XciD](https://redirect.github.com/XciD) in 
\[[#&#8203;45961](https://redirect.github.com/huggingface/transformers/issues/45961)]
   - fix(ci): remove template injection on pull\_request\_target workflows 
([#&#8203;45956](https://redirect.github.com/huggingface/transformers/issues/45956))
 by [@&#8203;XciD](https://redirect.github.com/XciD) in 
\[[#&#8203;45956](https://redirect.github.com/huggingface/transformers/issues/45956)]
   - chore(ci): pin all GitHub Actions and reusable workflows by SHA 
([#&#8203;45955](https://redirect.github.com/huggingface/transformers/issues/45955))
 by [@&#8203;XciD](https://redirect.github.com/XciD) in 
\[[#&#8203;45955](https://redirect.github.com/huggingface/transformers/issues/45955)]
   - \[docs] ALMModelTest 
([#&#8203;45900](https://redirect.github.com/huggingface/transformers/issues/45900))
 by [@&#8203;stevhliu](https://redirect.github.com/stevhliu) in 
\[[#&#8203;45900](https://redirect.github.com/huggingface/transformers/issues/45900)]
   - Enhance apply\_chat\_template to support custom field prefilling 
(reasoning\_content, thinking, etc.) 
([#&#8203;45896](https://redirect.github.com/huggingface/transformers/issues/45896))
 by [@&#8203;Mamiglia](https://redirect.github.com/Mamiglia) in 
\[[#&#8203;45896](https://redirect.github.com/huggingface/transformers/issues/45896)]
   - BUGFIX: Support hubert models that don't have conv\_pos\_batch\_norm 
configured 
([#&#8203;45921](https://redirect.github.com/huggingface/transformers/issues/45921))
 by [@&#8203;igordertigor](https://redirect.github.com/igordertigor) in 
\[[#&#8203;45921](https://redirect.github.com/huggingface/transformers/issues/45921)]
   - Revert 45777 
([#&#8203;45942](https://redirect.github.com/huggingface/transformers/issues/45942))
 by [@&#8203;Rocketknight1](https://redirect.github.com/Rocketknight1) in 
\[[#&#8203;45942](https://redirect.github.com/huggingface/transformers/issues/45942)]
   - pass the otel secrets 
([#&#8203;45933](https://redirect.github.com/huggingface/transformers/issues/45933))
 by [@&#8203;tarekziade](https://redirect.github.com/tarekziade) in 
\[[#&#8203;45933](https://redirect.github.com/huggingface/transformers/issues/45933)]
   - Add initial torch\_tpu backend support 
([#&#8203;45918](https://redirect.github.com/huggingface/transformers/issues/45918))
 by [@&#8203;tengomucho](https://redirect.github.com/tengomucho) in 
\[[#&#8203;45918](https://redirect.github.com/huggingface/transformers/issues/45918)]
   - \[CB] Hide activation footprint by using the CUDA graph pool 
([#&#8203;45911](https://redirect.github.com/huggingface/transformers/issues/45911))
 by [@&#8203;remi-or](https://redirect.github.com/remi-or) in 
\[[#&#8203;45911](https://redirect.github.com/huggingface/transformers/issues/45911)]
   - Require input\_ids for repetition penalty 
([#&#8203;45389](https://redirect.github.com/huggingface/transformers/issues/45389))
 by [@&#8203;ruben-aghayan](https://redirect.github.com/ruben-aghayan) in 
\[[#&#8203;45389](https://redirect.github.com/huggingface/t
   
   > ✂ **Note**
   > 
   > PR body was truncated to here.
   
   
   </details>
   
   ---
   
   ### Configuration
   
   📅 **Schedule**: (in timezone Etc/UTC)
   
   - Branch creation
     - At any time (no schedule defined)
   - Automerge
     - At any time (no schedule defined)
   
   🚦 **Automerge**: Disabled by config. Please merge this manually once you are 
satisfied.
   
   ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry 
checkbox.
   
   🔕 **Ignore**: Close this PR and you won't be reminded about this update 
again.
   
   ---
   
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this 
box
   
   ---
   
   This PR was generated by [Mend Renovate](https://mend.io/renovate/). View 
the [repository job log](https://developer.mend.io/github/apache/texera).
   
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC40OS4wIiwidXBkYXRlZEluVmVyIjoiNDQuNDkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVsZWFzZS92MS4yIiwic2VjdXJpdHkiXX0=-->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to