Skip to content

Update dependency diffusers to v0.42.1 - #39

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/diffusers-0.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/diffusers-0.x

Conversation

@renovate

@renovate renovate Bot commented Mar 5, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
diffusers ==0.36.0 → ==0.42.1 age confidence

Release Notes

huggingface/diffusers (diffusers)

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

Compare Source

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

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

Compare Source

[!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.

LoRA loading and DreamBooth LoRA training examples are included for text-to-image and image editing. Thanks to @​muhammadali-afridi for the model integration (#​14991).

Kandinsky 6

Kandinsky 6 generates video with synchronized audio from text or a reference image through Kandinsky6TI2VAPipeline. A separate Kandinsky6SRPipeline provides video super-resolution. The integration supports Pro and Lite generation checkpoints, including distilled variants, and introduces PiflowScheduler for the distilled models. See the Kandinsky 6 documentation for checkpoint-specific settings and super-resolution requirements. Thanks to @​lefff for the model integration (#​14949).

SANA-WM

SANA-WM generates video from a starting image, a text prompt, and a camera trajectory. Control the camera with explicit poses or a WASD/IJKL action string, then optionally refine the output with the separate LTX-2 refiner. See the SANA-WM documentation for the two-stage workflow.

Thanks to @​lawrence-cj for the integration (#​13881).

RFD4-Proteína

RFD4-Proteína from the Baker Lab and NVIDIA brings biomolecular design to Diffusers. It jointly generates protein sequences and all-atom structures while conditioning on molecular context such as binding targets, motifs, or ligands. The integration includes the pipeline, transformer, autoencoder, schedulers, and LoRA loading. Preparing model inputs and writing CIF files uses the separate rfd4-proteina-prep package; see the RFD4-Proteína documentation.

Thanks to @​kierandidi for the integration (#​15088).

Other highlights
  • Qwen-Image 2.1: new modular pipelines and tensor parallelism support. (#​14976, #​14865)
  • More hardware support: TorchTPU integration covers eager execution, torch.compile, and tensor parallelism. Tensor parallelism also gains Intel XPU support. (#​14039, #​15013)
  • LoKr adapters: load LyCORIS Kronecker-product adapters for Z-Image and FLUX.2, including Klein. (#​14163)
  • LTX-2 motion control: motion_speed controls the positional time base independently of playback frame rate. Use a compatible adapter for speeds far from the default, such as the LTX-2.5 slow-motion control LoRA. (#​14967)
  • KVAE-Audio: AutoencoderKLKVAEAudio adds encoding and decoding for 48 kHz audio. (#​14384)
  • Caching: MagCache now supports FLUX.2. (#​14756)
  • Adapter fixes: Z-Image honors the LoRA scale in joint_attention_kwargs, Qwen-Image applies .alpha scaling to lora_A/lora_B checkpoints, and text encoders correctly report active adapters. (#​15015, #​15016, #​14961)
  • Pipeline fixes: preserve explicit timesteps in FlowMatchEulerDiscreteScheduler, fix Anima text encoder exports and standalone core denoising, and preserve the three-value return from InpaintProcessor.preprocess when no mask is supplied. (#​14956, #​14943, #​14481)
Deprecations and compatibility
  • Python 3.10 support is dropped. Upgrade to Python 3.11 or newer before installing this release. (#​15030)
  • Modular latent outputs: FLUX, Krea 2, and LTX-Video now unpack latents in their core denoise groups. Custom workflows should pass unpacked latents to their decode blocks. The fallback for packed latents is deprecated for removal in 0.47.0. (#​14737)
  • Hub compatibility: the supported huggingface_hub range is now >=1.32.0,<3.0. (#​14863)
  • TorchAO imports: having a TorchAO version older than 0.15 installed no longer breaks model imports. TorchAO quantization still requires version 0.15 or newer. (#​15095)

Thanks to everyone who contributed to this release!

All commits
Significant community contributions

The following contributors added models and capabilities in this release:

Full changelog: v0.41.0 to the v0.42.0 release commit

v0.41.0: Diffusers 0.41.0: QwenImage 2.1 pipeline and more

Compare Source

[!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](http

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 1d2370a to 0775aee Compare March 25, 2026 09:55
@renovate renovate Bot changed the title Update dependency diffusers to v0.37.0 Update dependency diffusers to v0.37.1 Mar 25, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 0775aee to b0abe83 Compare May 1, 2026 12:39
@renovate renovate Bot changed the title Update dependency diffusers to v0.37.1 Update dependency diffusers to v0.38.0 May 1, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from b0abe83 to 96dd06b Compare July 3, 2026 10:28
@renovate renovate Bot changed the title Update dependency diffusers to v0.38.0 Update dependency diffusers to v0.39.0 Jul 3, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from 96dd06b to c628851 Compare August 20, 2026 18:50
@renovate renovate Bot changed the title Update dependency diffusers to v0.39.0 Update dependency diffusers to v0.40.0 Aug 20, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from c628851 to baa25ca Compare October 6, 2026 10:26
@renovate renovate Bot changed the title Update dependency diffusers to v0.40.0 Update dependency diffusers to v0.41.0 Oct 6, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from baa25ca to eb36e4a Compare October 23, 2026 17:31
@renovate renovate Bot changed the title Update dependency diffusers to v0.41.0 Update dependency diffusers to v0.42.0 Oct 23, 2026
@renovate
renovate Bot force-pushed the renovate/diffusers-0.x branch from eb36e4a to 045fd44 Compare October 27, 2026 08:35
@renovate renovate Bot changed the title Update dependency diffusers to v0.42.0 Update dependency diffusers to v0.42.1 Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants