Giter Club home page Giter Club logo

tensorflow-2_distribution-strategies_playground's Introduction

How to run training using SLURM

Before running training please adjust checkpoint_dir variable.

  • SA-MIRI's network:
sbatch job_cte_nostrategy.sh --architecture sa_miri --epochs 20 --batch_size 128
sbatch job_cte_mirroredstrategy.sh --architecture sa_miri --epochs 20 --batch_size 128
sbatch job_cte_multiworkermirroredstrategy.sh --architecture sa_miri --epochs 20 --batch_size 128
  • MobileNet:
sbatch job_cte_nostrategy.sh --architecture mobilenet --epochs 5 --batch_size 128
sbatch job_cte_mirroredstrategy.sh --architecture mobilenet --epochs 5 --batch_size 128
sbatch job_cte_multiworkermirroredstrategy.sh --architecture mobilenet --epochs 5 --batch_size 128
  • Resnet101:
sbatch job_cte_nostrategy.sh --architecture resnet101 --epochs 5 --batch_size 64
sbatch job_cte_mirroredstrategy.sh --architecture resnet101 --epochs 5 --batch_size 64
sbatch job_cte_multiworkermirroredstrategy.sh --architecture resnet101 --epochs 5 --batch_size 64

Results

Evaluations made intra-node (using 2-4 GPUs) were using NCCLAllReduce, evaluations made inter-node (using 8+ GPUs) were using RING collective communication.

  • SA-MIRI's network: SA-MIRI's network training speedup
  • MobileNet: MobileNet training speedup
  • Resnet101: Resnet101 training speedup

Future work

It would be interesting to measure speedup for MultiWorkerMirroredStrategy with NCCL set as collective communication mechanism.

tensorflow-2_distribution-strategies_playground's People

Contributors

victoratpl avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jorditorresbcn

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.