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

Transformers 5.6.0: Neue Modelle OpenAI Privacy Filter und QianfanOCR

Transformers 5.6.0 fügt den OpenAI Privacy Filter zur Erkennung und Maskierung personenbezogener Daten in Text sowie das OCR-Modell QianfanOCR von Baidu hinzu.

Release v5.6.0

New Model additions

OpenAI Privacy Filter

OpenAI Privacy Filter is a bidirectional token-classification model for personally identifiable information (PII) detection and masking in text. It is intended for high-throughput data sanitization workflows where teams need a model that they can run on-premises that is fast, context-aware, and tunable. The model labels an input sequence in a single forward pass, then decodes coherent spans with a constrained Viterbi procedure, predicting probability distributions over 8 privacy-related output categories for each input token.

Links: Documentation

  • [Privacy Filter] Add model (#45580) by @vasqu in #45580

QianfanOCR

Qianfan-OCR is a 4B-parameter end-to-end document intelligence model developed by Baidu that performs direct image-to-text conversion without traditional multi-stage OCR pipelines. It supports a broad range of prompt-driven tasks including structured document parsing, table extraction, chart understanding, document question answering, and key information extraction all within one unified model. The model features a unique "Layout-as-Thought" capability that generates structured layout representations before producing final outputs, making it particularly effective for complex documents with mixed element types. …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.4: Fixes für Tokenizer, Training und Qwen2.5-VL

Das Patch-Release 5.5.4 behebt eine Tokenizer-Regression bei Kimi-K2.5, einen IndexError mit DeepSpeed ZeRO-3 bei aktiven Rotary-Kernels, ein Problem bei GAS im Training und eine fälschlich auf Standbilder angewandte temporale RoPE-Skalierung bei Qwen2.5-VL.

Patch release v5.5.4

This is mostly some fixes that are good to have asap, mostly for tokenizers; ** Fix Kimi-K2.5 tokenizer regression and _patch_mistral_regex Attribute… (#45305) by ArthurZucker

For training: ** Fix #45305 + add regression test GAS (#45349) by florian6973, SunMarc ** Fix IndexError with DeepSpeed ZeRO-3 when kernels rotary is active (#…) by ArthurZucker

And for Qwen2.5-VL : ** Fix Qwen2.5-VL temporal RoPE scaling applied to still images (#45330) by Kash6, zucchini-nlp

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.3: device_map-Unterstützung für Gemma4 repariert

Das kleine Patch-Release 5.5.3 behebt die Unterstützung von device_map (auto) für Gemma4.

Small patch release to fix device_map support for Gemma4! It contains the following commit:

  • [gemma4] Fix device map auto (#45347) by @Cyrilvallez

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.2: Gemma4-Optimierungen und Fixes

Das Patch-Release 5.5.2 optimiert gemma4, behebt die Inferenz mit use_cache=False trotz geteilter k/v-Zustände zwischen Layern, ergänzt MoE im Gemma4-TP-Plan und korrigiert Conversion Mappings für VLMs mit uneinheitlich serialisierten Gewichtsnamen.

Small patch dedicated to optimizing gemma4, fixing inference with use_cache=False due to k/v states sharing between layers, as well as conversion mappings for some models that would inconsistently serialize their weight names. It contains the following PRs:

  • Add MoE to Gemma4 TP plan (#45219) by @sywangyi and @Cyrilvallez
  • [gemma4] Dissociate kv states sharing from the Cache (#45312) by @Cyrilvallez
  • [gemma4] Remove all shared weights, and silently skip them during loading (#45336) by @Cyrilvallez
  • Fix conversion mappings for vlms (#45340) by @Cyrilvallez

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.1: Fixes für vLLM und Gemma4

Das kleine Patch-Release 5.5.1 behebt den Export für gemma4, ergänzt Integrationstests und korrigiert vLLM-CI-Probleme.

Patch release v5.5.1

This patch is very small and focuses on vLLM and Gemma4!

** Fix export for gemma4 and add Integration tests (#45285) by @Cyrilvallez ** Fix vllm cis (#45139) by @ArthurZucker

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.5.0: Neues Modell Gemma4

Version 5.5.0 fügt das multimodale Modell Gemma4 hinzu, das Bilder unterschiedlicher Größe mit einem festen Token-Budget verarbeitet und dafür eine Bildverarbeitung sowie 2D-RoPE nutzt.

Release v5.5.0

<img width="2786" height="1504" alt="image" src="https://github.com/user-attachments/assets/6c8c878f-042b-4858-9f64-73fd9ccd7e4b" />

New Model additions

Gemma4

Gemma 4 is a multimodal model with pretrained and instruction-tuned variants, available in 1B, 13B, and 27B parameters. The architecture is mostly the same as the previous Gemma versions. The key differences are a vision processor that can output images of fixed token budget and a spatial 2D RoPE to encode vision-specific information across height and width axis.

<img width="1478" height="1374" alt="image" src="https://github.com/user-attachments/assets/9d88bd1b-02ea-4829-b7d0-fac0e347d436" />

You can find all the original Gemma 4 checkpoints under the Gemma 4 release.

The key difference from previous Gemma releases is the new design to process images of different sizes using a fixed-budget number of tokens. Unlike many models that squash every image into a fixed square (like 224×224), Gemma 4 keeps the image's natural aspect ratio while making it the right size. There a a couple constraints to follow:

  • The total number of pixels must fit within a patch budget
  • Both height and width must be divisible by 48 (= patch size 16 × pooling kernel 3)

[!IMPORTANT] …

Originalquelle(öffnet in neuem Tab)Problem melden

Transformers von Hugging Face

Transformers 5.4.0: PaddlePaddle-Modelle, Mistral 4, VidEoMT und mehr

Version 5.4.0 ergänzt neue Modelle, darunter VidEoMT, einen leichtgewichtigen Encoder-only-Transformer für Online-Videosegmentierung, sowie UVDoc, PI0, SLANeXt, Mistral 4 und Jina Embeddings v3.

New Model additions

VidEoMT

<img width="1480" height="460" alt="image" src="https://github.com/user-attachments/assets/bec6fc25-b0ab-4227-8c2b-a838554f37f3" />

Video Encoder-only Mask Transformer (VidEoMT) is a lightweight encoder-only model for online video segmentation built on a plain Vision Transformer (ViT). It eliminates the need for dedicated tracking modules by introducing a lightweight query propagation mechanism that carries information across frames and employs a query fusion strategy that combines propagated queries with temporally-agnostic learned queries. VidEoMT achieves competitive accuracy while being 5x-10x faster than existing approaches, running at up to 160 FPS with a ViT-L backbone.

Links: Documentation | Paper

  • Add VidEoMT (#44285) by @NielsRogge in #44285

UVDoc

<img width="1765" height="875" alt="image" src="https://github.com/user-attachments/assets/365e510e-8fb8-46cb-8f4b-e8b7082f0ae2" /> …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers Version 0.37.1

Das Update behebt das Laden von ModularPipelines mit AutoModel-Typhinweisen, das Laden von Flux-Klein-LoRA und einen ungeschützten torchvision-Import in Cosmos Predict 2.5.

  • Fix for loading ModularPipelines with AutoModel type hints in their modular_model_index.json #13271
  • Fix Flux Klein LoRA loading #13313
  • Fix unguarded torchvision import in Cosmos Predict 2.5 #13321

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.37.0 mit Modular Diffusers und neuen Pipelines

Diffusers 0.37.0 führt Modular Diffusers zum Zusammenstellen von Pipelines aus wiederverwendbaren Blöcken ein und bringt neue Bild- und Video-Pipelines, darunter Z Image Omni Base, sowie Verbesserungen an der Kernbibliothek.

Modular Diffusers

Modular Diffusers introduces a new way to build diffusion pipelines by composing reusable blocks. Instead of writing entire pipelines from scratch, you can now mix and match building blocks to create custom workflows tailored to your specific needs! This complements the existing DiffusionPipeline class, providing a more flexible way to create custom diffusion pipelines.

Find more details on how to get started with Modular Diffusers here, and also check out the announcement post.

New Pipelines and Models

Image 🌆

  • Z Image Omni Base: Z-Image is the foundation model of the Z-Image family, engineered for good quality, robust generative diversity, broad stylistic coverage, and precise prompt adherence. While Z-Image-Turbo is built for speed, Z-Image is a full-capacity, undistilled transformer designed to be the backbone for creators, researchers, and developers who require the highest level of creative freedom. Thanks to @RuoyiDufor for contributing this in #12857. …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.36.0: Neue Pipelines, Caching-Methode und Trainingsskript

Diffusers 0.36.0 bringt neue Bild- und Videopipelines wie Flux2, Z-Image und QwenImage Edit Plus, eine neue Caching-Methode, ein neues Trainingsskript und neue auf kernels basierende Attention-Backends.

The release features a number of new image and video pipelines, a new caching method, a new training script, new kernels - powered attention backends, and more. It is quite packed with a lot of new stuff, so make sure you read the release notes fully 🚀

New image pipelines

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.35.2: Fehlerbehebungen für transformers-Modelle und Imports

Version 0.35.2 behebt Fehler beim Laden von transformers-Modellen mit offload_state_dict, ein Importproblem mit TRANSFORMERS_FLAX_WEIGHTS_NAME, die Kompatibilität mit PyTorch 2.3.1 sowie ein Problem mit scale_shift_factor auf der CPU bei Wan und LTX.

All commits

  • Release: v0.35.1-patch by @sayakpaul (direct commit on v0.35.2-patch)
  • handle offload_state_dict when initing transformers models by @sayakpaul in #12438
  • [CI] Fix TRANSFORMERS_FLAX_WEIGHTS_NAME import issue by @DN6 in #12354
  • Fix PyTorch 2.3.1 compatibility: add version guard for torch.library.… by @Aishwarya0811 in #12206
  • fix scale_shift_factor being on cpu for wan and ltx by @vladmandic in #12347
  • Release: v0.35.2-patch by @sayakpaul (direct commit on v0.35.2-patch)

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

🐞 fixes for transformers models, imports,

All commits

  • Release: v0.35.1-patch by @sayakpaul (direct commit on v0.35.2-patch)
  • handle offload_state_dict when initing transformers models by @sayakpaul in #12438
  • [CI] Fix TRANSFORMERS_FLAX_WEIGHTS_NAME import issue by @DN6 in #12354
  • Fix PyTorch 2.3.1 compatibility: add version guard for torch.library.… by @Aishwarya0811 in #12206
  • fix scale_shift_factor being on cpu for wan and ltx by @vladmandic in #12347
  • Release: v0.35.2-patch by @sayakpaul (direct commit on v0.35.2-patch)

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.35.0: Qwen-Image, Flux-Kontext und Wan 2.2

Diffusers 0.35.0 führt die neuen Pipelines Wan 2.2, Flux-Kontext, Qwen-Image und Qwen-Image-Edit sowie neue Trainingsskripte und Verbesserungen im Bedienkomfort ein.

This release comes packed with new image generation and editing pipelines, a new video pipeline, new training scripts, quality-of-life improvements, and much more. Read the rest of the release notes fully to not miss out on the fun stuff.

New pipelines 🧨

We welcomed new pipelines in this release:

  • Wan 2.2
  • Flux-Kontext
  • Qwen-Image
  • Qwen-Image-Edit

Wan 2.2 📹

This update to Wan provides significant improvements in video fidelity, prompt adherence, and style. Please check out the official doc to learn more.

Flux-Kontext 🎇

Flux-Kontext is a 12-billion-parameter rectified flow transformer capable of editing images based on text instructions. Please check out the official doc to learn more about it.

Qwen-Image 🌅

After a successful run of delivering language models and vision-language models, the Qwen team is back with an image generation model, which is Apache-2.0 licensed! It achieves significant advances in complex text rendering and precise image editing. To learn more about this powerful model, refer to our docs. …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.34.0: Neue Bild- und Videomodelle, besseres torch.compile

Diffusers 0.34.0 ergänzt neue Videopipelines wie Wan VACE für kontrollierbare Videogenerierung und Cosmos Predict2 Video2World und verbessert die Unterstützung von torch.compile.

📹 New video generation pipelines

Wan VACE

Wan VACE supports various generation techniques which achieve controllable video generation. It comes in two variants: a 1.3B model for fast iteration & prototyping, and a 14B for high quality generation. Some of the capabilities include:

  • Control to Video (Depth, Pose, Sketch, Flow, Grayscale, Scribble, Layout, Boundary Box, etc.). Recommended library for preprocessing videos to obtain control videos: huggingface/controlnet_aux
  • Image/Video to Video (first frame, last frame, starting clip, ending clip, random clips)
  • Inpainting and Outpainting
  • Subject to Video (faces, object, characters, etc.)
  • Composition to Video (reference anything, animate anything, swap anything, expand anything, move anything, etc.)

The code snippets available in this pull request demonstrate some examples of how videos can be generated with controllability signals.

Check out the docs to learn more.

Cosmos Predict2 Video2World …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.33.0: Neue Modelle, Speicheroptimierungen, Caching und Remote VAEs

Diffusers 0.33.0 bringt neue Videopipelines wie Wan 2.1, LTX Video 0.9.5 mit LTXConditionPipeline und Hunyuan Image to Video sowie Speicheroptimierungen, Caching-Methoden, Remote VAEs und neue Trainingsskripte.

New Pipelines for Video Generation

Wan 2.1

Wan2.1 is a comprehensive and open suite of video foundation models that pushes the boundaries of video generation. The model release includes 4 different model variants and three different pipelines for Text to Video, Image to Video and Video to Video.

  • Wan-AI/Wan2.1-T2V-1.3B-Diffusers
  • Wan-AI/Wan2.1-T2V-14B-Diffusers
  • Wan-AI/Wan2.1-I2V-14B-480P-Diffusers
  • Wan-AI/Wan2.1-I2V-14B-720P-Diffusers

Check out the docs here to learn more.

LTX Video 0.9.5

LTX Video 0.9.5 is the updated version of the super-fast LTX Video model series. The latest model introduces additional conditioning options, such as keyframe-based animation and video extension (both forward and backward).

To support these additional conditioning inputs, we’ve introduced the LTXConditionPipeline and LTXVideoCondition object.

To learn more about the usage, check out the docs here.

Hunyuan Image to Video …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.32.2: Fixes für Flux, LoRA-Laden und HunyuanVideo

Version 0.32.2 behebt Regressionen beim Laden von Comfy-UI-Single-File-Checkpoints für Flux und von LoRAs mit bitsandbytes-4bit-Flux-Modellen, ergänzt unload_lora_weights für Flux Control und behebt Fehler bei HunyuanVideo mit Batchgröße > 1, das nun auch LoRAs aus dem Original-Code laden kann.

Fixes for Flux Single File loading, LoRA loading for 4bit BnB Flux, Hunyuan Video

This patch release

  • Fixes a regression in loading Comfy UI format single file checkpoints for Flux
  • Fixes a regression in loading LoRAs with bitsandbytes 4bit quantized Flux models
  • Adds unload_lora_weights for Flux Control
  • Fixes a bug that prevents Hunyuan Video from running with batch size > 1
  • Allow Hunyuan Video to load LoRAs created from the original repository code

All commits

  • [Single File] Fix loading Flux Dev finetunes with Comfy Prefix by @DN6 in #10545
  • [CI] Update HF Token on Fast GPU Model Tests by @DN6 #10570
  • [CI] Update HF Token in Fast GPU Tests by @DN6 #10568
  • Fix batch > 1 in HunyuanVideo by @hlky in #10548
  • Fix HunyuanVideo produces NaN on PyTorch<2.5 by @hlky in #10482
  • Fix hunyuan video attention mask dim by @a-r-r-o-w in #10454
  • [LoRA] Support original format loras for HunyuanVideo by @a-r-r-o-w in #10376
  • [LoRA] feat: support loading loras into 4bit quantized Flux models. by @sayakpaul in #10578
  • [LoRA] clean up load_lora_into_text_encoder() and fuse_lora() copied from by @sayakpaul in #10495
  • [LoRA] feat: support unload_lora_weights() for Flux Control. by @sayakpaul in #10206
  • Fix Flux multiple Lora loading bug by @maxs-kan in #10388
  • [LoRA] fix: lora unloading when using expanded Flux LoRAs. by @sayakpaul in #10397

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.32.1: Fixes für den TorchAO Quantizer

Version 0.32.1 behebt Fehler des TorchAO Quantizers: Der Import unter PyTorch vor 2.3.0 funktioniert wieder, die Quantisierung wird korrekt ausgeführt und die Verwendung von Device Map löst nun einen Fehler aus.

TorchAO Quantizer fixes

This patch release fixes a few bugs related to the TorchAO Quantizer introduced in v0.32.0.

  • Importing Diffusers would raise an error in PyTorch versions lower than 2.3.0. This should no longer be a problem.
  • Device Map does not work as expected when using the quantizer. We now raise an error if it is used. Support for using device maps with different quantization backends will be added in the near future.
  • Quantization was not performed due to faulty logic. This is now fixed and better tested.

Refer to our documentation to learn more about how to use different quantization backends.

All commits

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.32.0: Neue Video- und Bildpipelines, Quantisierungs-Backends

Diffusers 0.32.0 bringt neue Videopipelines (Mochi-1, Allegro, LTXVideo, HunyuanVideo), neue Bildpipelines wie SANA, neue Quantisierungs-Backends und neue Trainingsskripte.

https://github.com/user-attachments/assets/34d5f7ca-8e33-4401-8109-5c245ce7595f

This release took a while, but it has many exciting updates. It contains several new pipelines for image and video generation, new quantization backends, and more.

Going forward, to provide more transparency to the community about ongoing developments and releases in Diffusers, we will be making use of a roadmap tracker.

New Video Generation Pipelines 📹

Open video generation models are on the rise, and we’re pleased to provide comprehensive integration support for all of them. The following video pipelines are bundled in this release:

Check out this section to learn more about the fine-tuning options available for these new video models.

New Image Generation Pipelines

Originalquelle(öffnet in neuem Tab)Problem melden