diff --git a/python/paddle/distributed/fleet/launch_utils.py b/python/paddle/distributed/fleet/launch_utils.py index 6f1bc10b1a7d4cb9a345ef1055cd6a9f6975c1e4..ee5eb807fad7019cd2b7dff85170325a6d8230d1 100644 --- a/python/paddle/distributed/fleet/launch_utils.py +++ b/python/paddle/distributed/fleet/launch_utils.py @@ -83,7 +83,7 @@ class Cluster(object): def __ne__(self, cluster): return not self.__eq__(cluster) - def update_pods(cluster): + def update_pods(self, cluster): self.pods = copy.copy(cluster.pods) def trainers_nranks(self):