Patch release v5.24.1
The v5.24.1 patch release includes fixes for vLLM backward compatibility, remote code issues, Llama4 forward crashes, dory static cache, expert parallelism with empty tp_plan, and strided checkpoint reads on PyTorch 2.9.
Search headlines, summaries and articles to connect the dots.
The v5.24.1 patch release includes fixes for vLLM backward compatibility, remote code issues, Llama4 forward crashes, dory static cache, expert parallelism with empty tp_plan, and strided checkpoint reads on PyTorch 2.9.
Hugging Face Transformers v5.24.0 introduces several new models including Inkling 2 Mini, Apertus 1.5, WavTokenizer, Dory, HY4-VL, Omnilingual ASR, Lara Mini, SarvamMLA, SarvamMoE, and EXAONE. The release features a major breaking change renaming `past_key_values` and `cache_params` to `cache` across the library, standardizing cache handling. Multimodal models now return shared output classes instead of model-specific ones. Additional updates include improvements to generation, continuous batching, chat templates, pipelines, vision and audio processing, quantization, parallelization, exporters, and numerous bug fixes.
This patch release includes security enhancements and distributed fixes, such as setting device_id only for NCCL and hardening Jinja sandboxing. Full changes are detailed in the commit log.