fix stratege.set_program_config (#25864)

revert-24895-update_cub
gentelyang 5 years ago committed by GitHub
parent 427c5529ea
commit 6773fcc1ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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")

Loading…
Cancel
Save