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
File size: 1,439 Bytes
9116984 | 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 | {
"revision": "b3179ad355be050328e483a9dfdd9e60cd62adfa",
"files": [
{
"path": "text_encoder/model-00001-of-00004.safetensors",
"size": 4998056552,
"sha256": "dde00291b5f7fb92013895310a3da0ddba78674df9f10d505d375243dc01fc6f"
},
{
"path": "text_encoder/model-00002-of-00004.safetensors",
"size": 4915962464,
"sha256": "9047faccc0a6d98496a52d55f27be1c94a9c259d1e283fbea0128d054a948d42"
},
{
"path": "text_encoder/model-00003-of-00004.safetensors",
"size": 4915962496,
"sha256": "8c54187654c0176b73ae73785bf791dc9a14c9df7fb4310083a09d42048cb57e"
},
{
"path": "text_encoder/model-00004-of-00004.safetensors",
"size": 2704357976,
"sha256": "5311532aaaeae3259eb6a7b2c600636be1159adf7ded35f53579f7d0e7d43cdd"
},
{
"path": "transformer/diffusion_pytorch_model-00001-of-00002.safetensors",
"size": 9968332504,
"sha256": "9e6bc2d641e67bf277895ea8777141044a38f3edb7101bc469b2961dd7c36b4b"
},
{
"path": "transformer/diffusion_pytorch_model-00002-of-00002.safetensors",
"size": 4261951904,
"sha256": "3aaf234dcbe128530479735854a346b5e3e66283b7c11db56f836bbd1c13ebaa"
},
{
"path": "vae/diffusion_pytorch_model.safetensors",
"size": 1350989512,
"sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417"
}
]
} |