pypi diffusers 0.41.0
Diffusers 0.41.0: QwenImage 2.1 pipeline and more

7 hours ago

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)
  • Cosmos 3: SeaCache support and mixed W8A8/W8A16 denoising for ModelOpt FP8 checkpoints. (#14663, #14664)
  • Modular Diffusers: Wan 2.2 VACE gains modular blocks, and loading from existing local paths avoids unnecessary weight downloads. (#14432, #14797)
  • More single-file loaders: support for Krea 2 and MiniMax-H3. (#14914, #14839)
  • Tests: We removed the monolithic test_pipelines_common.py test suite to establish more modularity and transparent implementation of tests. Refer to #14669 for more details.

Deprecations and compatibility

🚨 ONNX support is deprecated; use Optimum for ONNX Runtime workflows. (#14658)

Previously deprecated APIs have been removed, including the LuminaText2ImgPipeline and Lumina2Text2ImgPipeline aliases. Use LuminaPipeline and Lumina2Pipeline instead. Older integrations should review the removed code paths before upgrading.

Thanks to everyone who contributed to this release!

All commits

Significant community contributions

The following contributors have made significant changes to the library over the last release:

  • @dg845
    • [docs] LTX-2.5 Modular Pipeline Docs (#14450)
    • [tests] Add Config to Exclude Modules from Leaf-Level Group Offloading (#14564)
    • Move LTX2Guidance Guider to guiders/ Folder (#14558)
    • Fix Ideogram 4 Callback Handling and Tests (#14621)
    • [tests] Split Pipeline Group Offloading Block-Level and Leaf-Level Tests (#14635)
    • [Cosmos 3] Fix Cosmos 3 Group Offloading Tests (#14693)
    • Fix PriorTransformer Group Offloading Bug (#14695)
  • @akshan-main
    • refactor bria pipeline tests to the new mixin structure (#14547)
    • refactor bria fibo edit pipeline tests to the new mixin structure (#14577)
    • refactor bria fibo pipeline tests to the new mixin structure (#14570)
    • refactor deepfloyd if pipeline tests to the new mixin structure (#14580)
    • refactor deepfloyd if img2img pipeline tests to the new mixin structure (#14596)
    • refactor deepfloyd if inpainting pipeline tests to the new mixin structure (#14602)
    • refactor deepfloyd if superresolution pipeline tests to the new mixin structure (#14603)
    • refactor deepfloyd if img2img superresolution pipeline tests to the new mixin structure (#14604)
    • refactor deepfloyd if inpainting superresolution pipeline tests to the new mixin structure (#14606)
    • remove dead deepfloyd if shared test mixin (#14611)
    • migrate cogvideox lora tests to the pipeline-level mixins (#14615)
    • migrate wan vace lora tests to the pipeline-level mixins (#14614)
    • migrate wan lora tests to the pipeline-level mixins (#14613)
    • migrate ideogram4 lora tests to the pipeline-level mixins (#14628)
    • refactor lumina2 pipeline tests to the new mixin structure (#14629)
    • add modular blockset for wan 2.2 vace (#14432)
    • fix modular pipeline class resolution for families outside the auto-pipeline mappings (#14736)
  • @kaixuanliu
    • make examples in docs device agnostic (#14414)
  • @alexanderar
    • Add LTX-2.5 DFR pipeline (keyframe slots, spatial detailing, tiled temporal rounds) (#14567)
  • @ConstBob
    • [Cosmos3] Mixed W8A8/W8A16 denoising for ModelOpt FP8 checkpoints (#14664)
  • @naykun
    • Add Qwen-Image 2.1 (#14804)
    • Configure fixed sampling sigmas on QwenImage21Pipeline (#14950)
  • @yzhautouskay
    • Add SeaCache support for Cosmos3 pipelines (#14663)
    • [Cosmos3] Fix Transfer SeaCache artifacts with control CFG (#14897)
    • [Bugfix] Fix Cosmos3 FP8 tensor parallelism (#14921)

Don't miss a new diffusers release

NewReleases is sending notifications on new releases.