Instructions to use OPPOer/Qwen-Image-Edit-2509-Pruning with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OPPOer/Qwen-Image-Edit-2509-Pruning 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("OPPOer/Qwen-Image-Edit-2509-Pruning", 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] - Notebooks
- Google Colab
- Kaggle

- Xet hash:
- 51b8f4638e6e36782093a3e6d6e6a8174d91eb9289d82c51018fa5b846d21a33
- Size of remote file:
- 169 kB
- SHA256:
- b13002638526490e39633e9e6fcaf308aeb5ca3a14a329a7bb5782ca3fc845c4
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.