Who it is forA researcher who wants a few-step, high-resolution diffusion model tuned for a reward and has a Diffusers build with ZImagePipeline.
The problemZ-Image-Turbo needs a specific Diffusers build, and the setup is different from the SD3.5-M path.
The outcomeA Z-Image-Turbo checkpoint trained at 1024 pixels with the DiffusionOPSD recipe, along with the training efficiency numbers to compare with DiffusionNFT.
What you need first
- A recent Linux machine with CUDA GPUs (eight-GPU profiles are reported in the README)
- Python 3.10 or 3.11 and conda
- A Hugging Face account that has accepted the SD3.5-M license, for the gated model
- Enough disk space for model weights, reward checkpoints, and the Pick-a-Pic prompt manifest
Steps
- Complete the base install with
pip install -e ".[rewards]"andpip install --no-deps 'image-reward==1.5'. - Check whether ZImagePipeline is available in your Diffusers install. If it is missing, run
git clone https://github.com/huggingface/diffusers.gitandpip install -e "./diffusers[torch]". - Set
export REWARD_CKPT_PATH="$PWD/reward_ckpts"and runbash scripts/download_reward_weights.sh. - Start the Z-Image-Turbo preset by passing the z-image backbone name to
bash scripts/train_public.shand check scripts/train_public.sh for the exact argument. (inferred, check the README)
Prompt for your agent
In the repo worldbench/DiffusionOPSD, confirm ZImagePipeline imports in the installed Diffusers, then start the Z-Image-Turbo training preset for <reward name>. Report the import check result, the launch command, and the first logged seconds per update. Verify that the import check passed before launching training.
Caveat. The README names the 1024 Z-Image-Turbo regime but does not give the exact launch argument for it, so the step is inferred and must be checked in the launcher script.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for worldbench/DiffusionOPSD and "Train the Z-Image-Turbo backbone at 1024 resolution"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer