Downloads · 30 days
81
4% of all-time downloads
Ilus-AI/Qwen-Image-2512-FP8
Qwen-Image-2512-FP8 is a text-to-image model from Ilus-AI. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as apache-2.0.
FP8 quantized version of Qwen/Qwen-Image-2512 using torchao.
Downloads · 30 days
81
4% of all-time downloads
All-time downloads
2.1K
Public
Repo size
30.4 GB
Likes
3
Public
Click a slice to open those files.
.bin30.1 GB · 100%
From the Hugging Face model README
FP8 quantized version of Qwen/Qwen-Image-2512 using torchao.
pip install torch diffusers transformers torchao accelerate
import torch
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained(
"Ilus-AI/Qwen-Image-2512-FP8",
torch_dtype=torch.bfloat16,
use_safetensors=False,
device_map="balanced"
)
prompt = "A cat"
negative_prompt = "low resolution, low quality, distorted, blurry"
image = pipe(
prompt=prompt,
negative_prompt=negative_prompt,
width=1664,
height=928,
num_inference_steps=50,
true_cfg_scale=4.0,
generator=torch.Generator(device="cuda").manual_seed(42)
).images[0]
image.save("output.png")
| Ratio | Size |
|---|---|
| 1:1 | 1328x1328 |
| 16:9 | 1664x928 |
| 9:16 | 928x1664 |
| 4:3 | 1472x1104 |
| 3:4 | 1104x1472 |