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
Download conversion.json from ixim/Image21-INT8: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/ixim/Image21-INT8/resolve/main/conversion.json
- Command line
-
hf download hf://ixim/Image21-INT8/conversion.json
-
curl -L -o conversion.json https://huggingface.co/ixim/Image21-INT8/resolve/main/conversion.json
1.43 kB
| { | |
| "base_model": "Qwen/Qwen-Image-2.1", | |
| "base_revision": "b3179ad355be050328e483a9dfdd9e60cd62adfa", | |
| "diffusers_commit": "80c7ed262aeffbeb43ef13ae04baeb9b84515a69", | |
| "method": "bitsandbytes LLM.int8", | |
| "threshold": 6.0, | |
| "weight_files": [ | |
| { | |
| "path": "text_encoder/model-00001-of-00003.safetensors", | |
| "size": 4999822155, | |
| "sha256": "9b8ae3bd2a1e4884abc48c659212427bbbae06fb1bc17e7173583704fc0f6bdd" | |
| }, | |
| { | |
| "path": "text_encoder/model-00002-of-00003.safetensors", | |
| "size": 4996432636, | |
| "sha256": "d28d1a8b3994a43582acc5e2da15ff38b632fae1466f41bc7710d27ec170aa9e" | |
| }, | |
| { | |
| "path": "text_encoder/model-00003-of-00003.safetensors", | |
| "size": 27729689, | |
| "sha256": "5896ffa9e2b2a52f9d496755fde050306f21c449bd66c2526b40979033c6e244" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model-00001-of-00002.safetensors", | |
| "size": 4989447305, | |
| "sha256": "0d77daaa3129860f026567e0178fec4ed776f3cf2463da76a0823b9c381c3468" | |
| }, | |
| { | |
| "path": "transformer/diffusion_pytorch_model-00002-of-00002.safetensors", | |
| "size": 2267331623, | |
| "sha256": "5e1b8ee3917833687adb662830438dc612ace2cf4bff7b8898515184a888fde1" | |
| }, | |
| { | |
| "path": "vae/diffusion_pytorch_model.safetensors", | |
| "size": 1350989512, | |
| "sha256": "a07a1b7c4ee2966a1b3bdc37de9b4f983d56937e46619f709a80b6e490675417" | |
| } | |
| ] | |
| } |