"src/git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "8aac1f99d7af5873db7d23c07fba370d0f5061a6"
Unverified Commit 5413ec2b authored by Muqi Li's avatar Muqi Li Committed by GitHub
Browse files

[Bugfix] Fix bug in fork logic caused by null text_ (#2835)

parent f290bd43
...@@ -347,7 +347,7 @@ class StreamExecutor: ...@@ -347,7 +347,7 @@ class StreamExecutor:
size: int = 1, size: int = 1,
position_ids_offset: Optional[List[int]] = None, position_ids_offset: Optional[List[int]] = None,
): ):
if size > 1: if size > 1 and str(self.text_):
self.submit(SglCommitLazy()) self.submit(SglCommitLazy())
self.sync() self.sync()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment