From 6773fcc1ba4133b760674347fb77b6179ec75b4f Mon Sep 17 00:00:00 2001 From: gentelyang <852221609@qq.com> Date: Mon, 3 Aug 2020 10:17:36 +0800 Subject: [PATCH] fix stratege.set_program_config (#25864) --- .../fleet/parameter_server/distribute_transpiler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/incubate/fleet/parameter_server/distribute_transpiler/__init__.py b/python/paddle/fluid/incubate/fleet/parameter_server/distribute_transpiler/__init__.py index 5bc06f9303c..a7d86411e20 100644 --- a/python/paddle/fluid/incubate/fleet/parameter_server/distribute_transpiler/__init__.py +++ b/python/paddle/fluid/incubate/fleet/parameter_server/distribute_transpiler/__init__.py @@ -352,7 +352,7 @@ class FleetTranspiler(Fleet): # for half_async compatibility strategy.half_async = True strategy.runtime_split_send_recv = True - self._strategy.set_program_config(strategy) + _strategy.set_program_config(strategy) elif isinstance(strategy, dict): if self._inner_mode != PSMode.PSLIB: raise TypeError("Dict strategy can only be used at PSLIB Mode") -- GitLab