You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Proposal] Distributed Training for FL #330
Activity
[-]Does FedLab support DDP of pytorch?[/-][+]Does FedLab support multiple GPUs?[/+][-]Does FedLab support multiple GPUs?[/-][+]Does standalone mode support multiple GPUs?[/+]dunzeng commentedon Aug 16, 2023
We didn't provide multiple GPUs in the standalone module.
However, you can use the DP module of PyTorch in
trainfunction in SGDSerialClientTrainer.[-]Does standalone mode support multiple GPUs?[/-][+][Feature Proposal] Distributed Training for FL[/+]slyviacassell commentedon Aug 24, 2023
We define the following variables to further illustrate the idea:
When K == N, each selected client is allocated to a GPU to train.
When K > N, multiple clients are allocated to a GPU, then they execute training sequentially in the GPU.
When K < N, you can adjust to use fewer GPUs in training.
We need to set the number of GPUs in
gpuand specific distributed settings in thedistributedconfigs.The implementation is under working. Anybody would like to help?
QiTianyu-0403 commentedon Sep 28, 2024
I'm very interested in the function you mentioned. Is there any code available that can implement this function?