Zum Inhalt springen

Diffusers Updates & Release Notes

Einträge
38
Quellen
1
Zuletzt aktualisiert

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

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

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

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

Diffusers von Hugging Face

Diffusers 0.41.0: Qwen-Image 2.1 und neue LTX-2.5-DFR-Pipelines

Diffusers 0.41.0 integriert Qwen-Image 2.1 mit Text-zu-Bild-Generierung, Bildbearbeitung, nativer Transparenz (RGBA) und LoRA-Training und ergänzt unter anderem Tensor-Parallel-Checkpoint-Loading mit geringerem Speicherbedarf sowie neue LTX-2.5-DFR-Pipelines.

[!TIP] This release brings Qwen-Image 2.1 to Diffusers, with text-to-image generation, image editing, native transparency, and LoRA training.

Starting with this release, we’re adopting the Transformers release philosophy: coordinating minor releases around new model integrations, while including the other changes merged since the previous release. Patch releases remain focused on fixes. See our release policy.

Qwen-Image 2.1

Qwen-Image 2.1 unifies image generation and editing in one model. Its visual generation component has 7B parameters, and it supports multiple reference images and native RGBA output for transparent images. Check out the docs for more details.

Thanks to @naykun for the model integration (#14804).

Other highlights

  • Tensor-parallel checkpoint loading: each rank reads its own slice of sharded weights directly, reducing the memory needed during loading. (#14544)
  • LTX-2.5 DFR: new pipelines support generation with keyframe slots and composable spatial and temporal refinement. (#14567) …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.40.0: Neue Pipelines und Tensor-Parallelismus

Diffusers 0.40.0 bringt neue Pipelines wie LTX2.5, MiniMax H3 und Wan Animate 2, erklärt Modular Diffusers für stabil und bietet minimale Unterstützung für Tensor-Parallelismus.

[!TIP] This release features several new pipelines, including LTX2.5, MiniMax H3, and Wan Animate 2. We're also graduating Modular Diffusers out of the experimental phase and announcing its stable support. Additionally, this release includes minimal support for tensor-parallel. There's a lot more that went down in this release. So, please consult the notes for details.

New Pipelines

MiniMax-H3

MiniMax-H3 generates video and its soundtrack together. A single transformer denoises one packed sequence containing the text conditioning, the conditioning media, and the target video and audio latents — there is no separate vocoder and no post-hoc audio pass. Its conditioner is a Qwen3VLForConditionalGeneration whose unnormalized 50th-decoder-layer hidden state is read instead of the last one.

MiniMax-H3 is integrated as Modular Diffusers blocks only — MiniMaxH3Blocks and their MiniMaxH3ModularPipeline are the whole integration. The conversion ships both checkpoint partitions in one repository and exposes three workflows (t2va, fl2va, ref2va) that can be pruned at from_pretrained time so only that task's components are declared and downloaded.

MiniMax Music 3 …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.39.0 mit neuen Bild- und Video-Pipelines

Diffusers 0.39.0 führt neue Pipelines ein, darunter NVIDIAs Cosmos 3 als einheitliches World Foundation Model und das Text-zu-Bild-Modell Ideogram 4 mit LoRA-Unterstützung, außerdem Verbesserungen an der Kernbibliothek.

New Pipelines

Cosmos 3

Cosmos 3 is NVIDIA's unified world foundation model (WFM) for Physical AI — a single omni-model built on a Mixture-of-Transformers (MoT) architecture that combines world generation, physical reasoning, and action generation, replacing the separate Predict, Reason, and Transfer models from earlier Cosmos releases. A single Cosmos3OmniTransformer runs a Qwen-style language model in parallel with a diffusion generation pathway, joined by a 3D multimodal RoPE. This release also lands video-to-video and action-conditioned generation, and a sound encoder.

Thanks to @atharvajoshi10, @yzhautouskay, and @MaciejBalaNV for the contributions.

Ideogram 4

Ideogram 4 is a flow-matching text-to-image model that uses a multimodal text encoder and an asymmetric classifier-free guidance scheme: a dedicated unconditional_transformer produces the negative branch with zeroed text features, while the main transformer consumes the full packed text + image sequence. The pipeline ships with structured prompt upsampling and LoRA loading support. …

Originalquelle(öffnet in neuem Tab)Problem melden

Diffusers von Hugging Face

Diffusers 0.38.0 mit neuen Bild- und Audio-Pipelines

Diffusers 0.38.0 ergänzt neue Pipelines wie LLaDA2, Nucleus-MoE, Ernie-Image und LongCat-AudioDiT sowie Verbesserungen an der Kernbibliothek.

New Pipelines

LLaDA2

LLaDA2 is a family of discrete diffusion language models that generate text through block-wise iterative refinement. Instead of autoregressive token-by-token generation, LLaDA2 starts with a fully masked sequence and progressively unmasks tokens by confidence over multiple refinement steps.

Nucleus-MoE

NucleusMoE-Image is a 2B active 17B parameter model trained with efficiency at its core. Our novel architecture highlights the scalability of a sparse MoE architecture for Image generation.

Thanks to @sippycoder for the contribution.

Ernie-Image

ERNIE-Image is a powerful and highly efficient image generation model with 8B parameters.

Thanks to @HsiaWinter for the contribution.

LongCat-AudioDiT …

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