Skip to content

Cache optimizations - #418

Merged
hnyls2002 merged 9 commits into
mainfrom
fix-cache
May 13, 2024
Merged

hnyls2002 merged 9 commits into
mainfrom
fix-cache

Conversation

@hnyls2002

@hnyls2002 hnyls2002 commented May 10, 2024 •

Copy link
Copy Markdown
Collaborator
  • Add prefilled request into radix cache before decoding
  • Change the ref count when adding new request, only add ref the newly extended part.

@hnyls2002 hnyls2002 self-assigned this May 10, 2024
@hnyls2002
hnyls2002 marked this pull request as draft May 10, 2024 09:21
@hnyls2002
hnyls2002 marked this pull request as ready for review May 12, 2024 12:26
@hnyls2002
hnyls2002 merged commit 39191c8 into main May 13, 2024
@hnyls2002
hnyls2002 deleted the fix-cache branch May 13, 2024 04:47
timethink pushed a commit to timethink/sglang that referenced this pull request Mar 9, 2025
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