Text-to-Image
Diffusers
Safetensors
English
Korean
ZImagePipeline
image-generation
quantized
bitsandbytes
nf4
4-bit precision
on-device
korean
pocket
vidraft
8-bit precision
Instructions to use AI-Joe-git/POCKET-Image-Zimage with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AI-Joe-git/POCKET-Image-Zimage with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AI-Joe-git/POCKET-Image-Zimage", torch_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
| { | |
| "_class_name": "ZImageTransformer2DModel", | |
| "_diffusers_version": "0.39.0.dev0", | |
| "_name_or_path": "/data/ginipick/zimage_kr/Z-Image-base/transformer", | |
| "all_f_patch_size": [ | |
| 1 | |
| ], | |
| "all_patch_size": [ | |
| 2 | |
| ], | |
| "axes_dims": [ | |
| 32, | |
| 48, | |
| 48 | |
| ], | |
| "axes_lens": [ | |
| 1536, | |
| 512, | |
| 512 | |
| ], | |
| "cap_feat_dim": 2560, | |
| "dim": 3840, | |
| "in_channels": 16, | |
| "n_heads": 30, | |
| "n_kv_heads": 30, | |
| "n_layers": 30, | |
| "n_refiner_layers": 2, | |
| "norm_eps": 1e-05, | |
| "qk_norm": true, | |
| "quantization_config": { | |
| "_load_in_4bit": true, | |
| "_load_in_8bit": false, | |
| "bnb_4bit_compute_dtype": "bfloat16", | |
| "bnb_4bit_quant_storage": "uint8", | |
| "bnb_4bit_quant_type": "nf4", | |
| "bnb_4bit_use_double_quant": true, | |
| "llm_int8_enable_fp32_cpu_offload": false, | |
| "llm_int8_has_fp16_weight": false, | |
| "llm_int8_skip_modules": null, | |
| "llm_int8_threshold": 6.0, | |
| "load_in_4bit": true, | |
| "load_in_8bit": false, | |
| "quant_method": "bitsandbytes" | |
| }, | |
| "rope_theta": 256.0, | |
| "siglip_feat_dim": null, | |
| "t_scale": 1000.0 | |
| } | |