modelscope / modelscope/DiffSynth-Studio

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.

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

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

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.