Distributed Learning With Automated Stepsizes