Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
bitsandbytes
int8
image-generation
image-editing
rgba
8-bit precision
Instructions to use ixim/Image21-INT8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ixim/Image21-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-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
File size: 2,639 Bytes
ec8fa5b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | {
"decode-bf16-full": {
"dtype": "bf16",
"tiling": false,
"seconds": 29.58638380000002,
"latents_sha256": "19746d2cebd5ebb888e1df24d7c2c07631fbb91fcf6f6650225caa6e84cb2246",
"image_sha256": "a32e5d14545ea684005e1373a0308330682d15a6159a0db7020b74cafc1cb610",
"vae_source_sha256": "afb341db5e9d081e568ae4703119d1141d124aaf2fa9c061b3d4eb80ce73c15b",
"vae_weights": [
{
"path": "diffusion_pytorch_model.safetensors",
"sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417"
}
],
"image_mode": "RGBA",
"actual_size": [
2048,
2048
],
"alpha_min": 248,
"alpha_max": 255,
"alpha_transparent_fraction": 0.0,
"alpha_opaque_fraction": 0.9999995231628418,
"alpha_soft_fraction": 4.76837158203125e-07,
"alpha_thresholds": [
5,
250
],
"rgb_dx_mean": 0.020006714388728142,
"rgb_dy_mean": 0.019580036401748657,
"vs_bf16_tiled": {
"rgb_mae_white": 0.007886896841228008,
"rgb_psnr_white_db": 33.39505014952212,
"alpha_mae": 0.00024037367256823927
}
},
"decode-fp32-tiled": {
"dtype": "fp32",
"tiling": true,
"seconds": 18.333071200000177,
"latents_sha256": "19746d2cebd5ebb888e1df24d7c2c07631fbb91fcf6f6650225caa6e84cb2246",
"image_sha256": "be79dfd73714a8be00e812af65d81aee0269a883be2fe895ec46a1a487e968a2",
"vae_source_sha256": "afb341db5e9d081e568ae4703119d1141d124aaf2fa9c061b3d4eb80ce73c15b",
"vae_weights": [
{
"path": "diffusion_pytorch_model.safetensors",
"sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417"
}
],
"image_mode": "RGBA",
"actual_size": [
2048,
2048
],
"alpha_min": 194,
"alpha_max": 255,
"alpha_transparent_fraction": 0.0,
"alpha_opaque_fraction": 0.998399019241333,
"alpha_soft_fraction": 0.0016009807586669922,
"alpha_thresholds": [
5,
250
],
"rgb_dx_mean": 0.018331428989768028,
"rgb_dy_mean": 0.018168220296502113,
"vs_bf16_tiled": {
"rgb_mae_white": 0.0013088202103972435,
"rgb_psnr_white_db": 51.63176635617525,
"alpha_mae": 8.16673637018539e-05
}
},
"bf16_tiled": {
"image_sha256": "177fc897274faa4846659ec273d8ae39453d67526dc91d2bcc71407ce4ccd9da",
"repeat_png_identical": true,
"vae_weights": [
{
"path": "diffusion_pytorch_model.safetensors",
"sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417"
}
]
}
} |