-
Notifications
You must be signed in to change notification settings - Fork 47
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
Does it work with Spatiotemporal Skip Guidance? #118
Comments
I think it is compatible with any CFG enhanced methods. |
I tried to understand what exactly STG does and where it is applied. My naive approach was to compare the pipeline scripts of the fastvideo and STGuidance repos (pipeline_hunyuan_video.py). The first mentioning of stg happens in def call(
perform guidanceI think is where the magic happens:
I couldn't see any difference in the get_guidance_scale_embedding functions of the pipleine scripts so it really seems to be the math section in #perform guidance that does it. of course, this property got added to the stack:
I can't test it on my machine, but my naive approach would be to simply change the pipeline script and add the STG related codeblocks and see what happens :) |
Could you provide a few examples of how disabling certain guidance features affects the results? I want to check the differences before adding them to our repository. I'm waiting for their response before making any additions. |
The project team provided some very good examples on their pages. I find this one here (mochi1 though) most impressive. I still don't fully understand how "reducing" the guidance allows for this jump in quality. But then again I don't fully understand transformer models. But I guess too much micro-management is never good with any intelligence, be it natural or artificial... https://junhahyung.github.io/STGuidance/assets/circle/mochi/sample2.mp4 |
As title says, combining speed improvement with STG improvement would be great. Did anybody conduct tests already if it works?
The text was updated successfully, but these errors were encountered: