Giter VIP home page Giter VIP logo

eventgrad's Introduction

Event-Triggered Communication in Parallel Machine Learning

The primary objective of this repository is to introduce EventGraD - a novel communication algorithm based on event-triggered communication to reduce communication in parallel machine learning. EventGraD considers the decentralized setting where communication happens only with the neighbor processors at every iteration instead of an AllReduce involving every processor at every iteration. The main idea is to trigger communication in events only when the parameter to be communicated changes by a threshold. For details on how to choose an adaptive threshold and convergence proofs, please refer to the publications. EventGraD saves around 70% of the messages in MNIST and 60% of the messages on CIFAR-10. Please see /dmnist/event/ for the EventGraD code on MNIST and /dcifar10/event for the EventGraD code on CIFAR-10.

PyTorch C++ API meets MPI

The secondary objective of this repository is to serve as a starting point to implement parallel/distributed machine learning using PyTorch C++ (LibTorch) and MPI. Apart from EventGraD, other popular distributed algorithms such as AllReduce based training (/dmnist/cent/) and decentralized training with neighbors(/dmnist/decent/) are covered. The AllReduce based training code was contributed to the pytorch/examples repository here through this pull request.

Publications

  1. Soumyadip Ghosh, Bernardo Aquino and Vijay Gupta, "EventGraD: Event-Triggered Communication in Parallel Machine Learning", Neurocomputing, Nov 2021 (arxiv)

  2. Soumyadip Ghosh and Vijay Gupta, "EventGraD: Event-Triggered Communication in Parallel Stochastic Gradient Descent", Workshop on Machine Learning in HPC Environments (MLHPC), Supercomputing Conference (SC), Virtual, November 2020

eventgrad's People

Contributors

soumyadipghosh avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.