Skip to content

Commit

Permalink
Fix pre commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ddilbazTT committed Nov 5, 2024
1 parent 2f0ee6e commit be97884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tt_torch/dynamo/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def run_gm_op_by_op(self, *inputs):
node_to_tensor[node] = tensor
args_set = set()
for arg in node.args:
if arg in args_set: # skip duplicate args
if arg in args_set: # skip duplicate args
continue
args_set.add(arg)
if isinstance(arg, torch.fx.node.Node):
Expand All @@ -319,7 +319,7 @@ def run_gm_op_by_op(self, *inputs):
args = node.args[0]
output_tensors = [node_to_tensor[arg] for arg in args]
outputs = output_tensors

args_set = set()
for arg in args:
if arg in args_set:
Expand Down

0 comments on commit be97884

Please sign in to comment.