Zum Inhalt springen

Hugging Face Release Notes

Einträge
98
Quellen
3
Zuletzt aktualisiert

Folge Hugging Face, um die Release Notes in deinen Feed zu holen.

Transformers von Hugging Face

Release v5.26.0

New Model additions

Qwen4

<img width="4096" height="2731" alt="image" src="https://github.com/user-attachments/assets/a8d39373-304f-42be-aa6e-bf883798e5e3" />

Qwen4 is a model that combines Gated DeltaNet and Qwen Sparse Attention with GatedResidual connections and a dense SwiGLU feed-forward network. In Hugging Face Transformers, Qwen4ForCausalLM handles text generation, and Qwen4ForConditionalGeneration handles image and video inputs. The documentation shows usage with the Qwen/Qwen4-27B checkpoint.

Links: Documentation

  • Add qwen4 (#51678) by @vasqu in #51678

Qwen4 MoE

Qwen4 MoE uses the mixture-of-experts and per-layer embedding architecture described in Qwen4-Exp. Qwen4MoeForCausalLM handles text generation, and Qwen4MoeForConditionalGeneration handles image and video inputs. The documentation gives no further detail on the model's capabilities, training, or sizes.

Links: Documentation

  • Add qwen4 (#51678) by @vasqu in #51678

Molmo3

<img width="774" height="308" alt="image" src="https://github.com/user-attachments/assets/91d60404-86f9-4428-a8af-eb191dba64ff" /> …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Patch release v5.25.1

Patch release v5.25.1

A mix of very different issues, some tokenizers, modeling, and kernels. See the full list below:

  • Honor tokenizer-configured control-token sanitization in chat templates (#51599) by @younggyoseo
  • Fix Gemma 4 per-layer inputs under tensor parallelism (#51566) by @dacorvo
  • Fix activate_past_recording default value (#51640) by @Cyrilvallez
  • [kernels] Use mamba-ssm v6 and flash-attn4 v2 (#51587) by @kashif
  • [Kernels] Adjust kernels compat (#51621) by @vasqu

Full Changelog: https://github.com/huggingface/transformers/compare/v5.25.0...v5.25.1

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Release v5.25.0

Release v5.25.0

New Model additions

Ergo

<img width="1436" height="772" alt="image" src="https://github.com/user-attachments/assets/54729412-44ef-48f6-8ea1-4b8d3d5c88bc" />

Amazon Ergo is a frontier open-weights model for software engineering and agentic workflows. Ergo is designed to tackle complex, long-running tasks while being fast and cost efficient. Ergo is a 1.1 trillion parameter mixture-of-experts model with 55 billion active parameters and a 1M-token context window.

Links: Documentation | Model weights | Official Post

  • Add new model Ergo (#51575) by @jfc4050 in #51575

Kolibri1_1

<img width="894" height="907" alt="image" src="https://github.com/user-attachments/assets/31bf5fc0-4c89-4af3-84a4-e38508fcbd78" /> …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Patch release v5.24.1

Patch release v5.24.1

A patch to fix a bunch of stuff for vLLM, a few distributed issues, and some model fixes (llama4, dory); see the full list

vLLM related

  • Fix backward compatibility of the cache rename for remote code (#51085) by @hmellor
  • Restore modeling_attn_mask_utils for remote code (one-off to unblock vLLM) (#51124) by @hmellor
  • Expose past_key_values in MBartDecoderLayer.forward signature for remote code (#51177) by @hmellor
  • [OmniASR] Support a padding_mask kept on the CPU in the audio encoder (#51100) by @El-euchidali

Model fixes

  • Fix Llama4 forward crash on missing image_outputs (#51144) by @kylesayrs
  • Fix dory static cache (#50993) by @ArthurZucker

Distributed

  • Allow expert parallelism alone with tp_plan={} (#50996) by @3outeille
  • Fix strided checkpoint reads on PyTorch 2.9 (#51042) by @satsuki2486441738

Full Changelog: https://github.com/huggingface/transformers/compare/v5.24.0...v5.24.1

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Release v5.24.0

Release v5.24.0

New Model additions

Inkling 2 Mini

<img width="80%" alt="image" src="https://github.com/user-attachments/assets/beefb5e0-39a9-4205-ab07-0ee707af95f2" />

Inkling 2 Mini is a multimodal model from Thinking Machines Lab that accepts text and image inputs and generates text outputs. It is a smaller sibling of Inkling 2 Small, added in v5.23.0. It has 24 decoder layers instead of 48, and compensates with a looping mechanism in which layers 6 to 17 run three times. A learned message-passing mechanism mixes the residuals of the previous pass into the attention and mixture-of-experts inputs of each loop layer. The decoder has a hidden size of 2304 and routes each token to 8 of 128 experts. The image encoder, tokenizer and processor are the same as Inkling 2 Small's.

A research checkpoint (TML-d24-varloop-research) has the same architecture but supports a variable number of loop passes. Fewer passes are faster, and more passes improve quality. Both checkpoints contain NVFP4 and MXFP8 quantized layers, which are dequantized at load time.

Links: Documentation | Blog Post | HF Blog Post

  • Add Inkling2 Mini (#51050) by @guarin

Apertus 1.5 …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Release v5.23.0

Release v5.23.0

New Model additions

Inkling2

<img width="1200" height="675" alt="image" src="https://github.com/user-attachments/assets/9115e142-1be3-4f79-a51d-ea0e5c25b152" />

Inkling 2 Small is a multimodal model from Thinking Machines Lab that accepts text and image inputs and generates text outputs, and it is intended for use in English and other languages and across multiple coding languages. Its language backbone has 48 mixture-of-experts decoder layers, each routing tokens to 8 of 384 experts, for 594B total and 17B active parameters. It keeps the Inkling decoder (learned relative attention, short causal convolutions, mixture-of-experts layers) and adds block attention residuals, gated attention with a learned sink, and dynamic key/value convolutions. Images are encoded by a Perception Encoder-based vision transformer and projected into the language model embeddings, one embedding per 40x40 pixel patch.

Links: Documentation | Blog Post

  • Add inkling2 (#50682) by @guarin in #50682

JEV …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.43.0: MiniMax-H3-Image, Pika H3 Flex, P-H3-Image, Kandinsky S2V, and PAN 2

[!TIP] This release adds five modular model integrations for image generation, editing, video with audio, speech-driven animation, and world simulation. It also improves attention backends, tensor parallelism, LoRA handling, and checkpoint saving.

MiniMax-H3-Image

MiniMax-H3-Image supports text-to-image generation and editing with one or more reference images. The integration includes a dedicated image transformer and autoencoder, with a fixed six-step sampling schedule and distilled guidance. A separate prompt-enhancement workflow expands short requests and suggests an aspect ratio.

Load it through ModularPipeline.from_pretrained(...), then call load_components(...). The MiniMax-H3-Image documentation covers reference-image prompts, output sizes, prompt enhancement, and component offloading.

Pika H3 Flex

Pika H3 Flex builds on MiniMax-H3 to generate video and synchronized stereo audio in six steps. It supports text prompts, first and/or last frames, and multimodal references through separate modular workflows. The integration includes LoRA adapter loading and a guide to sharing already-loaded MiniMax-H3 components between the two pipelines.

See the Pika H3 Flex documentation for workflow selection, adapter loading, and component reuse.

P-H3-Image …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

v5.22.0: Mistral Large 4 (Le Chonk)

New Models

Mistral Large 4 (Le Chonk)

<img width="1329" height="780" alt="image" src="https://github.com/user-attachments/assets/1cff9ca7-19e3-4622-8db6-fb1cfa842579" />

Mistral Large 4 is Mistral's largest and most capable model to date: a 1 trillion-parameter natively multimodal Mixture-of-Experts model with 49 billion active parameters per token (52 billion including embeddings and output layers), trained from scratch on 3,800 NVIDIA Grace Blackwell GPUs in Mistral's own datacenters in Europe.

Mistral Large 4 unifies instruction following, reasoning, coding, and agentic workflows in a single set of weights. While a generalist model, it shows especially good performance on workloads such as cybersecurity, finance, and law, and it surpasses frontier closed models on visual grounding. It is natively fluent in 160+ languages, including every official language of the European Union.

Key Features

Mistral Large 4 includes the following architectural choices:

  • ~1T total / ~52B active parameters: granular Mixture-of-Experts with 128 routed experts (4 active per token) and 1 shared expert.
  • 1M context length, for long-context workloads.
  • Multimodal input: accepts text and image input, with text output. Pixtral-style vision encoder trained to handle variable image sizes and aspect ratios.
  • Instruct and Reasoning functionalities with function calls, reasoning effort configurable per request. …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

v0.42.1 — fix component resolution in from_pretrained to prevent trust_remote_code bypass

This is a security release. See GHSA-4prv-5hj7-c2xr for details.

This patch release fixes how a component's declared library name is resolved when loading with from_pretrained.

Pipelines and models declare each component as a ["<library>", "<class>"] pair in model_index.json / config.json. This release changes how that library name is resolved across the DiffusionPipeline, AutoModel, and ModularPipeline loading paths, and adds a clearer error when the declared class is not found in the resolved module.

All users on 0.42.0 are encouraged to upgrade:

pip install diffusers==0.42.1

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Release: v5.21.0

Release v5.21.0

New Model additions

MiniCPM-OCR

MiniCPM-OCR is a document-understanding model from OpenBMB's MiniCPM-V family. It keeps the MiniCPM-V 4.6 architecture, which pairs a SigLIP vision encoder and a window-attention merger with a Qwen3.5 language model. It is specialized for reading text-dense images such as scanned pages, screenshots, receipts and tables.

Links: Documentation | Paper

  • Feat test (#49920) by @guarin in #49920

Flint

<img width="3200" height="1800" alt="flint_benchmarks_nvfp4" src="https://github.com/user-attachments/assets/c45955fb-dfcc-4266-8223-b0d70efb9a5b" />

Flint is Recursive's mixture-of-experts language model. Compared to a standard SwiGLU MoE transformer such as Qwen3-MoE, it uses hybrid attention (sliding-window attention with rotary embeddings over the current token and the previous 512 tokens in most layers, and full attention without positional encoding in the remaining layers). It also has learned attention sinks, as in GPT-OSS, with per-head RMS-normalized queries and keys. Each sparse layer routes a token to 6 of 256 experts by sigmoid score and adds an ungated shared expert, and the first two layers are dense.

Links: Documentation …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.42.0: FLUX.3, Fibo 2.0, Kandinsky 6, and more

[!TIP] This release brings FLUX.3 Image Klein, Bria Fibo 2.0, Kandinsky 6, SANA-WM, and RFD4-Proteína to Diffusers, alongside new adapter support, hardware integrations, and modular pipelines. 🚨 Python 3.11 or newer is now required.

FLUX.3 Image Klein

FLUX.3 Image Klein from Black Forest Labs supports text-to-image generation and editing with one or more reference images. Both the base and step-distilled checkpoints are available through ModularPipeline, with an integrated prompt upsampler that turns short requests into detailed captions and supports layout instructions with bounding boxes. The integration also includes single-file transformer loading and BFL FP8r and NVFP4 checkpoints.

Load the pipeline with ModularPipeline.from_pretrained(...), then load its weights with load_components(...). See the FLUX.3 documentation for examples and guidance on prompt upsampling, editing, and memory use.

Bria Fibo 2.0

Bria Fibo 2.0 supports image generation from structured JSON captions and editing with up to five reference images through BriaFibo2Pipeline. The integration includes the dev checkpoint and the edit-turbo checkpoint, which runs in four steps without classifier-free guidance. See the Fibo 2.0 documentation for the supported prompt formats. …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Patch release v5.20.2

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:

  • Fix inputs dict casting in generate (#49731) by @Cyrilvallez
  • Fix zero expert gradients in bfloat16 with expert parallelism and ep_size < fsdp_size (#49688) by @qgallouedec
  • Declare the input modalities of the VLMs that report text only (#49677) by @qgallouedec
  • Avoid a host-to-device copy in eager_mask (#49684) by @hmellor

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Release v5.20.1

Release v5.20.1

Special surprise including the new model Beam from Reflection AI :partying_face:

<img width="2912" height="1440" alt="Gemini_Generated_Image_ox4hjlox4hjlox4h" src="https://github.com/user-attachments/assets/bfc7ff16-4340-490c-925c-b1512e4ceb32" />

Beam is a token-efficient, frontier-scale model focused on coding and agentic use cases. It is built for teams that want to run a powerful model on their own hardware, infrastructure, or cloud, and customize it to their specific needs.

Links: Documentation

  • Fix small bug in auto mappings (#49664) by @yonigozlan in #49664

Some real patch fixes

We broke loading models on older torch versions :cry: should be fixed now. But here is the full list of fixes

  • Fix HunYuan-VL image assignment during batched generation (#49557) by @Arnav66692
  • Fix DeepGEMM Mega MoE under expert parallelism(#49428) by @IlyasMoutawwakil
  • Fix from_pretrained on torch 2.7: require torch>=2.8 for distributed checkpointing (#49652) by @naveecode
  • Make DtensorShardOperation work on torch 2.6 and 2.7 (#49657) by @hazelxue

Full Changelog: https://github.com/huggingface/transformers/compare/v5.20.0...v5.20.1

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Release v5.20.0

Release v5.20.0

New Model additions

Muse Spark Open

<img width="2400" height="1296" alt="image" src="https://github.com/user-attachments/assets/bf34ea27-0edf-4ded-ba6f-905b04096126" />

Muse Spark Open is a multimodal mixture-of-experts model from Meta that takes text, images, audio, and video as input and generates text. It has 816B total parameters (42B active per token) and a context window of up to 1,048,576 tokens shared across modalities. It is trained for agentic coding tasks such as multi-file editing, debugging, and tool use. Checkpoints are available in BF16 and NVFP4 formats.

Links: Documentation | Blog Post

  • Add Muse Spark Open (#49644) by @guarin in #49644

Ling 3.0

Ling 3.0 Flash is a hybrid Mixture-of-Experts language model from InclusionAI. Its decoder groups five Kimi Delta Attention (KDA) layers with one Multi-head Latent Attention (MLA) layer. The MLA blocks use interleaved rotary embeddings and a head-wise output gate, and the feed-forward blocks combine routed and shared experts. It is natively supported in Transformers as BailingHybridForCausalLM, so it loads without trust_remote_code=True.

Links: Documentation …

Originalquelle(öffnet in neuem Tab)Problem melden

Hugging Face

Schnellerer Tensor-Viewer

Der Tensor-Viewer lädt große shardierte Modelle deutlich schneller, indem der Hub die Header aller Shards in einer einzigen Anfrage sendet statt jeden einzeln zu holen.

Faster Tensor Viewer

[Upvote

16](/login?next=%2Fchangelog%2Ffaster-tensor-viewer)

The tensor viewer now loads much faster on large sharded models. When you open a model's model.safetensors.index.json, the Hub sends the headers of all shards in a single request, so your browser no longer fetches each shard one by one. For example, DeepSeek-V3.2 now loads in 0.45s instead of 9.2s, GLM-5.3 in 0.57s instead of 4.0s, and Qwen2.5-72B-Instruct in 0.27s instead of…

Originalquelle(öffnet in neuem Tab)Problem melden