Giter Site home page Giter Site logo

mlperf-workflows's Introduction

mlperf-benchmarks

Steps to configure the machine

  1. Clone the repository.
git clone https://github.com/blkswanio/mlperf-benchmarks
  1. Install docker, cuda-runtime and nvidia-docker on the machine.
cd mlperf-benchmarks/
./install_cuda_docker.sh
  1. Install the popper tool.
pip install popper

You can also install it in a virtualenv.

Running the benchmarks

Object Detection

cd object_detection/
popper run -f main.yml -c settings.py

Sentiment Analysis

cd sentiment_analysis/
popper run -f main.yml -c settings.py

Single Stage Detector

cd single_stage_detector/
popper run -f main.yml -c settings.py

RNN translator

cd rnn_translator/
popper run -f main.yml -c settings.py

Translation

cd translation/
popper run -f main.yml -c settings.py

Benchmark output

results/
|----- ssd/
|      |--result_1.txt
|      |--result_2.txt
|      |--result_3.txt
|      |--result_4.txt
|      |--result_5.txt
|----- maskrcnn/
|----- gnmt/
|----- transformer/
|----- systems/
       |--system_details.json

On running the benchmarks, a directory structure like the one above would be generated in the root of the repository.

mlperf-workflows's People

Contributors

dependabot[bot] avatar ivotron avatar jayjeetatgithub avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

mlperf-workflows's Issues

reorg folders

  • rename output/ to results/
  • create a training/open/ folder on the root of the project and move all the benchmarks within that folder.

add dataset verification steps

for each benchmark, add a verification step that checks the checksum of the tarball to ensure that it has been correctly downloaded

make download scripts idempotent

For the download step:

  1. obtain the list of files from zip/tar files
  2. compare that with existing files.
  3. skip download if all files are already present

move install commands from scripts to Dockerfile

Some benchmarks (e.g. object_detection) contain apt-get instructions on the scripts they use. We can move these to the Dockerfile to avoid having to re-run apt-get everytime the workflow runs.

This will also result in having any install step in the workflow being removed

allow for multiple results

instead of overwriting the results folder everytime a benchmark gets executed, we can instead obtain a timestamp when the benchmark starts, and create a folder using that timestamp. One cool thing would be to create a folder symlink within the results folder that points to the latest (e.g. a results/open/latest that points to the folder containing the latest execution)

Fix translation benchmark

  1. Remove tensorflow/model dir after benchmarking in translation benchmark.
  2. Confirm the type of model used.

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.