Skip to content

Commit

Permalink
chore: Update comments
Browse files Browse the repository at this point in the history
Signed-off-by: Weixin Deng <weixin@cs.washington.edu>
  • Loading branch information
dengwxn committed Sep 25, 2024
1 parent bbce790 commit a1cf208
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/ray/dag/dag_node_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ def _select_next_nodes(
For the implementation details, we maintain a priority queue for each actor,
where the head of the priority queue is the node with the smallest `exec_task_idx`.
When a node has a zero in-degree, it is added to the corresponding actor's
priority queue. For a node other than a NCCL compute node, if it has a zero
in-degree, it is ready to be executed. For an NCCL compute node, it is ready
when all the nodes in its collective group have zero in-degrees.
priority queue. For a node other than a NCCL compute node, it is ready to be
executed if it has a zero in-degree. For an NCCL compute node, it is ready
to be executed when all the nodes in its collective group have zero in-degrees.
If a node is a NCCL compute node, it updates the `ready_collective_nodes` of
all the nodes in its collective group. Unless all the nodes in its collective
Expand Down

0 comments on commit a1cf208

Please sign in to comment.