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

How to post-train SD3.5-M toward a chosen image reward with DiffusionOPSD

Fine-tune SD3.5-M with DiffusionOPSD using a reward preset and measure the held-out score.

Short answer: Run git clone https://github.com/worldbench/DiffusionOPSD.git and cd DiffusionOPSD; then run conda create -n diffusionopsd python=3.11 -y and conda activate diffusionopsd; run pip install -e ".[rewards]" and then pip install --no-deps 'image-reward==1.5'. All steps.

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

Credentials. SD3.5-M is gated on Hugging Face, so you must authenticate with your own account and accept the model license before downloading.

Who it is forAn ML engineer with a multi-GPU Linux box who wants to improve SD3.5-M outputs for a specific aesthetic or preference score.

The problemReward-guided diffusion training usually sees only a final image score, so intermediate denoising steps get weak supervision.

The outcomeA DiffusionOPSD-trained SD3.5-M checkpoint and training logs for one reward objective, ready to compare against the README's reported held-out results.

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. Run git clone https://github.com/worldbench/DiffusionOPSD.git and cd DiffusionOPSD.
  2. Run conda create -n diffusionopsd python=3.11 -y and conda activate diffusionopsd.
  3. Run pip install -e ".[rewards]" and then pip install --no-deps 'image-reward==1.5'.
  4. Set export REWARD_CKPT_PATH="$PWD/reward_ckpts" and run bash scripts/download_reward_weights.sh.
  5. Accept the SD3.5-M license on Hugging Face and authenticate, then start a preset with bash scripts/train_public.sh sd35 hpsv3 (replace hpsv3 with a standard reward preset such as PickScore, which is an inferred choice).

Prompt for your agent

Using the repo worldbench/DiffusionOPSD, set up the environment and run the SD3.5-M training preset for <reward name>. Report the training command used, the reward checkpoint path, and the final evaluation score for <reward name>. Verify that scripts/download_reward_weights.sh completed without errors before starting training.

Caveat. The README says a recent Linux environment with CUDA GPUs is required for training, so this will not run on a laptop without suitable GPUs.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for worldbench/DiffusionOPSD and "Post-train SD3.5-M toward a chosen image reward"

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