Transformers v5.24.1 patches vLLM, distributed and model issues
Hugging Face released Transformers v5.24.1 as a patch addressing vLLM integration, distributed execution, Llama 4, OmniASR and Dory issues. The release restores backward compatibility for remote code, including a one-off restoration of modeling_attn_mask_utils to unblock vLLM. It also fixes a Llama4 forward crash when image_outputs is missing, CPU-resident OmniASR padding masks, Dory static-cache behavior and strided checkpoint reads on PyTorch 2.9.
Transformers Releases says the patch unblocks vLLM and restores compatibility for remote-code users, while correcting deployment and model-execution problems across several supported components.
Patch release v5.24.1
A patch to fix a bunch of stuff for vLLM, a few distributed issues, and some model fixes (llama4, dory); see the full list
vLLM related
- Fix backward compatibility of the cache rename for remote code (#51085) by @hmellor
- Restore modeling_attn_mask_utils for remote code (one-off to unblock vLLM) (#51124) by @hmellor
- Expose past_key_values in MBartDecoderLayer.forward signature for remote code (#51177) by @hmellor
- [OmniASR] Support a padding_mask kept on the CPU in the audio encoder (#51100) by @El-euchidali
Model fixes
- Fix Llama4 forward crash on missing image_outputs (#51144) by @kylesayrs
- Fix dory static cache (#50993) by @ArthurZucker
Distributed
- Allow expert parallelism alone with tp_plan={} (#50996) by @3outeille
- Fix strided checkpoint reads on PyTorch 2.9 (#51042) by @satsuki2486441738
Full Changelog: v5.24.0...v5.24.1
#Hugging Face Transformers#vLLM#Llama 4#OmniASR#Dory#PyTorch