Text-to-Image
Diffusers
Safetensors
English
Chinese
QwenImage21Pipeline
bitsandbytes
int8
image-generation
image-editing
rgba
8-bit precision
Run this model with HF Jobs
Run ixim/Image21-INT8 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ixim/Image21-INT8. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ixim/Image21-INT8 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 evaluation/audit/bf16-native-tiled/memory.jsonl from ixim/Image21-INT8: direct link, hf CLI and curl.
- Browser
- Download file 4.25 kB
-
https://huggingface.co/ixim/Image21-INT8/resolve/main/evaluation/audit/bf16-native-tiled/memory.jsonl
- Command line
-
hf download hf://ixim/Image21-INT8/evaluation/audit/bf16-native-tiled/memory.jsonl
-
curl -L -o memory.jsonl https://huggingface.co/ixim/Image21-INT8/resolve/main/evaluation/audit/bf16-native-tiled/memory.jsonl
4.25 kB
| {"label": "before_load", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256]} | |
| {"label": "after_load_and_offload", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "edit_native_start", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "before_encode_prompt", "pid": 6708, "allocated": 0, "reserved": 0, "peak": 0, "free_total": [32496418816, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "after_encode_prompt", "pid": 6708, "allocated": 17591357440, "reserved": 26449281024, "peak": 26117673472, "free_total": [4181049344, 34162016256], "components": {"text_encoder": {"parameters": {"cuda:0/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "before_prepare_latents", "pid": 6708, "allocated": 17591357440, "reserved": 26449281024, "peak": 26117673472, "free_total": [4181049344, 34162016256], "components": {"text_encoder": {"parameters": {"cuda:0/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "after_prepare_latents", "pid": 6708, "allocated": 18274804736, "reserved": 26472349696, "peak": 26117673472, "free_total": [4203085824, 34162016256], "components": {"text_encoder": {"parameters": {"cuda:0/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cuda:0/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "before_decode", "pid": 6708, "allocated": 23580760576, "reserved": 29381099520, "peak": 28467959296, "free_total": [1474904064, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cuda:0/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cuda:0/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "after_decode", "pid": 6708, "allocated": 9384048640, "reserved": 11697913856, "peak": 28467959296, "free_total": [20645412864, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cuda:0/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "edit_native_end", "pid": 6708, "allocated": 14288384, "reserved": 10995367936, "peak": 28467959296, "free_total": [21347958784, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |
| {"label": "before_process_exit", "pid": 6708, "allocated": 14288384, "reserved": 10995367936, "peak": 28467959296, "free_total": [21347958784, 34162016256], "components": {"text_encoder": {"parameters": {"cpu/torch.bfloat16": 17534247392}, "bnb_state": {}}, "transformer": {"parameters": {"cpu/torch.bfloat16": 14230249472}, "bnb_state": {}}, "vae": {"parameters": {"cpu/torch.bfloat16": 675480808}, "bnb_state": {}}}} | |