-
Couldn't load subscription status.
- Fork 6.4k
support Wan-FLF2V #11353
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support Wan-FLF2V #11353
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
| encoder_hidden_states_img = encoder_hidden_states[:, :257] | ||
| encoder_hidden_states = encoder_hidden_states[:, 257:] | ||
| # 512 is the context length of the text encoder, hardcoded for now | ||
| image_context_length = encoder_hidden_states.shape[1] - 512 | ||
| encoder_hidden_states_img = encoder_hidden_states[:, :image_context_length] | ||
| encoder_hidden_states = encoder_hidden_states[:, image_context_length:] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this not backwards breaking? 👀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i will test it out :)
|
LMK if you'd like me to help add the tests and docs! |
|
@a-r-r-o-w sounds good! |
will merge once we upload our checkpoint to an official repo :)
yiyi_test_5_out.mp4