CaffeOnSpark icon indicating copy to clipboard operation
CaffeOnSpark copied to clipboard

On the timing problem of parameter synchronization.

Open Compilerxb opened this issue 8 years ago • 1 comments

@junshi15 Hi,there is a problem. Please help me. The current iteration ends, and then the weight is updated for the next iteration. When updating the weights, each node computes the related parameters, sends them to other nodes at once, or waits for the other nodes to complete the calculations before sending and receiving them together? Then update the weights until each node is updated and then proceed to the next iteration.

Compilerxb avatar Aug 18 '17 03:08 Compilerxb

Gradients are sent once available, however all the nodes wait for updated weights before proceeding to the next iteration.

junshi15 avatar Aug 20 '17 13:08 junshi15