Distributed Optimization using Heterogeneous Compute Systems

Vineeth S
10/3/2021
cs.LGcs.DC

Official code: vineeths96/Heterogeneous-Systems (6 stars, Python, MIT, PyTorch, last commit 2021-11-14).

Abstract

Hardware compute power has been growing at an unprecedented rate in recent years. The utilization of such advancements plays a key role in producing better results in less time -- both in academia and industry.

Show full abstract

However, merging the existing hardware with the latest hardware within the same ecosystem poses a challenging task. One of the key challenges, in this case, is varying compute power. In this paper, we consider the training of deep neural networks on a distributed system of workers with varying compute power. A naive implementation of synchronous distributed training will result in the faster workers waiting for the slowest worker to complete processing. To mitigate this issue, we propose to dynamically adjust the data assigned for each worker during the training. We assign each worker a partition of total data proportional to its computing power. Our experiments show that dynamically adjusting the data partition helps to improve the utilization of the system and significantly reduces the time taken for training. Code is available at the repository: \url{https://github.com/vineeths96/Heterogeneous-Systems}.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

We present an algorithm to dynamically adjust the data assigned for each worker at every epoch during the training in a heterogeneous cluster. We empirically evaluate the performance of the dynamic partitioning by training deep neural networks on the CIFAR10 dataset.

61PythonApr 8, 20215 years agoMIT
deep-learningdistributed-optimizationfederated-learningheterogeneous-parallel-programminglarge-scale+2 more

Similar Papers

Cite this paper

@article{s2021distributed,
  title  = {Distributed Optimization using Heterogeneous Compute Systems},
  author = {Vineeth S},
  year   = {2021},
  eprint = {2110.08941},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.08941}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.08941.svg)](https://codeofpaper.com/paper/2110.08941)

Discussion