From a710abeecd72d7ac80084eb6003c0ed371d7fc04 Mon Sep 17 00:00:00 2001 From: xiayanming <41795079@qq.com> Date: Thu, 2 Dec 2021 16:05:02 +0800 Subject: [PATCH] fix fleet elastic bug (#37781) --- python/paddle/distributed/fleet/elastic/collective.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/distributed/fleet/elastic/collective.py b/python/paddle/distributed/fleet/elastic/collective.py index 82055314b0..de350e15d3 100644 --- a/python/paddle/distributed/fleet/elastic/collective.py +++ b/python/paddle/distributed/fleet/elastic/collective.py @@ -31,9 +31,9 @@ class CollectiveLauncher(LauncherInterface): logger.info("collective lauchner launch ...") args = self.args self.tmp_dir = tempfile.mkdtemp() + cluster, pod = paddle.distributed.fleet.launch.get_cluster_info(args) global_envs = paddle.distributed.fleet.launch.get_global_envs( args, self.tmp_dir) - cluster, pod = paddle.distributed.fleet.launch.get_cluster_info(args) self.procs = start_local_trainers( cluster, -- GitLab