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

paged attention in tgi is fake? #2294

Open
4 tasks
CSEEduanyu opened this issue Jul 24, 2024 · 3 comments
Open
4 tasks

paged attention in tgi is fake? #2294

CSEEduanyu opened this issue Jul 24, 2024 · 3 comments
Labels

Comments

@CSEEduanyu
Copy link

System Info

when max_new_token is very big,kv cache can be seriously wasteful

Information

  • Docker
  • The CLI directly

Tasks

  • An officially supported command
  • My own modifications

Reproduction

max_new_token=8192

Expected behavior

max_new_token does not affect the actual memory utilization

@CSEEduanyu
Copy link
Author

pagedattention is used in tgi but no supporting work is done, so kv cache memory will be seriously wasted

@CSEEduanyu
Copy link
Author

Are there plans to change this? Or is there any information I can refer to if I transform first

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant