In a Parameter-Server (PS) based Asynchronous SGD training system, there are two…
- User
In a Parameter-Server (PS) based Asynchronous SGD training system, there are two learners. Assume a learner sends gradients to the PS, PS updates weights and a learner pulls the weights from the PS in zero amount of time (i.e. after learner sends gradients to the PS, it can receive updated weights from PS immediately). Now assume learner 1 runs at about 1.4x speed of learner 2. Learner 1 calculates gradients g[L1, 1] at second 1, g[L1, 2] at second 2, g[L1, 3] at second 3, g[L1, 4] at second 4. Learner 2 calculates gradients g[L2, 1] at second 1.4, g[L2, 2] at second 2.8, g[L2, 3] at second 4.2. Updates to weights are instant once a gradient is available. Calculate the staleness (number of weight updates between reading and updating weights) of g[L1, 1], g[L1, 2], g[L1, 3]g[L1, 4], g[L2, 1], g[L2, 2], g[L2, 3]. (g[Li, j] means i-th learner’s j-th calculated gradients).
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.