Instructions to use Tongyi-MAI/Z-Image-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Tongyi-MAI/Z-Image-Turbo with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Checkpoint download?
#37
by deleted - opened
I don't see a checkpoint file to download in the Huggingface repo. I can't download it from Modelscope because I don't have a account, using hf download command in terminal crashes the terminal when trying to download, and I can't use GGUFs because I need a text encoder and VAE, but the text encoder is split and I don't trust merging files to get it to work.
Any help, please? Thanks in advance!
deleted changed discussion status to closed