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
- AMD Developer Cloud
- Local Apps Settings
- Draw Things
- DiffusionBee
UNet Error ComfyUi Desktop
#9
by soulfulstudios - opened
Hi I am getting an error in ComfyUI I used the Picture Example and dropped it in however Im getting lots of Size mismatch errors, Im on a 3090 usind the desktop version of Z
i had this error, upgraded my comfyui to the latest version and now is working
Worked like a charm- TY
soulfulstudios changed discussion status to closed