diff options
author | Amit Patankar <amitpatankar@google.com> | 2018-07-31 10:53:01 -0700 |
---|---|---|
committer | Amit Patankar <amitpatankar@google.com> | 2018-07-31 10:53:01 -0700 |
commit | f9410ac2e50d961adbea6b4805f82da90116bebe (patch) | |
tree | 700a9ba1039891b8e87eab9d440ad8fd2f412246 /tensorflow/tools | |
parent | cd4fccda8b60bda2b36859b4a4e7eae37ed54cce (diff) |
Merging the r1.10 branch back to master.
Diffstat (limited to 'tensorflow/tools')
10 files changed, 19 insertions, 18 deletions
diff --git a/tensorflow/tools/ci_build/builds/run_pip_tests.sh b/tensorflow/tools/ci_build/builds/run_pip_tests.sh index 29680e6882..bbaf59c69a 100755 --- a/tensorflow/tools/ci_build/builds/run_pip_tests.sh +++ b/tensorflow/tools/ci_build/builds/run_pip_tests.sh @@ -97,7 +97,8 @@ fi # TF_BUILD_APPEND_ARGUMENTS any user supplied args. BAZEL_FLAGS="--define=no_tensorflow_py_deps=true --test_lang_filters=py \ --build_tests_only -k --test_tag_filters=${PIP_TEST_FILTER_TAG} \ - --test_timeout 300,450,1200,3600 ${TF_BUILD_APPEND_ARGUMENTS}" + --test_timeout 300,450,1200,3600 ${TF_BUILD_APPEND_ARGUMENTS} \ + --test_output=errors" BAZEL_TEST_TARGETS="//${PIP_TEST_PREFIX}/tensorflow/contrib/... \ //${PIP_TEST_PREFIX}/tensorflow/python/... \ diff --git a/tensorflow/tools/ci_build/install/install_pip_packages.sh b/tensorflow/tools/ci_build/install/install_pip_packages.sh index 221b5b80fb..c3c537328f 100755 --- a/tensorflow/tools/ci_build/install/install_pip_packages.sh +++ b/tensorflow/tools/ci_build/install/install_pip_packages.sh @@ -61,11 +61,11 @@ rm -rf /usr/lib/python3/dist-packages/six* # https://github.com/tensorflow/tensorflow/issues/6968 # This workaround isn't needed for Ubuntu 16.04 or later. if $(cat /etc/*-release | grep -q 14.04); then - pip2 install --no-binary=:all: --upgrade numpy==1.12.0 - pip3 install --no-binary=:all: --upgrade numpy==1.12.0 + pip2 install --no-binary=:all: --upgrade numpy==1.14.5 + pip3 install --no-binary=:all: --upgrade numpy==1.14.5 else - pip2 install --upgrade numpy==1.12.0 - pip3 install --upgrade numpy==1.12.0 + pip2 install --upgrade numpy==1.14.5 + pip3 install --upgrade numpy==1.14.5 fi pip2 install scipy==0.18.1 diff --git a/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh b/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh index 45a30c6e82..b6f5de57c9 100755 --- a/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh +++ b/tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh @@ -58,7 +58,7 @@ rm -rf /usr/lib/python3/dist-packages/six* # numpy needs to be installed from source to fix segfaults. See: # https://github.com/tensorflow/tensorflow/issues/6968 # This workaround isn't needed for Ubuntu 16.04 or later. -pip3.5 install --no-binary=:all: --upgrade numpy==1.12.0 +pip3.5 install --no-binary=:all: --upgrade numpy==1.14.5 pip3.5 install scipy==0.18.1 diff --git a/tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh b/tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh index d66b2aa18a..8868664132 100755 --- a/tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh +++ b/tensorflow/tools/ci_build/install/install_python3.6_pip_packages.sh @@ -70,7 +70,7 @@ rm -rf /usr/lib/python3/dist-packages/six* # numpy needs to be installed from source to fix segfaults. See: # https://github.com/tensorflow/tensorflow/issues/6968 # This workaround isn't needed for Ubuntu 16.04 or later. -pip3 install --no-binary=:all: --upgrade numpy==1.12.0 +pip3 install --no-binary=:all: --upgrade numpy==1.14.5 pip3 install scipy==0.18.1 @@ -101,7 +101,7 @@ pip3 install --upgrade termcolor pip3 install --upgrade setuptools==39.1.0 # Keras -pip3.5 install keras_applications==1.0.2 -pip3.5 install keras_preprocessing==1.0.1 +pip3 install keras_applications==1.0.2 +pip3 install keras_preprocessing==1.0.1 # LINT.ThenChange(//tensorflow/tools/ci_build/install/install_python3.5_pip_packages.sh) diff --git a/tensorflow/tools/docker/Dockerfile b/tensorflow/tools/docker/Dockerfile index a3ff8211e3..bf06214009 100644 --- a/tensorflow/tools/docker/Dockerfile +++ b/tensorflow/tools/docker/Dockerfile @@ -30,7 +30,7 @@ RUN pip --no-cache-dir install \ ipykernel \ jupyter \ matplotlib \ - numpy \ + numpy==1.14.5 \ pandas \ scipy \ sklearn \ diff --git a/tensorflow/tools/docker/Dockerfile.devel b/tensorflow/tools/docker/Dockerfile.devel index f7fe4119da..6552588fac 100644 --- a/tensorflow/tools/docker/Dockerfile.devel +++ b/tensorflow/tools/docker/Dockerfile.devel @@ -35,7 +35,7 @@ RUN pip --no-cache-dir install \ jupyter \ matplotlib \ mock \ - numpy \ + numpy==1.14.5 \ scipy \ sklearn \ pandas \ @@ -76,7 +76,7 @@ RUN mkdir /bazel && \ # Download and build TensorFlow. WORKDIR /tensorflow -RUN git clone --branch=r1.9 --depth=1 https://github.com/tensorflow/tensorflow.git . +RUN git clone --branch=r1.10 --depth=1 https://github.com/tensorflow/tensorflow.git . # TODO(craigcitro): Don't install the pip package, since it makes it # more difficult to experiment with local changes. Instead, just add diff --git a/tensorflow/tools/docker/Dockerfile.devel-gpu b/tensorflow/tools/docker/Dockerfile.devel-gpu index 340f96df48..f4c83f85d4 100644 --- a/tensorflow/tools/docker/Dockerfile.devel-gpu +++ b/tensorflow/tools/docker/Dockerfile.devel-gpu @@ -51,7 +51,7 @@ RUN pip --no-cache-dir install \ jupyter \ matplotlib \ mock \ - numpy \ + numpy==1.14.5 \ scipy \ sklearn \ pandas \ @@ -92,7 +92,7 @@ RUN mkdir /bazel && \ # Download and build TensorFlow. WORKDIR /tensorflow -RUN git clone --branch=r1.9 --depth=1 https://github.com/tensorflow/tensorflow.git . +RUN git clone --branch=r1.10 --depth=1 https://github.com/tensorflow/tensorflow.git . # Configure the build for our CUDA configuration. ENV CI_BUILD_PYTHON python diff --git a/tensorflow/tools/docker/Dockerfile.devel-mkl b/tensorflow/tools/docker/Dockerfile.devel-mkl index c85641b383..7afa537c9d 100755 --- a/tensorflow/tools/docker/Dockerfile.devel-mkl +++ b/tensorflow/tools/docker/Dockerfile.devel-mkl @@ -3,7 +3,7 @@ FROM ubuntu:16.04 LABEL maintainer="Clayne Robison <clayne.b.robison@intel.com>" # These parameters can be overridden by parameterized_docker_build.sh -ARG TF_BUILD_VERSION=r1.9 +ARG TF_BUILD_VERSION=r1.10 ARG PYTHON="python" ARG PYTHON3_DEV="" ARG WHL_DIR="/tmp/pip" diff --git a/tensorflow/tools/docker/Dockerfile.gpu b/tensorflow/tools/docker/Dockerfile.gpu index 28d4371da3..5ec1e60f00 100644 --- a/tensorflow/tools/docker/Dockerfile.gpu +++ b/tensorflow/tools/docker/Dockerfile.gpu @@ -38,7 +38,7 @@ RUN pip --no-cache-dir install \ ipykernel \ jupyter \ matplotlib \ - numpy \ + numpy==1.14.5 \ pandas \ scipy \ sklearn \ diff --git a/tensorflow/tools/pip_package/setup.py b/tensorflow/tools/pip_package/setup.py index 1f4c3d47bf..07ed7f5195 100644 --- a/tensorflow/tools/pip_package/setup.py +++ b/tensorflow/tools/pip_package/setup.py @@ -45,13 +45,13 @@ DOCLINES = __doc__.split('\n') # This version string is semver compatible, but incompatible with pip. # For pip, we will remove all '-' characters from this string, and use the # result for pip. -_VERSION = '1.9.0' +_VERSION = '1.10.0-rc1' REQUIRED_PACKAGES = [ 'absl-py >= 0.1.6', 'astor >= 0.6.0', 'gast >= 0.2.0', - 'numpy >= 1.13.3', + 'numpy >= 1.13.3, <= 1.14.5', 'six >= 1.10.0', 'protobuf >= 3.6.0', 'setuptools <= 39.1.0', |