GithubHelp home page GithubHelp logo

lgeo3 / benchmarks Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tensorflow/benchmarks

0.0 1.0 0.0 790 KB

Benchmark code

License: Apache License 2.0

Python 94.14% CSS 0.48% JavaScript 2.46% HTML 1.44% Shell 1.48%

benchmarks's Introduction

Instructions for adding distributed benchmarks to continuous run:

  1. You can add your benchmark file under tensorflow/benchmarks/scripts directory. The benchmark should accept task_index, job_name, ps_hosts and worker_hosts flags. You can copy-paste the following flag definitions:

    tf.app.flags.DEFINE_integer("task_index", None, "Task index, should be >= 0.")
    tf.app.flags.DEFINE_string("job_name", None, "job name: worker or ps")
    tf.app.flags.DEFINE_string("ps_hosts", None, "Comma-separated list of hostname:port pairs")
    tf.app.flags.DEFINE_string("worker_hosts", None, "Comma-separated list of hostname:port pairs")
  2. Report benchmark values by calling store_data_in_json from your benchmark code. This function is defined in benchmark_util.py.

  3. Create a Dockerfile that sets up dependencies and runs your benchmark. For example, see Dockerfile.tf_cnn_benchmarks.

  4. Add the benchmark to benchmark_configs.yml

    • Set benchmark_name to a descriptive name for your benchmark and make sure it is unique.
    • Set worker_count and ps_count.
    • Set docker_file to the Dockerfile path starting with benchmarks/ directory.
    • Optionally, you can pass flags to your benchmark by adding args list.
  5. Send PR with the changes to annarev.

Currently running benchmarks: https://benchmarks-dot-tensorflow-testing.appspot.com/

For any questions, please contact [email protected].

benchmarks's People

Contributors

alsrgv avatar anj-s avatar annarev avatar bignamehyp avatar byronyi avatar caisq avatar cwhipkey avatar fchollet avatar jayhpark530 avatar martinwicke avatar mingxingtan avatar ppwwyyxx avatar reedwm avatar sguada avatar shamoya avatar tanguofu avatar tensorflower-gardener avatar tfboyd avatar timzaman avatar tjingrant avatar zheng-xq avatar

Watchers

 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.