Releases Index

Transformers

Core NLP/ML library for state-of-the-art models

$npx @buildinternet/releases get transformers
Mon
Wed
Fri
DecJanFebMarAprMayJunJulAugSepOctNov
Less
More
Releases26Avg Interval4dAvg Cadence9/mo
Transformers · v5.24.1

The patch restores backward compatibility for vLLM remote code, including the renamed cache and modeling_attn_mask_utils, and exposes past_key_values in MBartDecoderLayer.forward. Strided checkpoint reads on PyTorch 2.9 are fixed, and expert parallelism now works with tp_plan={}.

Read more ↗
Transformers · v5.24.0

past_key_values and cache_params are renamed to cache across forward signatures, generate, and outputs, with the old names auto-remapped under a deprecation warning. The release adds Inkling 2 Mini, Apertus 1.5, HY4-VL, Dory, Lara Mini, and Meta's Omnilingual ASR, plus WavTokenizer, SarvamMLA, SarvamMoE, and EXAONE support.

Read more ↗
Tokenizers · v1.0.0-rc.5

Python bindings no longer depend on numpy, replacing ids_array, type_ids_array and attention_mask_array with DLPack methods, and Python 3.10 support is dropped in favor of 3.11. Encoding now matches 0.23 across a dozen DeepSeek, Kimi, CLIP and BPE cases, with crashes on malformed or unusual inputs fixed.

Read more ↗
Accelerate · v1.16.0

Accelerate now requires Python 3.11+ and PyTorch 2.6+, and removes the PiPPy and MS-AMP integrations plus the deprecated FP8RecipeKwargs class. The release also extends torch.accelerator-based backend support with initial single-chip torch-tpu fixes, makes accelerate launch clean up child workers on Ctrl+C and SIGTERM, and fixes FSDP meta-parameter initialization and RAM-efficient loading.

Read more ↗
Transformers · v5.23.0

Every export now returns an ExportedModel that callers invoke like the original model, push to the Hub, and load on the backend's own runtime, with ONNX Runtime fusions and decode 2.4-3.9x faster on OpenVINO. New model support adds Inkling2, LFM3 and LFM3-VL, dots3-note Preview, IQuestCoder and InternLM3.

Read more ↗
Transformers · v5.21

Adds MiniCPM-OCR, Flint, UltraVBert, Gradium Phonon TTS, Pocket TTS, and the Pocket TTS audio tokenizer, plus an fp8 backend for QuantizedCache. Tensor parallelism now gives embeddings their own style and shards input embeddings by default, so custom plans that applied ColwiseParallel or RowwiseParallel to embeddings must switch, and every MoE TP/EP plan must now shard its experts.

Read more ↗
Transformers · v5.20.2

Fixes inputs losing their original type inside prepare_inputs_for_generation in generate, which caused problems for multimodal models, and fixes zero expert gradients in bfloat16 when expert parallelism uses ep_size smaller than fsdp_size. Also avoids a host-to-device copy in eager_mask and declares input modalities for VLMs that report text only.

Read more ↗
Transformers · v5.20.1

Adds the Beam model from Reflection AI, a token-efficient frontier-scale model for coding and agentic use cases. Restores loading models on older torch versions, including from_pretrained on torch 2.7 and DtensorShardOperation on torch 2.6 and 2.7, plus fixes for HunYuan-VL image assignment during batched generation and DeepGEMM Mega MoE under expert parallelism.

Read more ↗
Transformers · v5.20.0

Transformers v5.20.0 adds eight model architectures including Meta's 816B-parameter multimodal Muse Spark Open, InclusionAI's Ling 3.0 Flash hybrid MoE, Baidu's UnlimitedOcr, and MOSS-Transcribe-Diarize. It also removes deprecated cache utility methods and cross-model imports, raises the minimum kernels version to 0.17.2, and changes how LUKE and mLUKE tokenizers treat entity special tokens.

Read more ↗
Transformers.js · v4.3.1

Adds support for EmbeddingGemma 2, an open multimodal embedding model that maps text, images, video, and audio into a single unified 768-dimensional vector space. Text search works via the feature-extraction pipeline, while other modalities use AutoProcessor and AutoModel directly, with all inputs comparable through cosine similarity.

Read more ↗
Transformers · v5.19.0

MoE models that compute router logits now return them when output_router_logits=True, changing existing outputs, and the "paged|" prefix for SDPA and flash attention is deprecated in favor of setting the regular attention implementation. Adds EmbeddingGemma2, a multimodal embedding model handling text, images, audio, and video in a shared 768-dimensional space with Matryoshka truncation.

Read more ↗
Datasets · v5.1.0

Datasets 5.1.0 adds the Vortex columnar format, Harbor RL environments, and biological formats including FASTA, FASTQ, GenBank, PDB, and mmCIF with BioSequence/BioStructure decoding. Fixes include an archive path check that allowed sibling-directory escapes, disallowed HDF5 external links, and an infinite-repetition bug in empty iterable datasets.

Read more ↗
Transformers · v5.18.0

New model additions include Nemotron 3 Diarization (streaming speaker diarization, up to eight speakers), NemotronH Omni (joint text/image/video/audio reasoning), HyperCLOVAX Vision V2, and the GTE BERT-style encoder family. The release also carries flagged breaking changes across ROCm gpt-oss attention routing, DETR image processing, indexer layer_type remapping, vLLM video token counting, DINO modernization, and a Kernels version bump, plus a long tail of bug fixes spanning MoE expert parallelism, Qwen2.5-VL temporal RoPE, and DeepSeek-OCR-2 patching.

Read more ↗
Latest
Nov 24, 2026