Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Sep 12, 2024
1 parent 4049fd0 commit 7818988
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion msccl/language/mscclpp/instruction_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def _fuse_same_instructions(self):
if inst_type in instruction_handlers:
for next_op in op.next:
same_buf_func = instruction_handlers[inst_type]
if optimizer.try_merge_same_instruction(op, next_op, tb, queue, inst_type, same_buf_func):
if optimizer.try_merge_same_instructions(op, next_op, tb, queue, inst_type, same_buf_func):
fused = True
break
if fused:
Expand Down
2 changes: 1 addition & 1 deletion msccl/language/mscclpp/instruction_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

class InstructionOptimizer:

def try_merge_same_instruction(
def try_merge_same_instructions(
self,
op: Op,
next_op: Op,
Expand Down

0 comments on commit 7818988

Please sign in to comment.