Question: Synchronous Parallel SGD ( 1 2 . 5 points ) Now assume we use a synchronous ap - proach where we wait for all the

Synchronous Parallel SGD (12.5 points) Now assume we use a synchronous ap-
proach where we wait for all the cores to finish calculating a gradient, and then we
aggregate the gradients and update the shared memory (no gradient calculation happens
during aggregation or memory update). If calculating the gradient on core 1, core 2, and
core 3 takes 0.4s,0.45s, and 0.5s, respectively, aggregating the gradients takes 0.3s, and
writing an update in the memory takes 0.25s, how long does it take for the cores to finish
1 parameter update?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!