Skip to content
Live
Transformers releases· Cyrilvallez·· 26 days ago35

Patch release v5.20.2

Patch release v5.20.2

Brief overview

Transformers releases patch update v5.20.2, fixing an issue where input types were lost in the generate function, affecting multimodal models; it also addressed several other issues, including input dictionary type conversion, bfloat16 expert parallel gradients being zero, VLM input modal declaration for only reporting text, and host-to-device copy in eager_mask.

Article

Patch release: v5.20.2

This patch notably solves an issue where some inputs could loose their original type inside prepare_inputs_for_generation in generate, leading to problems with multimodal models. It also fixes some other issues listed on the below commits.

It contains the following commits:

Source: Transformers releases · github.com