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

Dynamically set kv-cache size in serve #1602

Merged
merged 1 commit into from
Jul 20, 2024
Merged

Dynamically set kv-cache size in serve #1602

merged 1 commit into from
Jul 20, 2024

Conversation

rasbt
Copy link
Collaborator

@rasbt rasbt commented Jul 18, 2024

This fixes a high memory-usage issue in litgpt serve where the kv cache was always set to the maximum block size. (Analogous to #1583)

@rasbt rasbt merged commit 2104b5b into main Jul 20, 2024
9 checks passed
@rasbt rasbt deleted the kv-serve branch July 20, 2024 16:39
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

Successfully merging this pull request may close these issues.

2 participants