Skip to content

Commit

Permalink
fix test_distributer process launch error
Browse files Browse the repository at this point in the history
  • Loading branch information
SolenoidWGT committed Jan 17, 2023
1 parent c06288e commit 3fa5319
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ding/framework/middleware/tests/test_distributer.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def test_model_exchanger():


def model_exchanger_main_with_model_loader():
sleep(1) # Wait some time for the sub-process to start.
with task.start(ctx=OnlineRLContext()):
set_pkg_seed(0, use_cuda=False)
policy = MockPolicy()
Expand Down

0 comments on commit 3fa5319

Please sign in to comment.