Instructions to use Qwen/Qwen-Image-Edit-2511 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Qwen/Qwen-Image-Edit-2511 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline from diffusers.utils import load_image # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image-Edit-2511", dtype=torch.bfloat16, device_map="cuda") prompt = "Turn this cat into a dog" input_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/cat.png") image = pipe(image=input_image, prompt=prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
support for diffusers 0.37.0.dev0
#25
by suparnojit - opened
Summary:
Currently, Qwen Image Edit 2511 only supports diffusers==0.36.0. When using the newer development version diffusers==0.37.0.dev0, compatibility issues arise due to API changes in the Diffusers library.
It would be helpful to add support for diffusers==0.37.0.dev0 (or upcoming stable 0.37 releases), as the newer version introduces improvements and updates that users may want to leverage.
Request:
Please consider updating the integration to ensure compatibility with diffusers==0.37.0.dev0 and future Diffusers releases.
suparnojit changed discussion status to closed