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
5413ec2b
Unverified
Commit
5413ec2b
authored
Jan 11, 2025
by
Muqi Li
Committed by
GitHub
Jan 10, 2025
Browse files
[Bugfix] Fix bug in fork logic caused by null text_ (#2835)
parent
f290bd43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/lang/interpreter.py
python/sglang/lang/interpreter.py
+1
-1
No files found.
python/sglang/lang/interpreter.py
View file @
5413ec2b
...
...
@@ -347,7 +347,7 @@ class StreamExecutor:
size
:
int
=
1
,
position_ids_offset
:
Optional
[
List
[
int
]]
=
None
,
):
if
size
>
1
:
if
size
>
1
and
str
(
self
.
text_
)
:
self
.
submit
(
SglCommitLazy
())
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