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

Static cache & torch.compile #2969

Closed
p-christ opened this issue Feb 21, 2024 · 1 comment
Closed

Static cache & torch.compile #2969

p-christ opened this issue Feb 21, 2024 · 1 comment

Comments

@p-christ
Copy link

Does vLLM make use of the new speed up in transformers around using a static cache and torch compile?

https://x.com/art_zucker/status/1758510984631845278?s=46

@mgoin
Copy link
Member

mgoin commented Feb 22, 2024

@p-christ from my understanding StaticCache is an attempt to get something like the pre-allocated KVCache vLLM already has with PagedAttention. I wouldn't expect it to offer improvements to this project then.
There is an item on the roadmap for exploring torch.compile support though, which could be useful to fuse the small operations in models #2681

@hmellor hmellor closed this as completed Aug 27, 2024
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

3 participants