"docs/en/vscode:/vscode.git/clone" did not exist on "5b5d0c15bcba1c60215823bee1ba6c7808be6bc2"
Commit 67be11c7 authored by Ying Sheng's avatar Ying Sheng
Browse files

fix bug of race condition in copy()

parent cd8c3ccd
...@@ -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()
......
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