Code Monkey home page Code Monkey logo

bamboo's Introduction

Afforable deep learning through resilient preemptible instances.

v0.1 - 01/20/22

Summary of Bamboo

Bamboo is a system for running large scale DNNs using pipeline parallelism affordably, reliably, and efficiently on spot instances. It is built on top of DeepSpeed. It uses redundant computation in the pipeline by taking advantage of pipeline bubbles to enable low-pause recovery from failures.

etcdctl rm --dir --recursive /torchelastic

Setup

Ensure you have the following requirements:

  • Python 3.7
  • PyTorch 1.10.0
  • etcd 2.x (2.3.6 recommended, but you cannot run it as a systemctl service, open a tmux session and run it)

According to bisection search, Bamboo was modified from DeepSpeed v0.5.2

Documentation has the following requirements:

  • TeX Live
  • Biber

First, create the virtual environment:

python -m venv --system-site-packages venv
source venv/bin/activate
pip install -U pip
pip install -r requirements.txt

For the documentation you may want to create a ~/.latexmkrc file containing the following (this example uses Evince):

$pdf_previewer = 'start evince';

Running

Start all commands with the following:

python -m project_pactum

For the documentation, go to the directory of whichever document you want to build and run the following:

latexmk -pvc

This command will recompile the LaTeX file as many times as needed and open it in your preferred PDF viewer. For modifications keep this command running, and the document recompiles automatically.

bamboo's People

Contributors

etogaosion avatar joneyolfson avatar uclasystem avatar johnnt849 avatar ivanium 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.