How to use from the
Use from the
Diffusers library
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]

License & Attribution

These are quantized derivative weights of Qwen/Qwen-Image-2512 (Qwen-Image-2512).

  • Modifications: the original weights were quantized (e.g. W4A4 / FP4 / INT4 / FP8) and repackaged for the QuantFunc inference engine โ€” a "modification" under Apache-2.0 ยง4(b).
  • License: Apache License 2.0 (inherited from the base model), included as LICENSE. Upstream copyright and attribution notices are retained.
  • This repository is not affiliated with or endorsed by the upstream model authors.

Disclaimer: "Nunchaku" / "SVDQuant" name the quantization method/format (the open-source SVDQuant work by MIT HAN Lab, Apache-2.0). This repository is an independent re-quantization and is not affiliated with, sponsored by, or endorsed by MIT HAN Lab or the Nunchaku project. Official Nunchaku releases are under the nunchaku-ai / nunchaku-tech namespaces.

QuantFunc

Logo

๐Ÿค— Hugging Face  |  ๐Ÿค– ModelScope  |  ๐Ÿ’ป GitHub  |  ๐Ÿ’ฌ WeChat (ๅพฎไฟก)  |  ๐ŸŽฎ Discord

โšก Qwen-Image-2512 โ€” SVDQ (Nunchaku) pre-quantized text-to-image. 2xโ€“11x faster with the QuantFunc plugin; 100% Nunchaku-ComfyUI compatible.

Offline-quantized Qwen-Image-2512 text-to-image checkpoints in best-quality / balanced / ultimate-speed variants (INT4 & FP4), ready to drop straight into ComfyUI.

Powered by the QuantFunc ComfyUI plugin โ€” the fastest diffusion inference engine:

  • ๐Ÿš€ 2xโ€“11x speedup over standard BF16/FP16 Python pipelines (pre-exported โ†’ even faster loading).
  • โš™๏ธ Native C++/CUDA (libquantfunc.so / quantfunc.dll) with zero Python model dependencies.
  • ๐Ÿงฉ Dual engine (SVDQ offline + Lighting runtime 4-bit), zero-cost LoRA stacking, reference-image editing & inpainting.
  • ๐ŸŸข Full GPU coverage โ€” RTX 20/30/40/50 ยท A100/H100/H200/B100/B200/GB300 ยท RTX 6000 Ada / PRO Blackwell (CUDA 12 & 13); native FP4 on Blackwell.

๐Ÿ‘‰ Install the plugin: https://github.com/RealJonathanYip/ComfyUI-QuantFunc

Introduction

We are excited to share our latest model series based on nunchaku + qwen-image-2512 quantization. These models are carefully optimized to maintain high-quality output while significantly improving inference speed and efficiency. All models are 100% compatible with the nunchaku-comfyui && lora plugin and can be used directly in ComfyUI.

Gallery

Result 6 Result 3
Result 1 Result 2
Result 4 Result 5

Model Checkpoints

Name low_rank Notes
nunchaku_qwen_image_2512_best_quality_fp4 256 Best quality model, suitable for scenarios with extremely high quality requirements
nunchaku_qwen_image_2512_best_quality_int4 256 Best quality model, suitable for scenarios with extremely high quality requirements
nunchaku_qwen_image_2512_ultimate_speed_int4 32 Ultimate speed model, prioritizing inference speed
nunchaku_qwen_image_2512_ultimate_speed_fp4 32 Ultimate speed model, prioritizing inference speed
nunchaku_qwen_image_2512_balance_int4 128 Balanced model, achieving the best balance between quality and speed
nunchaku_qwen_image_2512_balance_fp4 128 Balanced model, achieving the best balance between quality and speed

4 steps workflow

Hereโ€™s a workflow example of integrating 4-step LoRA in ComfyUI. If you donโ€™t need 4-step LoRA, simply remove the LoRA node. work flow

Coming Soon

If you encounter any issues during use, feel free to join our community for feedback:

  • Join our Discord server
  • Scan the QR code below to join our WeChat group

We will add support for build in lora and qwen-image-edit-2511 in approximately one month.

WeChat Group
Downloads last month
2,379
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ 1 Ask for provider support

Model tree for QuantFunc/Nunchaku-Qwen-Image-2512

Quantized
(32)
this model

Space using QuantFunc/Nunchaku-Qwen-Image-2512 1