Answers. 1. 256. 2. To give the same aggregated gradient to the replicas. 3. The number of updates or the global batch may change. 4. Federated clients are separate, partial and often non-IID. 5. A single-worker comparison on equivalent data and global batch.
Compute the global batch for 8 workers, local batch 32 and accumulation 2. Then write a test comparing a single-worker and distributed update on the same data. Success: explained numerical gap, seeds and sampling order recorded.
Preview — the rest of the lesson is for enrolled readers.
Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.
Sign inNo account yet? Create oneThe first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.