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
- Run
git clone https://github.com/worldbench/DiffusionOPSD.gitandcd DiffusionOPSD. - Run
conda create -n diffusionopsd python=3.11 -yandconda activate diffusionopsd. - Run
pip install -e ".[rewards]"and thenpip install --no-deps 'image-reward==1.5'. - Set
export REWARD_CKPT_PATH="$PWD/reward_ckpts"and runbash scripts/download_reward_weights.sh. - 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
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