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

Reduce overhead when fork(1) #375

Merged
merged 2 commits into from
Apr 21, 2024
Merged

Reduce overhead when fork(1) #375

merged 2 commits into from
Apr 21, 2024

Conversation

hnyls2002
Copy link
Collaborator

@hnyls2002 hnyls2002 commented Apr 21, 2024

67be11c this commit fixed the race condition when copying ProgramState or StreamExceutor, but it brings overhead when the number of forked branches is 1.

@hnyls2002 hnyls2002 changed the title Reduce Reduce overhead when fork(1) Apr 21, 2024
@hnyls2002 hnyls2002 merged commit 1bf1cf1 into main Apr 21, 2024
@hnyls2002 hnyls2002 deleted the fix-copy-fork branch April 21, 2024 09:25
qeternity added a commit to qeternity/sglang that referenced this pull request May 6, 2024
@hnyls2002 hnyls2002 mentioned this pull request May 7, 2024
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