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/comparison.html from ixim/Image21-Turbo-INT8: direct link, hf CLI and curl.
- Browser
- Download file 2.57 kB
-
https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/native/comparison.html
- Command line
-
hf download hf://ixim/Image21-Turbo-INT8/evaluation/native/comparison.html
-
curl -L -o comparison.html https://huggingface.co/ixim/Image21-Turbo-INT8/resolve/main/evaluation/native/comparison.html
2.57 kB
| <meta charset="utf-8"><title>BF16 / INT8 comparison</title> | |
| <style>body{font:16px system-ui;margin:32px;max-width:1500px}section{margin:40px 0}.pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}img{width:100%;background:repeating-conic-gradient(#ddd 0 25%,#fff 0 50%) 0/24px 24px}pre{white-space:pre-wrap}</style> | |
| <h1>BF16 / INT8 comparison</h1><p>Left: BF16. Right: saved INT8. Identical settings and seeds. Alpha displayed over checkerboard.</p> | |
| <section><h2>portrait — seed 42</h2><pre>A natural documentary portrait of an elderly woman with silver hair and freckles, wearing a blue wool sweater, standing beside a window in soft morning light. Realistic skin texture, gentle expression, waist-up composition.</pre><div class="pair"><a href="bf16/portrait-s42.png"><img src="bf16/portrait-s42.png" alt="BF16"></a><a href="int8/portrait-s42.png"><img src="int8/portrait-s42.png" alt="INT8"></a></div></section> | |
| <section><h2>portrait — seed 123</h2><pre>A natural documentary portrait of an elderly woman with silver hair and freckles, wearing a blue wool sweater, standing beside a window in soft morning light. Realistic skin texture, gentle expression, waist-up composition.</pre><div class="pair"><a href="bf16/portrait-s123.png"><img src="bf16/portrait-s123.png" alt="BF16"></a><a href="int8/portrait-s123.png"><img src="int8/portrait-s123.png" alt="INT8"></a></div></section> | |
| <section><h2>edit_boat — seed 20261009</h2><pre>Turn this yacht sketch into a photorealistic side-view photograph of the same vessel sailing on calm blue sea. Preserve the hull, deckhouses, windows, mast, funnel and lifeboat arrangement. Black hull, white superstructures, yellow funnel. Soft natural daylight, clear sky, the entire vessel in frame.</pre><div class="pair"><a href="bf16/edit_boat-s20261009.png"><img src="bf16/edit_boat-s20261009.png" alt="BF16"></a><a href="int8/edit_boat-s20261009.png"><img src="int8/edit_boat-s20261009.png" alt="INT8"></a></div></section> | |
| <section><h2>edit_boat — seed 20261010</h2><pre>Turn this yacht sketch into a photorealistic side-view photograph of the same vessel sailing on calm blue sea. Preserve the hull, deckhouses, windows, mast, funnel and lifeboat arrangement. Black hull, white superstructures, yellow funnel. Soft natural daylight, clear sky, the entire vessel in frame.</pre><div class="pair"><a href="bf16/edit_boat-s20261010.png"><img src="bf16/edit_boat-s20261010.png" alt="BF16"></a><a href="int8/edit_boat-s20261010.png"><img src="int8/edit_boat-s20261010.png" alt="INT8"></a></div></section> |