-
Couldn't load subscription status.
- Fork 6.5k
wan2.2 i2v FirstBlockCache fix #12013
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
Conversation
|
It's not a bug, I think we just hadn't added the support to I2V pipeline yet cc @a-r-r-o-w, I think it's ok to add here, no? I will merge this PR first #12006 and there will be conflicts though |
|
@yiyixuxu Yeah should be okay to add here after we merge your PR |
|
@yiyixuxu @a-r-r-o-w i rebased my branch onto main so there shouldn't be conflicts anymore, hope it's more helpful. Thanks! |
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.
Nice, thanks for looking into this!
|
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. |
|
@okaris @a-r-r-o-w |
|
@gluttony-10 you can check my implementation here: https://github.com/inference-sh/grid/blob/main/video/wan2-2-i2v-a14b/inference.py overall 0.2 is a bit too much, i find that 0.1 and 0.05 give better results with some time savings. it also depends on the content of the video, if there is a lot of movement the cache might not work a lot or it could deteriorate the results |
|
@okaris |
|
@gluttony-10 we are building this new platform https://inference.sh for local ai generation, it might fit your channels content. lmk if you'd like to try |
* enable caching for WanImageToVideoPipeline * ruff format
What does this PR do?
https://huggingface.co/posts/a-r-r-o-w/278025275110164
currently this cache does not work with the latest diffusers. the reason being is the cache context not being properly initialised in the WanImageToVideoPipeline.
Fixes #12012 (which was prematurely closed)
Before submitting
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
@yiyixuxu @asomoza @a-r-r-o-w @DN6