Skip to content

[Wan2.2] pipeline_wan miss the 'shift' parameter which used by Wan2.2-A14B-diffusers. #12094

@yvmilir

Description

@yvmilir

Firstly, I found that the quality of output using diffusers is poor
Later, I found that the pipeline_wan in diffusers[0.34.0] did not support two-stage processing. I noticed that the community had already updated it, so I installed diffusers[0.35.0-dev] by source code and it worked.

Then I found that the scheduler in diffusers does not support the parameter "shift", but "sample_shift" is an important parameter generated by Wan2.2, which may also lead to differences from the official inference code of Wan2.2. Therefore, the video effect may still be inferior to the original inference code.

Wan-Video/Wan2.2#69

What I need
Can the community provide the UniPCMultistepScheduler and DPMSolverMultistepScheduler that support the 'shift' parameter? Or can it be adapted in pipeline_wan so that the shift parameter can be used.

Or is there something wrong with my understanding? How can I correctly use the shift parameter when using diffusers?

Thanks!!
cc @yiyixuxu @a-r-r-o-w

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions