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

Fix memory leak for chunked prefill 2 #1858

Merged
merged 6 commits into from
Oct 31, 2024
Merged

Fix memory leak for chunked prefill 2 #1858

merged 6 commits into from
Oct 31, 2024

Conversation

merrymercy
Copy link
Contributor

@merrymercy merrymercy commented Oct 31, 2024

Simplified version of #1837

  • Fix a memory leak around self.being_chunked_req.init_next_round_input()
  • Renamecurrent_inflight_req -> being_chunked_req
  • Rename is_inflight_req -> is_being_chunked

@merrymercy merrymercy changed the title Fix memory leak 2 Fix memory leak for chunked prefill 2 Oct 31, 2024
@merrymercy merrymercy merged commit a2e0424 into main Oct 31, 2024
0 of 12 checks passed
@merrymercy merrymercy deleted the pr-fix-leak branch October 31, 2024 21:51
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.

1 participant