Instructions to use tsqn/Z-Image-Turbo_fp32-fp16-bf16_full_and_ema-only with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use tsqn/Z-Image-Turbo_fp32-fp16-bf16_full_and_ema-only with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("tsqn/Z-Image-Turbo_fp32-fp16-bf16_full_and_ema-only", 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
Backlash on r/comfyUI
#2
by ialhabbal - opened
Would you please advise?
https://www.reddit.com/r/comfyui/comments/1pixv1l/released_zimageturbo_fp32_fp16_bf16_emaonly_full/
The only thing I can say, seeing this thread, is that this isn't a ComfyUI version, but a Diffusers version. I just merged the official model files and used a second script to separate the files into separate precisions to make it easier to, for example, select a model for training or quantization. I've also noticed that black images are generated on rtx 50** cards
EDIT: i've removed incorrect VAE file, please use ae_bf16.safetensors