Skip to content
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

Can pyramid-flow utilize kv-cache to reduce computation? #227

Open
Edwardmark opened this issue Jan 3, 2025 · 3 comments
Open

Can pyramid-flow utilize kv-cache to reduce computation? #227

Edwardmark opened this issue Jan 3, 2025 · 3 comments

Comments

@Edwardmark
Copy link

It seems that the computation of the history condition latent is calculated in each frame prediction, but I think it can use kv-cache to reduce this redundant computation, is that true?

@feifeiobama
Copy link
Collaborator

yes, but due to the complex temporal compression designs, im afraid that kv cache wouldnt save much computation here

@Edwardmark
Copy link
Author

Edwardmark commented Jan 7, 2025

yes, but due to the complex temporal compression designs, im afraid that kv cache wouldnt save much computation here

thanks, so the model will run slower and slower for the latter frame for more and more condition frames is used, is that true?

@feifeiobama
Copy link
Collaborator

yes unless you apply some methods to truncate history condition, such as sliding window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants