Skip to content
AI.info

The Pulse

Hugging Face patches Transformers for vLLM and model issues

Transformers 5.24.1 restores an attention-mask module and addresses cache compatibility for remote code used by vLLM. The patch also covers Llama4, Dory and distributed workloads.

Hugging Face patches Transformers for vLLM and model issues

Hugging Face’s Transformers 5.24.1 patch addresses compatibility issues affecting remote code used by vLLM, alongside model and distributed-computing fixes. The Nov. 24 release follows version 5.24.0, which changed cache names and removed an attention-mask module.

Remote-code compatibility

Transformers 5.24.0 renamed the past_key_values and cache_params arguments to cache across the library. The old names continued to work with a deprecation warning, according to that release’s notes.

A pull request included in the patch says the rename nevertheless caused two backward-compatibility breaks that stopped some remote code from running on 5.24.0. The patch addresses how mask-function signatures expose the old name and how output classes handle old cache fields that they still declare.

Version 5.24.1 also restores modeling_attn_mask_utils for remote code. Version 5.24.0 had removed the module after its functions were deprecated in favor of transformers.masking_utils.

The restoration was a one-off exception intended to unblock vLLM, the pull request states. It says remote code served by vLLM still imports the module when loading, and identifies MiniCPM and Nanbeige checkpoints that could not load their configurations on 5.24.0.

Another change exposes past_key_values in the MBartDecoderLayer.forward signature for remote code.

Model and distributed fixes

The patch fixes a Llama4 forward-pass crash when image_outputs is missing. It also fixes Dory’s static cache; Dory support was added in 5.24.0 for the NVIDIA language model.

For OmniASR, the release adds support for a padding_mask kept on the CPU in the audio encoder. The preceding release added Omnilingual ASR, a suite of speech-recognition models from Meta FAIR.

In distributed workloads, 5.24.1 allows expert parallelism on its own with tp_plan={}. The patch also fixes strided checkpoint reads on PyTorch 2.9.

Sources

  1. Original source · Release notes Hugging Face “Release Patch release v5.24.1” github.com

Other pages read

  1. Hugging Face “Release Release v5.24.0” github.com
  2. Hugging Face · page 3 github.com
  3. Hugging Face · page 4 github.com
  4. PyPI “transformers 5.24.1 on PyPI (uploaded 24 Nov 2026)” pypi.org

Companies in this story

Related stories

Explore

More articles