Implementation of NewRemoteParameterUpdater use wrong type of proto configs
Created by: typhoonzero
In NewRemoteParameterUpdater.cpp:53
uses parameters_[i]->getConfig()
which is of protobuf "ParameterConfig.proto", then the serialized data is passed to pserver and pserver use it to create a new optimizer implementation which uses "OptimizerConfig.proto", leading to wrong config of optimizers:
INFO[0004] New Optimizer Created with config: ConfigSize=34 ElementType=4 ParamSize=52
INFO[0004] New Optimizer Created with config: ConfigSize=34 ElementType=4 ParamSize=4
I0706 12:43:02.781574 20702 NewRemoteParameterUpdater.cpp:61] paddle_begin_init_params done
I0706 12:43:02.781584 20702 NewRemoteParameterUpdater.cpp:66] NewRemoteParameterUpdater initialized
b [ 0.]
w [ 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.]