Giter Site home page Giter Site logo

alcf_sdlworkshop_2019's Introduction

Examples for Data parallel training

Author: Huihuo Zheng

Purpose: ALCF Simulation, Data, and Learning Workshop, 2019 https://www.alcf.anl.gov/workshops/alcf-simulation-data-and-learning-workshop

List of Examples

MNIST examples:

 keras_mnist.py
 tensorflow_mnist.py
 pytorch_mnist.py

ImageNet examples:

 keras_imagenet_resnet50.py
 pytorch_imagenet_resnet50.py
 tensorflow_synthetic_benchmark.py

These examples were created based on https://github.com/horovod/horovod/tree/master/examples. The original examples from Horovod are assumed to be run on GPU. I modified them to be able to run on CPUs.

Submission scripts:

The submission scripts are for Theta @ ALCF. submissions/theta/qsub_*.sh

Running the examples

qsub -A SDL_Workshop -q training -t 1:00:00 -n 4 submissions/theta/qsub_keras_mnist.py

  • modify -n and -t to run on different number of nodes with different walltime.

  • We assume one worker per node in all the cases. Modify PROC_PER_NODE and num_intra, num_threads accordingly if you want to set more than one workers per node.

alcf_sdlworkshop_2019's People

Contributors

zhenghh04 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.