Distributed sequential federated learning