From 3fa540928346747ec305f588f896724bd807f44e Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Thu, 4 Jul 2024 15:26:17 +0300 Subject: [PATCH] Fix launch_multi_node enforce the parent of sub-tasks to be the master node 0 task --- clearml/task.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clearml/task.py b/clearml/task.py index b29f17d0..932a8006 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -2045,7 +2045,7 @@ class Task(_Task): set_launch_multi_node_runtime_props(self, master_conf) current_conf = master_conf for node_rank in range(1, master_conf.get("total_num_nodes", total_num_nodes)): - node = self.clone(source_task=self) + node = self.clone(source_task=self, parent=self.id) node_conf = copy.deepcopy(master_conf) node_conf["node_rank"] = node_rank set_launch_multi_node_runtime_props(node, node_conf)