File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2828 - stage : build
2929 name : " Build on Ubuntu 16.04 for Python 2.7 3.5 3.6 3.7"
3030 script :
31- - bash -x -e tools/run_docker.sh -c 'tools/ci_build/builds/release_linux.sh'
31+ # Build GPU kernels without runtime=nvidia as there are no GPUs/Drivers
32+ - docker run -v ${PWD}:/addons -w /addons tensorflow/tensorflow:custom-op-gpu-ubuntu16 tools/ci_build/builds/release_linux.sh
3233 after_success :
3334 - twine upload -u $PYPI_USER -p $PYPI_PW wheelhouse/*.whl
3435
Original file line number Diff line number Diff line change @@ -73,6 +73,9 @@ https://bazel.build/) build system.
7373git clone https://github.com/tensorflow/addons.git
7474cd addons
7575
76+ # If building GPU Ops (Requires CUDA 10.0 and CuDNN 7)
77+ export TF_NEED_CUDA=1
78+
7679# This script links project with TensorFlow dependency
7780./configure.sh
7881
@@ -93,6 +96,11 @@ User experience and project maintainability are core concepts in
9396TF-Addons. In order to achieve these we require that our additions
9497conform to established API patterns seen in core TensorFlow.
9598
99+ #### GPU/CPU Custom-Ops
100+ A major benefit of TensorFlow Addons is that there are precompiled ops. Should
101+ a CUDA 10 installation not be found then the op will automatically fall back to
102+ a CPU implementation.
103+
96104#### Proxy Maintainership
97105Addons has been designed to compartmentalize subpackages and submodules so
98106that they can be maintained by users who have expertise and a vested interest
You can’t perform that action at this time.
0 commit comments