Latest update broke Wan2.2 S2V

Open Beginner friendly
#1,373 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python

Research direction

Start at diffsynth/pipelines/wan_video.py line 1088 and inspect how the Wan S2V pipeline accesses wantodance_enable_global. Exercise the Wan S2V path and other Wan models after the change; done means S2V no longer fails when that attribute is absent and existing models continue to work.

Written by the indexing model from the issue text.

Description

~/repos/DiffSynth-Studio/diffsynth/pipelines/wan_video.py at line 1088:

OLD (breaks Wan-S2V)

if pipe.dit.wantodance_enable_global:

NEW (safe for all Wan models)

if getattr(pipe.dit, 'wantodance_enable_global', False):

This fixed the issue for me, looks like Wan S2V does not have the wanttodance_enable_global attribute

Dominant language
Python
Stars
13.1k
Forks
1.3k
Avg merge
13h 15m
Merged PRs (30d)
46

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from modelscope/DiffSynth-Studio

All issues in modelscope/DiffSynth-Studio

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.