From b5ac3f71c1bd10e9e3467ee735ef679b70b2528e Mon Sep 17 00:00:00 2001 From: Masaki Kozuki Date: Thu, 12 Dec 2024 23:31:20 +0900 Subject: [PATCH] remove unused `self_arg` --- thunder/dynamo/utils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/thunder/dynamo/utils.py b/thunder/dynamo/utils.py index 5711b54af8..5f31d790a3 100644 --- a/thunder/dynamo/utils.py +++ b/thunder/dynamo/utils.py @@ -348,7 +348,6 @@ def is_node_supported_by_thunder(node: torch.fx.Node) -> tuple[bool, SplitReason target = node.target # Target is the function to call. if node.op == "call_method": - self_arg = node.args[0] target = getattr(torch.Tensor, node.target, None) assert target is not None, f"Failed to find method {node.target}"