Instructions to use chestnutlzj/Edit-R1-Qwen-Image-Edit-2509 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use chestnutlzj/Edit-R1-Qwen-Image-Edit-2509 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("fill-in-base-model", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("chestnutlzj/Edit-R1-Qwen-Image-Edit-2509") 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] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
Commit History
-
adds 'lora' tag (#3)
Verified signature- adds 'lora' tag (b942de201d0993fa64be1d442a80670eba7d3c15) Co-authored-by: Linoy Tsaban <linoyts@users.noreply.huggingface.co>6f58a70
-
Update model card with Uniworld-V2 paper link and main code repository (#1)
Verified signature- Update model card with Uniworld-V2 paper link and main code repository (75c3cb381f8fa5f7769f7e7a3ace64d8884f0a75) Co-authored-by: Niels Rogge <nielsr@users.noreply.huggingface.co>3f2f546
-
Upload README.md with huggingface_hub
Verified signature4fe6d22 -
Upload adapter_config.json with huggingface_hub
Verified signature6044019 -
Upload adapter_model.safetensors with huggingface_hub
Verified signaturecb63d9c -
initial commit
Verified signature92e96be