Skip to content

Commit

Permalink
fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
briancoutinho committed Apr 29, 2024
1 parent 364d73f commit 2677170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions train/compute/python/tools/execution_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def is_leaf_tensor(self):
@dataclass
class _CommArgs:
"""Contains communication collective metadata"""

collective_name: str
dtype: str
# .. TODO add more see https://github.com/pytorch/pytorch/issues/124674
Expand Down
3 changes: 1 addition & 2 deletions train/compute/python/tools/validate_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@


class TraceValidator:

def __init__(self, execution_trace: ExecutionTrace):
self.et = execution_trace

Expand Down Expand Up @@ -60,7 +59,7 @@ def check_comms_node_old(n) -> bool:

def check_comms_node_new(n) -> bool:
"""New elements are added as per
https://github.com/pytorch/pytorch/issues/124674
https://github.com/pytorch/pytorch/issues/124674
"""
# TODO check for node.commArgs dataclass
print(n.commArgs)
Expand Down

0 comments on commit 2677170

Please sign in to comment.