|
|
@ -41,6 +41,11 @@ message LocalSGDConfig {
|
|
|
|
optional int32 begin_step = 2 [ default = 1 ];
|
|
|
|
optional int32 begin_step = 2 [ default = 1 ];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message AdaptiveLocalSGDConfig {
|
|
|
|
|
|
|
|
optional int32 init_k_steps = 1 [ default = 1 ];
|
|
|
|
|
|
|
|
optional int32 begin_step = 2 [ default = 1 ];
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message GradientMergeConfig {
|
|
|
|
message GradientMergeConfig {
|
|
|
|
optional int32 k_steps = 1 [ default = 1 ];
|
|
|
|
optional int32 k_steps = 1 [ default = 1 ];
|
|
|
|
optional bool avg = 2 [ default = true ];
|
|
|
|
optional bool avg = 2 [ default = true ];
|
|
|
@ -121,6 +126,7 @@ message DistributedStrategy {
|
|
|
|
optional bool cudnn_exhaustive_search = 21 [ default = true ];
|
|
|
|
optional bool cudnn_exhaustive_search = 21 [ default = true ];
|
|
|
|
optional int32 conv_workspace_size_limit = 22 [ default = 4000 ];
|
|
|
|
optional int32 conv_workspace_size_limit = 22 [ default = 4000 ];
|
|
|
|
optional bool cudnn_batchnorm_spatial_persistent = 23 [ default = true ];
|
|
|
|
optional bool cudnn_batchnorm_spatial_persistent = 23 [ default = true ];
|
|
|
|
|
|
|
|
optional bool adaptive_localsgd = 24 [ default = false ];
|
|
|
|
|
|
|
|
|
|
|
|
optional RecomputeConfig recompute_configs = 101;
|
|
|
|
optional RecomputeConfig recompute_configs = 101;
|
|
|
|
optional AMPConfig amp_configs = 102;
|
|
|
|
optional AMPConfig amp_configs = 102;
|
|
|
@ -131,6 +137,7 @@ message DistributedStrategy {
|
|
|
|
optional AsyncConfig a_sync_configs = 107;
|
|
|
|
optional AsyncConfig a_sync_configs = 107;
|
|
|
|
optional LarsConfig lars_configs = 108;
|
|
|
|
optional LarsConfig lars_configs = 108;
|
|
|
|
optional LambConfig lamb_configs = 109;
|
|
|
|
optional LambConfig lamb_configs = 109;
|
|
|
|
|
|
|
|
optional AdaptiveLocalSGDConfig adaptive_localsgd_configs = 110;
|
|
|
|
optional BuildStrategy build_strategy = 201;
|
|
|
|
optional BuildStrategy build_strategy = 201;
|
|
|
|
optional ExecutionStrategy execution_strategy = 202;
|
|
|
|
optional ExecutionStrategy execution_strategy = 202;
|
|
|
|
}
|
|
|
|
}
|
|
|
|