transformers v5.15.1

v5.15.1

Patch release: v5.15.1

Fixed 5
  • Fix DFlash candidate token device mismatch with device_map="auto"
  • Align logit distributions for CandidateGenerators using sampling
  • Fix MTP config when mlp_layer_types is absent
  • Fallback from 'lanczos' to 'bicubic' when on cuda
  • Fix gemma4 video to device

From transformers

Patch release v5.15.1

This patch most notably solves a few issues with DFlash and MTP candidate generators, as well as an issue where images could sometimes not be processed on accelerator if using Lanczos filter.

It contains the following commits:

  • Fix DFlash candidate token device mismatch with device_map="auto" (#47877) by @sywangyi and @Cyrilvallez
  • Align logit distributions for CandidateGenerators using sampling (#48007) by @Cyrilvallez
  • Fix MTP config when mlp_layer_types is absent (#48015) by @Cyrilvallez
  • Fallback from 'lanczos' to 'bicubic' when on cuda (#48026) by @zucchini-nlp
  • Fix gemma4 video to device (#47896) by @guarin
View original

Upgraded? How did it go?

Discussion