Skip to content

Commit 3fa5319

Browse files
committed
fix test_distributer process launch error
1 parent c06288e commit 3fa5319

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ding/framework/middleware/tests/test_distributer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ def test_model_exchanger():
176176

177177

178178
def model_exchanger_main_with_model_loader():
179+
sleep(1) # Wait some time for the sub-process to start.
179180
with task.start(ctx=OnlineRLContext()):
180181
set_pkg_seed(0, use_cuda=False)
181182
policy = MockPolicy()

0 commit comments

Comments
 (0)