DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to train the Z-Image-Turbo backbone at 1024 resolution with DiffusionOPSD

Run DiffusionOPSD on the few-step Z-Image-Turbo regime at 1024 pixels.

Short answer: Complete the base install with pip install -e ".[rewards]" and pip install --no-deps 'image-reward==1.5'; then check whether ZImagePipeline is available in your Diffusers install. If it is missing, run git clone https://github.com/huggingface/diffusers.git and pip install -e "./diffusers[torch]"; set export REWARD_CKPT_PATH="$PWD/reward_ckpts" and run bash scripts/download_reward_weights.sh. All steps.

  • Research
  • Advanced
  • 1 day
  • From the README
  • Any agent

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

  1. Complete the base install with pip install -e ".[rewards]" and pip install --no-deps 'image-reward==1.5'.
  2. Check whether ZImagePipeline is available in your Diffusers install. If it is missing, run git clone https://github.com/huggingface/diffusers.git and pip install -e "./diffusers[torch]".
  3. Set export REWARD_CKPT_PATH="$PWD/reward_ckpts" and run bash scripts/download_reward_weights.sh.
  4. Start the Z-Image-Turbo preset by passing the z-image backbone name to bash scripts/train_public.sh and 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer