From fdc3ff51c3eb58d7763f4ce413d478077ddeb469 Mon Sep 17 00:00:00 2001 From: wuhuachaocoding <77733235+wuhuachaocoding@users.noreply.github.com> Date: Thu, 27 Apr 2023 16:50:19 +0800 Subject: [PATCH] set sync_param default true. (#53379) --- paddle/fluid/framework/distributed_strategy.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/distributed_strategy.proto b/paddle/fluid/framework/distributed_strategy.proto index 6b093e9ee03..0435199ecaa 100755 --- a/paddle/fluid/framework/distributed_strategy.proto +++ b/paddle/fluid/framework/distributed_strategy.proto @@ -52,7 +52,7 @@ message ShardingConfig { // for dygraph message MpConfig { - optional bool sync_param= 1 [ default = false ]; + optional bool sync_param= 1 [ default = true ]; optional bool sync_grad= 2 [ default = false ]; optional bool sync_moment= 3 [ default = false ]; optional string sync_mode= 4 [ default = 'broadcast' ]; -- GitLab