Skip to content

Commit

Permalink
Removed unused next_stack specialization
Browse files Browse the repository at this point in the history
  • Loading branch information
jordis-ai2 committed May 6, 2024
1 parent 6247975 commit 19740c1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions allenact/algorithms/onpolicy_sync/vector_sampled_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,17 +682,6 @@ def mp_ctx(self):
"""
return self._mp_ctx

# def next_task(self, **kwargs):
# if "force_advance_scene" in kwargs:
# # TODO just send it to the first thread in each process if in multithreading
# self.command_at()
# # TODO just send it to all the rest of subprocesses in each process (this sucks big time)
# return self.command(
# commands=NEXT_TASK_COMMAND, data_list=[kwargs] * self.num_unpaused_tasks
# )
#
# return super().next_task(**kwargs)

@staticmethod
def _task_sampling_loop_worker(
worker_id: Union[int, str],
Expand Down

0 comments on commit 19740c1

Please sign in to comment.