Text-to-Image
Diffusers
English
Chinese
custom_qwen_image
image-generation
multimodal
qwen
quantized
nunchaku
comfyui
Instructions to use QuantFunc/Nunchaku-Qwen-Image-2512 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use QuantFunc/Nunchaku-Qwen-Image-2512 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("QuantFunc/Nunchaku-Qwen-Image-2512", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Diffusers nunchaku example code?
#5
by gabbo1995 - opened
Hello! Thank you very much for this! Could you provide please an example code to use with nunchaku? Something like this:
https://github.com/nunchaku-ai/nunchaku/blob/main/examples/v1/qwen-image-edit-2509-lightning.py
?
Thank you very much.
i will offer the sample code this two days
Any update on this? I'm especially interested in getting 4 step lora working using diffusers and this, but haven't figured out how yet.