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 evaluation/native/summary.json from ixim/Image21-Turbo-INT8: direct link, hf CLI and curl.
- Browser
- Download file 349 Bytes
-
https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/native/summary.json
- Command line
-
hf download hf://ixim/Image21-Turbo-INT8/evaluation/native/summary.json
-
curl -L -o summary.json https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/native/summary.json
349 Bytes
| { | |
| "pairs": 4, | |
| "cases": 2, | |
| "bf16_mean_seconds": 61.42998574998637, | |
| "int8_mean_seconds": 43.794717650001985, | |
| "bf16_max_allocated_gib": 26.92584800720215, | |
| "int8_max_allocated_gib": 26.925050735473633, | |
| "width": 2048, | |
| "height": 2048, | |
| "steps": 8, | |
| "warmup": true, | |
| "bf16_weight_bytes": 32440133648, | |
| "int8_weight_bytes": 18526523500 | |
| } |