Skip to content

Fix Wan DMD guidance anchor - #13

Merged
shaohao011 merged 1 commit into
LynnReal-AI:mainfrom
zjn20030811:fix/wan-dmd-cfg-anchor
Sep 3, 2026
Merged

Fix Wan DMD guidance anchor#13
shaohao011 merged 1 commit into
LynnReal-AI:mainfrom
zjn20030811:fix/wan-dmd-cfg-anchor

Conversation

@zjn20030811

Copy link
Copy Markdown
Contributor

Summary

  • anchor the Wan DMD real-score target at the unconditional prediction
  • add a checkpoint-free regression test for the guidance target

Why

The previous expression started from the conditional prediction and then added the full guidance delta. This introduced an extra conditional term and shifted the teacher target for every guidance scale.

Validation

  • pytest -q
  • python -m py_compile pipelines/wan/dmd_core.py tests/test_dmd_cfg.py

@shaohao011
shaohao011 merged commit e546ae0 into LynnReal-AI:main Sep 3, 2026
@shaohao011

Copy link
Copy Markdown
Collaborator

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants