STT-tensorflow/tensorflow/tools/ci_build
Mihai Maruseac 36e29215ec
Merge pull request #45715 from angerson/r2.4
Add Cuda 11 custom-op Dockerfile
2021-01-19 09:22:42 -08:00
..
build_scripts Rename the PRESUBMITS_BUILD_TARGETS file to something more appropriate (DEFAULT_TEST_TARGETS). 2020-07-23 15:46:34 -07:00
builds Don't use $HOME, use ~. 2021-01-15 12:51:59 -08:00
ctpu Kokoro related change for switching nighlty-2.x to the nightly and removing older nightly which was pointing to nightly-1.15. 2020-03-04 13:27:39 -08:00
devtoolset Install multiple python versions simultaneously in our remote build docker. 2020-04-25 05:19:30 -07:00
gpu_build
horovod/gpu remove interactive options from the docker command line. 2020-09-02 10:02:42 -07:00
install fix the pylint hang issue 2020-09-04 03:28:47 +05:30
linux Updating ROCm CI scripts to use ROCm 3.9 2020-12-04 02:17:37 +00:00
nightly_release Internal testing change 2020-10-14 18:06:02 -07:00
osx Delete SYCL support 2020-09-15 11:21:47 -07:00
pi Refactor Python PIP build scripts for ARM/ARM64 2020-07-24 18:40:57 -07:00
presubmit Simplify and pin common CI deps. 2020-10-19 21:50:38 -07:00
protobuf
rel Fix project name for GPU ubuntu builds 2020-11-01 22:13:43 -08:00
release pin to old version(3.9.2)has broken docs 2020-12-02 13:29:59 -08:00
remote
windows Switch default of TF Windows CI builds to CUDA 11. 2020-08-20 09:10:24 -07:00
xla/linux Updating ROCm CI scripts to use ROCm 3.9 2020-12-04 02:17:37 +00:00
build_rbe.sh
ci_build.sh fix the pylint hang issue 2020-09-04 03:28:47 +05:30
ci_sanity.sh Ignore bad-whitespace, but only for keyword argument assignment. 2020-09-16 19:03:03 -07:00
cloudbuild.yaml
code_link_check.sh
copy_binary.py
cuda-clang.patch
Dockerfile.android Update TFLite to use Android NDK r18b 2020-10-01 11:58:25 -07:00
Dockerfile.cmake
Dockerfile.cpu
Dockerfile.cpu.ppc64le
Dockerfile.cuda-clang
Dockerfile.custom_op_gpu
Dockerfile.custom_op_ubuntu_16 Fix custom op docker containers. 2020-08-19 10:58:00 -07:00
Dockerfile.custom_op_ubuntu_16_cuda10.0 Fix custom op docker containers. 2020-08-19 10:58:00 -07:00
Dockerfile.custom_op_ubuntu_16_cuda10.1 Fix custom op docker containers. 2020-08-19 10:58:00 -07:00
Dockerfile.custom_op_ubuntu_16_cuda11.0 Add Cuda 11 custom-op Dockerfile 2020-12-15 12:36:44 -08:00
Dockerfile.debian.jessie.cpu
Dockerfile.gpu
Dockerfile.gpu.ppc64le
Dockerfile.hadoop
Dockerfile.horovod.gpu Fix name of the dockerfile. 2020-09-01 11:14:23 -07:00
Dockerfile.local-toolchain-ubuntu18.04-manylinux2010 New ROCm 3.5 RBE docker based on Ubuntu 18.04, re-enable RBE. 2020-06-29 05:23:57 -07:00
Dockerfile.micro Merge pull request #32287 from jenselofsson:micro_recognition 2020-04-23 12:50:03 -07:00
Dockerfile.pi Add a way to build TFLite PIP package with Flex support 2020-05-28 18:07:13 -07:00
Dockerfile.pi-python3 Refactor Python PIP build scripts for ARM/ARM64 2020-07-24 18:40:57 -07:00
Dockerfile.pi-python37 Refactor Python PIP build scripts for ARM/ARM64 2020-07-24 18:40:57 -07:00
Dockerfile.pi-python38 Refactor Python PIP build scripts for ARM/ARM64 2020-07-24 18:40:57 -07:00
Dockerfile.rbe.cpu
Dockerfile.rbe.cuda9.0-cudnn7-ubuntu14.04
Dockerfile.rbe.cuda10.0-cudnn7-ubuntu14.04
Dockerfile.rbe.cuda10.0-cudnn7-ubuntu16.04-manylinux2010
Dockerfile.rbe.cuda10.1-cudnn7-ubuntu16.04-manylinux2010 Update the OSS image to pickup latest tf estimator PIP package. 2020-05-12 16:03:19 -07:00
Dockerfile.rbe.cuda10.1-cudnn7-ubuntu16.04-manylinux2010-multipython Add bz2-devel so python will be compiled with bz2 support. 2020-05-12 11:36:14 -07:00
Dockerfile.rbe.cuda10.1-cudnn7-ubuntu18.04-manylinux2010-multipython Add RBE multipython Dockerfile for ubuntu 18.04. 2020-05-29 13:54:16 -07:00
Dockerfile.rbe.cuda11.0-cudnn8-ubuntu18.04-manylinux2010-multipython Update CUDA11+cuDNN8 RBE Dockerfile with CUDA 11 GA. 2020-07-21 11:08:24 -07:00
Dockerfile.rbe.gpu
Dockerfile.rbe.rocm-ubuntu18.04-manylinux2010-multipython Make sure that hexdump is available in ROCM docker image. 2020-09-22 06:49:58 -07:00
Dockerfile.rbe.ubuntu16.04-manylinux2010 Update the OSS image to pickup latest tf estimator PIP package. 2020-05-12 16:03:19 -07:00
Dockerfile.rocm Updating Dockerfile.rocm to use ROCm 3.9 2020-12-04 02:16:01 +00:00
pep8
pylintrc Ignore bad-whitespace, but only for keyword argument assignment. 2020-09-16 19:03:03 -07:00
README.md minor spelling tweaks 2020-03-24 12:34:02 +09:00
sizetrack_helper.py Make all_commits and all_cls into chronological order 2020-08-19 11:44:26 -07:00
update_version.py Change the update_version script to not add +1 to the minor version of TF for 2020-06-29 11:09:43 -07:00

