Change8

Diffusers

AI & LLMs

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

Latest: v0.36.08 releases13 common errorsView on GitHub

Release History

v0.36.06 fixes13 features
Dec 8, 2025

This release introduces several major image and video pipelines (Flux2, Hunyuan 1.5, Sana-Video), high-performance attention backends via the 'kernels' library, and the TaylorSeer caching method for significant speed improvements.

v0.35.23 fixes1 feature
Oct 15, 2025

This patch release focuses on bug fixes for model initialization, device placement for Wan and LTX models, and ensuring compatibility with PyTorch 2.3.1.

v0.35.11 feature
Aug 20, 2025

This release introduces improvements to the Qwen-Image Edit model within the diffusers library.

v0.35.06 fixes12 features
Aug 19, 2025

This release introduces major new pipelines (Wan 2.2, Flux-Kontext, Qwen-Image), significant performance optimizations via regional compilation and GGUF CUDA kernels, and an experimental modular pipeline system.

v0.34.01 fix10 features
Jun 24, 2025

This release introduces several major video and image generation pipelines including Wan VACE, Cosmos Predict2, and Chroma, while significantly improving torch.compile performance and memory optimization techniques.

v0.33.11 fix
Apr 10, 2025

This release provides a bug fix for the Wan pipeline to correctly handle ftfy imports.

v0.33.010 features
Apr 9, 2025

This release introduces several major video and image generation pipelines including Wan2.1, LTX Video 0.9.5, and Lumina2, alongside significant memory optimization features like Layerwise Casting and Group Offloading.

v0.32.25 fixes4 features
Jan 15, 2025

This patch release fixes regressions in Flux single-file and LoRA loading (including 4-bit support) and resolves several bugs in HunyuanVideo related to batch processing and LoRA compatibility.

Common Errors

CalledProcessError5 reports

CalledProcessError in diffusers often arises from external commands (like `accelerate launch`) failing due to missing dependencies or incorrect environment setup. Ensure all required packages specified in `requirements.txt` or the script itself are installed using `pip install -r requirements.txt`, and that your environment (e.g., CUDA, system libraries) is correctly configured for the executed command. Double-check that any specified paths or commands executed within the training script are valid and accessible within the environment.

NotImplementedError4 reports

The "NotImplementedError" often arises when attempting to load specific model types or configurations (like meta tensors) with a method that lacks the necessary implementation. To resolve this, either use the correct loading function tailored for the specific model format (e.g., safetensors), ensure all required dependencies are installed, or explicitly move the model to the target device after loading. If loading GGUF, verify that the loading script is specifically designed to handle that format.

ModuleNotFoundError3 reports

This error usually arises from missing dependencies or an incomplete installation of the diffusers library. Ensure that all required packages, especially transformers and accelerate, are installed using `pip install diffusers transformers accelerate`. If the error persists, try reinstalling diffusers in a fresh environment or after upgrading pip with `pip install --upgrade pip`.

OutOfMemoryError3 reports

OutOfMemoryError in diffusers primarily results from exceeding GPU memory capacity during large image generation or complex model operations. Fix this by reducing batch size, image resolution, or using techniques like memory-efficient attention (xFormers) and model offloading. Employ torch.cuda.empty_cache() periodically to clear unused memory and consider gradient checkpointing to reduce memory footprint.

TypeInferenceError1 report

TypeInferenceError in diffusers ONNX conversion usually arises due to dynamic shapes not being fully defined during tracing. Fix this by explicitly specifying static input shapes (e.g., using `static_shapes=True` where available or manual shape definition in `torch.onnx.export`) to allow proper type inference during ONNX export; alternatively, set dynamic axes within the `dynamic_axes` parameter of `torch.onnx.export` to guide shape inference.

EntryNotFoundError1 report

The "EntryNotFoundError" in diffusers usually means a required file specified in the model's configuration (like "scheduler", "tokenizer", etc.) is missing from the downloaded checkpoint. To fix this, ensure you have downloaded the complete model and its associated files from the Hugging Face Hub, and that all files are located in the correct subdirectory within the downloaded model directory. Consider redownloading the model using `diffusers.utils.hub_utils.init_git_repo_and_clone_from_hf_hub` or specifying `local_files_only=False` when loading the pipeline if you suspect a partial download.

Related AI & LLMs Packages

Subscribe to Updates

Get notified when new versions are released

RSS Feed