Text-to-Image
Diffusers
Safetensors
QwenImage21Pipeline
image-generation
image-editing
bitsandbytes
int8
qwen-image-2.1-turbo
8-bit precision
Instructions to use ixim/Image21-Turbo-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-Turbo-INT8 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ixim/Image21-Turbo-INT8", 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 conversion.json from ixim/Image21-Turbo-INT8: direct link, hf CLI and curl.
- Browser
- Download file 1.39 kB
-
https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/conversion.json
- Command line
-
hf download hf://ixim/Image21-Turbo-INT8/conversion.json
-
curl -L -o conversion.json https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/conversion.json
1.39 kB
| { | |
| "base_model": "Qwen/Qwen-Image-2.1-Turbo", | |
| "base_revision": "d65dbc9a7e8f6b5479e33dee6030eaab2a906509", | |
| "diffusers_commit": "da1d3829cf08d4f329b526d89e17cc035c049d8d", | |
| "method": "bitsandbytes LLM.int8", | |
| "threshold": 6.0, | |
| "weight_files": [ | |
| { | |
| "path": "text_encoder/model-00001-of-00003.safetensors", | |
| "size": 4999822163, | |
| "sha256": "5d7e6bb6c2af27f758579f3b9eeaead9f9845be692995fb3650227e15525c861" | |
| }, | |
| { | |
| "path": "text_encoder/model-00002-of-00003.safetensors", | |
| "size": 4992907409, | |
| "sha256": "29598a911934d78b0e6e85079a65c30651a7e96a6c605b5576f9aa6d94bb2990" | |
| }, | |
| { | |
| "path": "text_encoder/model-00003-of-00003.safetensors", | |
| "size": 601506328, | |
| "sha256": "7fb406c06e34d7b622800a16b517e40fb6b14e7a97a1e379d9cede521282abb6" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model-00001-of-00002.safetensors", | |
| "size": 4989447313, | |
| "sha256": "9bf9528925ba4f0627b30bd6f3296e27cc1d65491aa5453e1fbb055bce4e9819" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model-00002-of-00002.safetensors", | |
| "size": 2267331631, | |
| "sha256": "72c36afcf8922d3a616a4a25e426bdb34890ef56aa780a4c99581eccbd2517de" | |
| }, | |
| { | |
| "path": "vae/diffusion_pytorch_model.safetensors", | |
| "size": 675508656, | |
| "sha256": "71879ffd5321e6d10c3c87513e2b474b1252efa7f3dec2969214a9bf06a6dd5c" | |
| } | |
| ] | |
| } |