tree: ac76855982126a02701800c91ea385d1ca03b9e0 [path history] [tgz]
  1. install/
  2. pip_tests/
  3. ci_build.sh
  4. Dockerfile.amzn_linux_cpu
  5. Dockerfile.caffe_gpu
  6. Dockerfile.cpu
  7. Dockerfile.crosstool
  8. Dockerfile.doc
  9. Dockerfile.emscripten
  10. Dockerfile.gpu
  11. Dockerfile.lint
  12. Dockerfile.mklml_gpu
  13. Dockerfile.spell_checker
  14. Dockerfile.ubuntu1404_cuda75_cudnn5
  15. pylintrc
  16. README.md
  17. with_the_same_user
tests/ci_build/README.md

MXNET Builds

This directory contains the files and setup instructions to run all tests. They are running on ci.mxnet.io. But you can also run them locally easily.

Run locally

To run locally, we need to first install docker and nvidia-docker.

We may use the AWS EC2 AMI ami-d73bb4b7 available at US West (Oregon) which has both pre-installed.

Then we can run the tasks defined in the Jenkinsfile by using (ci_build.sh)[./ci_build.sh]. For example

  • lint the python codes

    ./ci_build.sh lint make pylint
    
  • build codes with CUDA supports

    ./ci_build.sh gpu make -j$(nproc) USE_BLAS=openblas USE_CUDA=1 USE_CUDA_PATH=/usr/local/cuda USE_CUDNN=1
    
  • do the python unittest

    ./ci_build.sh gpu PYTHONPATH=./python/ nosetests --with-timer --verbose tests/python/unittest'
    
  • build the documents. The results will be available at docs/_build/html

    tests/ci_build/ci_build.sh doc make -C docs html