TensorFlow Builds

This directory contains all the files and setup instructions to run all the important builds and tests. You can run it yourself!

Run It Yourself

You have two options when running TensorFlow tests locally on your machine. First, using docker, you can run our Continuous Integration (CI) scripts on tensorflow devel images. The other option is to install all TensorFlow dependencies on your machine and run the scripts natively on your system.

Run TensorFlow CI Scripts using Docker

  1. Install Docker following the instructions on the docker website.

  2. Start a container with one of the devel images here: https://hub.docker.com/r/tensorflow/tensorflow/tags/.

  3. Based on your choice of the image, pick one of the scripts under https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/ci_build/linux and run them from the TensorFlow repository root.

Run TensorFlow CI Scripts Natively on your Machine

  1. Follow the instructions at https://www.tensorflow.org/install/source, but stop when you get to the section "Configure the installation". You do not need to configure the installation to run the CI scripts.

  2. Pick the appropriate OS and python version you have installed, and run the script under tensorflow/tools/ci_build/.

TensorFlow Continuous Integration

To verify that new changes dont break TensorFlow, we run builds and tests on either Jenkins or a CI system internal to Google.

We can trigger builds and tests on updates to master or on each pull request. Contact one of the repository maintainers to trigger builds on your pull request.

View CI Results

The Pull Request will show if the change passed or failed the checks.

From the pull request, click Show all checks to see the list of builds and tests. Click on Details to see the results from Jenkins or the internal CI system.

Results from Jenkins are displayed in the Jenkins UI. For more information, see the Jenkins documentation.

Results from the internal CI system are displayed in the Build Status UI. In this UI, to see the logs for a failed build:

  • Click on the INVOCATION LOG tab to see the invocation log.

  • Click on the ARTIFACTS tab to see a list of all artifacts, including logs.

  • Individual test logs may be available. To see these logs, from the TARGETS tab, click on the failed target. Then, click on the TARGET LOG tab to see its test log.

    If youre looking at target that is sharded or a test that is flaky, then the build tool divided the target into multiple shards or ran the test multiple times. Each test log is specific to the shard, run, and attempt. To see a specific log:

    1. Click on the log icon that is on the right next to the shard, run, and attempt number.

    2. In the grid that appears on the right, click on the specific shard, run, and attempt to view its log. You can also type the desired shard, run, or attempt number in the field above its grid.

Third party TensorFlow CI

Mellanox TensorFlow CI

How to start CI
  • Submit special pull request (PR) comment to trigger CI: bot:mlx:test
  • Test session is run automatically.
  • Test results and artifacts (log files) are reported via PR comments
CI Steps

CI includes the following steps: * Build TensorFlow (GPU version) * Run TensorFlow tests: * TF CNN benchmarks (TensorFlow 1.13 and less) * TF models (TensorFlow 2.0): ResNet, synthetic data, NCCL, multi_worker_mirrored distributed strategy

Test Environment

CI is run in the Mellanox lab on a 2-node cluster with the following parameters:

  • Hardware * IB: 1x ConnectX-6 HCA (connected to Mellanox Quantum™ HDR switch) * GPU: 1x Nvidia Tesla K40m * Software * Ubuntu 16.04.6 * Internal stable MLNX_OFED, HPC-X™ and SHARP™ versions
Support (Mellanox)

With any questions/suggestions or in case of issues contact Artem Ryabov.