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 5bc06f9303cd0fc76e5359c1551748f883cf8037..a7d86411e203728116604ffafddf36a1cfaed9b3 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")