Run this model with HF Jobs
Run ostris/Z-Image-De-Turbo 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/ostris/Z-Image-De-Turbo. 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/ostris/Z-Image-De-Turbo 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 ostris/Z-Image-De-Turbo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ostris/Z-Image-De-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("ostris/Z-Image-De-Turbo", 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
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("ostris/Z-Image-De-Turbo", dtype=torch.bfloat16, device_map="cuda")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]Z-Image-De-Turbo
This is a de-distilled version of Tongyi-MAI/Z-Image-Turbo. It was fine tuned on images generated by Tongyi-MAI/Z-Image-Turbo in order to break down the turbo distillation. It can be used to train LoRAs on top of that should remain compatability with the base model, or it can be continued to finetune well beyond what you could do with the turbo model with the ostris/zimage_turbo_training_adapter.
There is a ComfyUI version as well as a diffusers based version in the repo.
Usage
This can be trained on directly without an adapter. It can also be used for inference directly. For inference, use a low CFG (2.0 - 3.0) and 20-30 steps. It seems to work well with CFG normalization as well.
Why Not Just Use the Base Model?
It wasnt released yet, as of the time of this writing, and I am impatient. :)
- Downloads last month
- 6,081
Model tree for ostris/Z-Image-De-Turbo
Base model
Tongyi-MAI/Z-Image-Turbo