A patch restores compatibility between the model library and the inference tool, fixing issues when integrating external model code. Transformers 5.24.1 restores its code interface with vLLM. For distributed execution, which splits work across devices, it also allows configurations that use expert parallelism alone.

1. Restoring compatibility for vLLM remote code paths

The release notes published on November 24, 2026 list vLLM changes first. One fixes backward compatibility so that older remote code continues to work after cache names changed.

The mask-related module modeling_attn_mask_utils was also restored for use by remote code. The release notes describe this as a one-off measure to resolve a blocker for vLLM.

The past_key_values argument was also exposed in the MBartDecoderLayer.forward signature. These changes all address names, modules, or argument lists accessed by external code.

2. Audio encoder also supports masks on the CPU

The vLLM changes also allow the OmniASR audio encoder, which converts speech data into internal representations, to use padding masks kept on the CPU. Padding masks identify portions added to make input lengths match. This change concerns where that information can reside during processing.

While the preceding changes fix the interface between remote code and the library, this change supports a data placement option accepted by the audio encoder.

3. Distributed execution and checkpoint reading

For distributed processing, expert parallelism, which splits the model's experts across devices, can now be used without other parallelism methods. The release notes give the following expression to set an empty dictionary as the plan for tensor parallelism, which splits tensor computations across devices.

tp_plan={}

The release also fixes strided reads from checkpoints, which store model state, in PyTorch 2.9. Unlike the preceding change about dividing execution, this item concerns reading saved checkpoints.

4. Changes to consider before adoption

The benefits of adoption lie in restoring remote code interfaces and expanding distributed configuration options. The release notes contain no performance measurements.

Transformers 5.24.1 is a patch covering restored remote code compatibility, CPU mask support, and standalone expert parallelism.