Skip to content

Commit 14edabd

Browse files
author
YJ Shi
committed
only get run_individual_node on local
1 parent dd4574f commit 14edabd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

python/tvm/contrib/debugger/debug_executor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ def __init__(self, module, device, graph_json_str, dump_root):
113113
self._dump_root = dump_root
114114
self._dump_path = None
115115
self._run_individual = module["run_individual"]
116-
self._run_individual_node = module["run_individual_node"]
116+
if module.type_key != "rpc":
117+
self._run_individual_node = module["run_individual_node"]
117118
self._debug_get_output = module["debug_get_output"]
118119
self._execute_node = module["execute_node"]
119120
self._get_node_output = module["get_node_output"]

0 commit comments

Comments
 (0)