Skip to content

Reduce overhead when fork(1) - #375

Merged
hnyls2002 merged 2 commits into
mainfrom
fix-copy-fork
Apr 21, 2024
Merged

hnyls2002 merged 2 commits into
mainfrom
fix-copy-fork

Conversation

@hnyls2002

@hnyls2002 hnyls2002 commented Apr 21, 2024 •

Copy link
Copy Markdown
Collaborator

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
timethink pushed a commit to timethink/sglang that referenced this pull request Mar 9, 2025
UNIDY2002 pushed a commit to HanHan009527/sglang that referenced this pull request Jan 14, 2026
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