From 12b5b74fd54745d5fe02a02f2cfb81f1f0dcd2b8 Mon Sep 17 00:00:00 2001 From: Xinger <34963409+Ningsir@users.noreply.github.com> Date: Wed, 14 Sep 2022 11:06:36 +0800 Subject: [PATCH] update comment about fleet.init() (#44043) --- python/paddle/distributed/fleet/fleet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/paddle/distributed/fleet/fleet.py b/python/paddle/distributed/fleet/fleet.py index 63e4c5ec182..089e4e51c92 100644 --- a/python/paddle/distributed/fleet/fleet.py +++ b/python/paddle/distributed/fleet/fleet.py @@ -178,8 +178,9 @@ class Fleet(object): the rolemaker by yourself, it will be automatically initialized to PaddleRoleMaker. The default value is None. is_collective (Boolean, optional): A ``Boolean`` variable determines whether the program - runs on the CPU or GPU. False means set distributed training using CPU, and True means - GPU.The default value is False.The default value is False. + runs on Collective mode or ParameterServer mode. True means the program runs on + Collective mode, and False means running on ParameterServer mode. The default value + is False. strategy (DistributedStrategy): Extra properties for distributed training. For details, please refer to paddle.distributed.fleet.DistributedStrategy. Default: None. -- GitLab