Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
sdnq
int4
uint4
image-generation
image-editing
apple-silicon
8-bit precision
Instructions to use ixim/Image21-INT4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-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("ixim/Image21-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 evaluation/report.md from ixim/Image21-INT4: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/ixim/Image21-INT4/resolve/main/evaluation/report.md
- Command line
-
hf download hf://ixim/Image21-INT4/evaluation/report.md
-
curl -L -o report.md https://huggingface.co/ixim/Image21-INT4/resolve/main/evaluation/report.md
1.62 kB
| # Informal release evaluation: BF16 / INT4 | |
| This community comparison is reference material. It is not an official evaluation. | |
| 14 paired outputs on NVIDIA GeForce RTX 5090; 1024×1024, 40 steps, offload=model, CFG=1, KV cache enabled. | |
| Warmup excluded. Pixel metrics measure drift. They are not a semantic quality score. The suite is small and does not establish a ranking. | |
| | Case | Seed | BF16 s | INT4 s | BF16 peak GiB | INT4 peak GiB | RGB MAE | | |
| |---|---:|---:|---:|---:|---:|---:| | |
| | portrait | 42 | 28.05 | 29.41 | 16.40 | 7.71 | 0.0528 | | |
| | portrait | 123 | 26.06 | 28.21 | 16.40 | 7.71 | 0.0639 | | |
| | english_text | 42 | 25.40 | 28.35 | 16.41 | 7.71 | 0.0839 | | |
| | english_text | 123 | 25.23 | 28.67 | 16.41 | 7.71 | 0.0547 | | |
| | chinese_text | 42 | 25.55 | 28.67 | 16.41 | 7.71 | 0.0791 | | |
| | chinese_text | 123 | 25.61 | 28.79 | 16.41 | 7.71 | 0.0819 | | |
| | composition | 42 | 25.21 | 28.72 | 16.41 | 7.71 | 0.0297 | | |
| | composition | 123 | 25.51 | 28.67 | 16.41 | 7.71 | 0.0594 | | |
| | texture | 42 | 25.40 | 28.98 | 16.40 | 7.70 | 0.0775 | | |
| | texture | 123 | 25.13 | 28.76 | 16.40 | 7.70 | 0.0489 | | |
| | rgba | 42 | 25.02 | 28.55 | 16.40 | 7.70 | 0.0444 | | |
| | rgba | 123 | 25.76 | 28.54 | 16.40 | 7.70 | 0.0760 | | |
| | edit | 1000042 | 38.67 | 33.81 | 19.08 | 9.99 | 0.0112 | | |
| | edit | 1000123 | 31.10 | 33.51 | 19.08 | 9.99 | 0.0107 | | |
| ## Summary | |
| Mean latency: BF16 26.98s; INT4 29.40s. | |
| Maximum allocated CUDA memory: BF16 19.08 GiB; INT4 9.99 GiB. | |
| Raw records: comparison.csv, bf16/records.jsonl, int4/records.jsonl. | |
| Visual notes belong in qualitative.md and are written after inspecting the images. | |