Who it is forA researcher about to start a costly run who needs to confirm HPSv3 or DeQA work on their machine.
The problemHeavy reward models use separate dependency stacks, and a broken install can fail only after training has begun.
The outcomePass or fail results for the HPSv3 and DeQA setup checks and differentiable reward path, so the team knows the stack is usable.
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
- Create a fresh Python 3.10 or 3.11 environment and install a CUDA-matched PyTorch build first, then run
pip install -e .. - Run
pip install --no-deps 'hpsv3==1.0.0'and then the listedpip installline with qwen-vl-utils, omegaconf, safetensors, and the other packages from the README. - Run
python scripts/check_reward_setup.py --backbone sd35 --reward hpsv3. - Run
python scripts/check_reward_setup.py --backbone sd35 --reward deqa. - Run
python scripts/smoke_reward_gradient.py --reward hpsv3andpython scripts/smoke_reward_gradient.py --reward deqa.
Prompt for your agent
In the repo worldbench/DiffusionOPSD, run the reward setup checks for <reward name> with the SD3.5 backbone and the gradient smoke test. Report which commands passed or failed and the error text for any failure. Verify that the smoke test ran the differentiable reward path before reporting success.
Caveat. The README warns against normal dependency resolution for HPSv3 and says a separate heavy-reward environment is needed, so mixing it into the main environment can break the Transformers version.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for worldbench/DiffusionOPSD and "Verify reward models load before a long training run"
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