You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ajet/task_rollout/single_worker.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
"""Single worker primitives for environment rollouts."""
2
2
3
3
importuuid
4
+
importtime
4
5
importthreading
5
6
fromtypingimportLiteral
6
7
@@ -168,7 +169,6 @@ def rollout_env_worker_loop(
168
169
cnt=1
169
170
170
171
whileTrue:
171
-
172
172
ifobservation_window["stop"][task_thread_index]: # since we use multi-threading, the best way to communicate with main thread is through shared memory.
0 commit comments