PyramidFL: a fine-grained client selection framework for efficient federated learning