Revert test script changes.
PiperOrigin-RevId: 321465711 Change-Id: I922ffe1a11ad658bd87bd99ec310a6a0a9cade6e
This commit is contained in:
parent
c710a5f327
commit
093491a562
@ -27,11 +27,18 @@ install_bazelisk
|
||||
python2.7 tensorflow/tools/ci_build/update_version.py --nightly
|
||||
|
||||
# Run configure.
|
||||
export TF_NEED_GCP=1
|
||||
export TF_NEED_HDFS=1
|
||||
export TF_NEED_S3=1
|
||||
export TF_NEED_CUDA=0
|
||||
export CC_OPT_FLAGS='-mavx'
|
||||
export PYTHON_BIN_PATH=$(which python3.6)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
# Build the pip package
|
||||
bazel build --config=release_cpu_linux tensorflow/tools/pip_package:build_pip_package
|
||||
bazel build --config=opt --config=v2 \
|
||||
--crosstool_top=//third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.1:toolchain \
|
||||
tensorflow/tools/pip_package:build_pip_package
|
||||
|
||||
./bazel-bin/tensorflow/tools/pip_package/build_pip_package pip_pkg --cpu --nightly_flag
|
||||
|
||||
|
@ -25,11 +25,23 @@ install_bazelisk
|
||||
python2.7 tensorflow/tools/ci_build/update_version.py --nightly
|
||||
|
||||
# Run configure.
|
||||
export TF_NEED_GCP=1
|
||||
export TF_NEED_HDFS=1
|
||||
export TF_NEED_S3=1
|
||||
export TF_NEED_CUDA=1
|
||||
export TF_CUDA_VERSION=10
|
||||
export TF_CUDNN_VERSION=7
|
||||
export TF_CUDA_COMPUTE_CAPABILITIES=sm_35,sm_37,sm_52,sm_60,sm_61,compute_70
|
||||
export TF_NEED_TENSORRT=1
|
||||
export TENSORRT_INSTALL_PATH=/usr/local/tensorrt
|
||||
export CC_OPT_FLAGS='-mavx'
|
||||
export PYTHON_BIN_PATH=$(which python3.6)
|
||||
yes "" | "$PYTHON_BIN_PATH" configure.py
|
||||
|
||||
# Build the pip package
|
||||
bazel build --config=release_gpu_linux tensorflow/tools/pip_package:build_pip_package
|
||||
bazel build --config=opt --config=v2 \
|
||||
--crosstool_top=//third_party/toolchains/preconfig/ubuntu16.04/gcc7_manylinux2010-nvcc-cuda10.1:toolchain \
|
||||
tensorflow/tools/pip_package:build_pip_package
|
||||
|
||||
./bazel-bin/tensorflow/tools/pip_package/build_pip_package pip_pkg --nightly_flag
|
||||
./bazel-bin/tensorflow/tools/pip_package/build_pip_package pip_pkg --gpu --nightly_flag
|
||||
|
Loading…
Reference in New Issue
Block a user