Text-to-Image
Diffusers
Safetensors
image-to-image
quantization
w4a4
svdquant
gptq
nunchaku
8-bit precision
Instructions to use ModelsLab/Qwen-Image-2.1-W4A4-int4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ModelsLab/Qwen-Image-2.1-W4A4-int4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ModelsLab/Qwen-Image-2.1-W4A4-int4", 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 Settings
- Draw Things
- DiffusionBee
Download seeds/text-board-42.png from ModelsLab/Qwen-Image-2.1-W4A4-int4: direct link, hf CLI and curl.
- Browser
- Download file 1.97 MB
-
https://huggingface.co/ModelsLab/Qwen-Image-2.1-W4A4-int4/resolve/main/seeds/text-board-42.png
- Command line
-
hf download hf://ModelsLab/Qwen-Image-2.1-W4A4-int4/seeds/text-board-42.png
-
curl -L -o text-board-42.png https://huggingface.co/ModelsLab/Qwen-Image-2.1-W4A4-int4/resolve/main/seeds/text-board-42.png
1.97 MB

- Xet hash:
- 9f64fb1f4a60156df39ee9c823a2974a20e0fdd8a83947fdda77fd1e08f33f2e
- Size of remote file:
- 1.97 MB
- SHA256:
- 3a3b968fce61d11540e283becc6c64eb070ad5d0964add947e1b625e72d6621d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.