Instructions to use linoyts/Qwen-Image-2.1-DMD2-2steps with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use linoyts/Qwen-Image-2.1-DMD2-2steps 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-2.1", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("linoyts/Qwen-Image-2.1-DMD2-2steps") 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
Download assets/edit_space_examples.png from linoyts/Qwen-Image-2.1-DMD2-2steps: direct link, hf CLI and curl.
- Browser
- Download file 1.57 MB
-
https://huggingface.co/linoyts/Qwen-Image-2.1-DMD2-2steps/resolve/main/assets/edit_space_examples.png
- Command line
-
hf download hf://linoyts/Qwen-Image-2.1-DMD2-2steps/assets/edit_space_examples.png
-
curl -L -o edit_space_examples.png https://huggingface.co/linoyts/Qwen-Image-2.1-DMD2-2steps/resolve/main/assets/edit_space_examples.png
1.57 MB

- Xet hash:
- 86ebf5c772baba078b262377257da00b727cda89ad3fafec03ec475e207a35f4
- Size of remote file:
- 1.57 MB
- SHA256:
- 0804f39d591fea4954abfa55f3d952607441c1891c52349bddfcc50d10288ba2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.