Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GlobalPowerLimitOptimizer for distributed data parallel training #43

Open
3 tasks
jaywonchung opened this issue Mar 13, 2024 · 0 comments
Open
3 tasks
Labels
enhancement New feature or request

Comments

@jaywonchung
Copy link
Member

GlobalPowerLimitOptimizer works well for single node data parallel training, but in case of distributed data parallel, GPUs in different nodes should make the same final GPU power limit choice. Assuming homogeneous GPUs this is still very likely to happen, but we should make it more robust just in case.

  • Try running GlobalPowerLimitOptimizer in a distributed training setting
  • Create collective communication helpers that internally call torch.distributed.all_reduce (for AllReduce) if PyTorch is available and something else for JAX. (The time and energy measurements from each ZeusMonitor instance in each node should gather results, and node rank 0 will make global decisions.)
  • Update the ImageNet training example to explicitly mention distributed data parallel training.
@jaywonchung jaywonchung added the enhancement New feature or request label Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant