Add support for Wan2.X I2V models#583
Merged
jcaraban merged 34 commits intoxdit-project:mainfrom Oct 30, 2025
Merged
Conversation
jcaraban
approved these changes
Oct 30, 2025
Collaborator
Author
|
Here's a sample from Wan 2.1 with 8xH100s: wan_2_1_h100.mp4 |
|
@avjves I ran it on the npu and it reported insufficient memory |
Merged
This was referenced Nov 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Adds support for Wan2.X (Wan2.1 and Wan2.2) I2V models.
How?
Ports the model implementation from diffusers and adds SP support. Both Ulysses and Ring attention work. Support is gated behind diffusers version
0.35.2. For now it only supports the I2V models / task, but future tasks will be added in the future. The settings are set to be as close as possible to the original Wan2.2/Wan2.1 repo.Tests
Wan2.2 with 8 MI300Xs, running:
output:
https://github.com/user-attachments/assets/d5ac29f8-a54d-43b6-95ae-67d431c42263
Wan2.1 with 8 MI300Xs, running:
output:
https://github.com/user-attachments/assets/2ed172b6-ba0a-4b5a-8802-dc5372350969