Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
67be11c7
"docs/en/vscode:/vscode.git/clone" did not exist on "5b5d0c15bcba1c60215823bee1ba6c7808be6bc2"
Commit
67be11c7
authored
Feb 03, 2024
by
Ying Sheng
Browse files
fix bug of race condition in copy()
parent
cd8c3ccd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
python/sglang/lang/interpreter.py
python/sglang/lang/interpreter.py
+2
-3
No files found.
python/sglang/lang/interpreter.py
View file @
67be11c7
...
@@ -252,7 +252,6 @@ class StreamExecutor:
...
@@ -252,7 +252,6 @@ class StreamExecutor:
return
ret
return
ret
def
fork
(
self
,
number
:
int
,
position_ids_offset
:
Optional
[
List
[
int
]]
=
None
):
def
fork
(
self
,
number
:
int
,
position_ids_offset
:
Optional
[
List
[
int
]]
=
None
):
if
number
>
1
:
self
.
submit
(
SglCommitLazy
())
self
.
submit
(
SglCommitLazy
())
self
.
sync
()
self
.
sync
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment