Giter VIP home page Giter VIP logo

tests's Introduction

Tests

CANDLE tests

These should be runnable interactively or via Jenkins.

Info

The Jenkins project is here: https://jenkins-ci.cels.anl.gov/job/CANDLE-CR

Usage

First, make sure your desired Python installation is in PATH and PYTHONPATH as needed.

Second, simply run the test you want, e.g.:

$ ./cr-nt3-1.sh

or to run all tests:

$ ./cr-list.sh

Conventions

Each test has a separate run directory (RUNDIR), but this is overwritten from run to run. We assume the numbered/dated output logs in Jenkins will capture everything needed to debug a historical test run.

Each test is associated with a TOKEN based on its directory name ("NT3", "P1B1", etc.). A corresponding setup-TOKEN.sh may be created that will automatically be sourced by the scripts.

Utilities

check-count.sh

Check counts of things like files

check-epoch.sh

Output checker for epochs. Knows how to find epoch output for Keras and PyTorch

check-output.sh

Output checker

check_tf.py

Keras/TensorFlow settings reporter

checkout-benchmarks.sh

Checks out or updates Benchmarks into a subdirectory

find-benchmarks.sh

Find the directory Benchmarks

py-settings.sh

Report Python settings

setup-tests.sh

Sets up Python, PATH, etc. Needed only once for a series of tests.

setup-test.sh

Sets up a particular Benchmark

utils.sh

Generic shell scripting tools

Test list

cr-nt3-1.sh

Test checkpoint/restart for NT3

cr-p1b1-torch-1.sh

Test checkpoint/restart for P1B1/PyTorch

cr-1.sh

Internal test pattern script. Runs any Benchmark and applies a sequence of CANDLE checkpoint/restart arguments.

Adding a new test

  1. Duplicate cr-1.sh and cr-list-1.sh

  2. Change the commands in the cr-1.sh to do what you want

  3. Check the output with the check-*.sh scripts or add your own tests

tests's People

Contributors

j-woz avatar rajeeja 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.