Image-to-Image
Diffusers
Safetensors
English
QuantFuncPipeline
custom_qwen_image
image-editing
diffusion
quantized
quantfunc
Instructions to use QuantFunc/Qwen-Image-Edit-Series with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use QuantFunc/Qwen-Image-Edit-Series 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("QuantFunc/Qwen-Image-Edit-Series", 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
Upload qwen-image-edit-series-50x-above-base-model/quantfunc_config.json with huggingface_hub
Browse files
qwen-image-edit-series-50x-above-base-model/quantfunc_config.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
| 9 |
},
|
| 10 |
"vision_encoder": {
|
| 11 |
"prequantized": true,
|
| 12 |
-
"vision_quant": "
|
| 13 |
"vision_rotation": true
|
| 14 |
}
|
| 15 |
}
|
|
|
|
| 9 |
},
|
| 10 |
"vision_encoder": {
|
| 11 |
"prequantized": true,
|
| 12 |
+
"vision_quant": "int8",
|
| 13 |
"vision_rotation": true
|
| 14 |
}
|
| 15 |
}
|