Downloads · 30 days
2.7K
6% of all-time downloads
ovedrive/Qwen-Image-Edit-2511-4bit
Qwen-Image-Edit-2511-4bit is a image-to-image model from ovedrive. Use it when you need one image transformed into another. It is set up for diffusers. The card lists the license as cc-by-nc-sa-4.0.
This is an NF4 quantized model of Qwen-image-edit-2511 so it can run on GPUs using less than 20GB VRAM. You can run it on lower VRAM like 16GB. There were other NF4 models but they made the mistake of blindly quantizi…
Downloads · 30 days
2.7K
6% of all-time downloads
All-time downloads
42.4K
Public
Parameters
10.9B
16.9 GB on disk
Likes
18
Public
Click a slice to open those files.
.safetensors16.9 GB · 100%
How the weights are stored.
U810.2B · 94%
From the Hugging Face model README
This is an NF4 quantized model of Qwen-image-edit-2511 so it can run on GPUs using less than 20GB VRAM. You can run it on lower VRAM like 16GB. There were other NF4 models but they made the mistake of blindly quantizing all layers in the transformer. This one does not. We retain some layers at full precision in order to ensure that we get quality output.
You can use the original Qwen-Image-Edit parameters.
Model tested: Working perfectly even with 10 steps. Contact: support@JustLab.ai for commercial support, modifications and licensing.
import os
from PIL import Image
import torch
from diffusers import QwenImageEditPlusPipeline
model_path = "ovedrive/Qwen-Image-Edit-2511-4bit"
pipeline = QwenImageEditPlusPipeline.from_pretrained(model_path, torch_dtype=torch.bfloat16)
print("pipeline loaded") # not true but whatever. do not move to cuda
pipeline.set_progress_bar_config(disable=None)
pipeline.enable_model_cpu_offload() #if you have enough VRAM replace this line with `pipeline.to("cuda")` which is 20GB VRAM
image = Image.open("./example.png").convert("RGB")
prompt = "Remove the lady head with white hair"
inputs = {
"image": image,
"prompt": prompt,
"generator": torch.manual_seed(0),
"true_cfg_scale": 4.0,
"negative_prompt": " ",
"num_inference_steps": 20, # even 10 steps should be enough in many cases
}
with torch.inference_mode():
output = pipeline(**inputs)
output_image = output.images[0]
output_image.save("output_image_edit.png")
print("image saved at", os.path.abspath("output_image_edit.png"))
diffusers prevented lora from attaching.Qwen family is the most open and easy to work with model. While it's training data is limited, it also makes it safe for general use and as a lab subject. It has a very good quality. Qwen-Image also works really well with other models for e.g. the outputs can be upscaled to amazing quality using ERSGAN models, specially if you use Qwen-Edit-2511 4bit. BNB is another FOSS toolkit and the huggingface diffusers/transformers library is something I wanted to learn by making useful things. Some might say BNB is outdated, but its flexible.
There are limitations to BNB quanitzed models like its speicifc to Nvidia GPUs and it may not work with finetuning.
The original license and attributions are below.
Qwen-Image is licensed under Apache 2.0.
We kindly encourage citation of our work if you find it useful.
@misc{wu2025qwenimagetechnicalreport,
title={Qwen-Image Technical Report},
author={Chenfei Wu and Jiahao Li and Jingren Zhou and Junyang Lin and Kaiyuan Gao and Kun Yan and Sheng-ming Yin and Shuai Bai and Xiao Xu and Yilei Chen and Yuxiang Chen and Zecheng Tang and Zekai Zhang and Zhengyi Wang and An Yang and Bowen Yu and Chen Cheng and Dayiheng Liu and Deqing Li and Hang Zhang and Hao Meng and Hu Wei and Jingyuan Ni and Kai Chen and Kuan Cao and Liang Peng and Lin Qu and Minggang Wu and Peng Wang and Shuting Yu and Tingkun Wen and Wensen Feng and Xiaoxiao Xu and Yi Wang and Yichang Zhang and Yongqiang Zhu and Yujia Wu and Yuxuan Cai and Zenan Liu},
year={2025},
eprint={2508.02324},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2508.02324},
}