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

Question about chunked prefill #10

Open
SimonSongg opened this issue Nov 11, 2024 · 0 comments
Open

Question about chunked prefill #10

SimonSongg opened this issue Nov 11, 2024 · 0 comments

Comments

@SimonSongg
Copy link

Hi,
When I read through the LONG-CONTEXT BENCHMARKS section of your paper, I found there will be no latency improvement when using chunk size = context length. I can understand this result as this seems like just full attention, without KV cache pruned.

I found you mentioned in the appendix of the paper that block-sparse-attention was used for training. I am wondering if it could also be used in inference for pre-filling the full context, if memory is enough. As it calculate the full context with some middle attention calculation skipped.

Thanks!

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

1 participant