[Bugfix] Fix bug in fork logic caused by null text_ (#2835)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user