Filter out tpu wherever we filter out gpu.

PiperOrigin-RevId: 270147213
This commit is contained in:
Revan Sopher 2019-09-19 16:08:02 -07:00 committed by TensorFlower Gardener
parent 7e06663468
commit 3797ccbcf6
12 changed files with 15 additions and 15 deletions

View File

@ -33,7 +33,7 @@ export PYTHON_BIN_PATH=`which python`
yes "" | $PYTHON_BIN_PATH configure.py
# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test --test_lang_filters=cc,java -k \
bazel test --test_tag_filters=-no_oss,-gpu,-tpu,-benchmark-test --test_lang_filters=cc,java -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --config=opt \
--test_output=errors --test_size_filters=small,medium -- \
//tensorflow/... -//tensorflow/compiler/... -//tensorflow/contrib/...

View File

@ -50,7 +50,7 @@ fi
# Setting KMP_BLOCKTIME to 0 lets OpenMP threads to sleep right after parallel execution
# in an MKL primitive. This reduces the effects of an oversubscription of OpenMP threads
# caused by executing multiple tests concurrently.
bazel test --test_tag_filters=-no_oss,-no_oss_py2,-oss_serial,-gpu,-benchmark-test --test_lang_filters=cc,py -k \
bazel test --test_tag_filters=-no_oss,-no_oss_py2,-oss_serial,-gpu,-tpu,-benchmark-test --test_lang_filters=cc,py -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only \
${CONFIG} --test_env=KMP_BLOCKTIME=0 ${OMPTHREADS} --config=opt --test_output=errors -- \
//tensorflow/... -//tensorflow/compiler/... -//tensorflow/contrib/... -//tensorflow/lite/...

View File

@ -32,7 +32,7 @@ export PYTHON_BIN_PATH=`which python2`
yes "" | $PYTHON_BIN_PATH configure.py
# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --test_tag_filters=-no_oss,-no_oss_py2,-oss_serial,-gpu,-benchmark-test --test_lang_filters=py -k \
bazel test --test_tag_filters=-no_oss,-no_oss_py2,-oss_serial,-gpu,-tpu,-benchmark-test --test_lang_filters=py -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only --config=opt \
--test_output=errors --test_size_filters=small,medium -- \
//tensorflow/... -//tensorflow/compiler/... -//tensorflow/contrib/...

View File

@ -32,7 +32,7 @@ export PYTHON_BIN_PATH=`which python3`
yes "" | $PYTHON_BIN_PATH configure.py
# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test -k \
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --config=opt \
--test_size_filters=small,medium --test_output=errors -- \
//tensorflow/contrib/...

View File

@ -32,7 +32,7 @@ export PYTHON_BIN_PATH=`which python3`
yes "" | $PYTHON_BIN_PATH configure.py
# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test --test_lang_filters=py -k \
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test --test_lang_filters=py -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only --config=opt \
--test_output=errors --test_size_filters=small,medium -- \
//tensorflow/... -//tensorflow/compiler/... -//tensorflow/contrib/...

View File

@ -31,7 +31,7 @@ export PYTHON_BIN_PATH=`which python2`
yes "" | $PYTHON_BIN_PATH configure.py
# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test -k \
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only --config=opt \
--test_output=errors --test_size_filters=small,medium -- \
//tensorflow/... -//tensorflow/compiler/...

View File

@ -31,7 +31,7 @@ export PYTHON_BIN_PATH=`which python3`
yes "" | $PYTHON_BIN_PATH configure.py
# Run bazel test command. Double test timeouts to avoid flakes.
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-benchmark-test -k \
bazel test --test_tag_filters=-no_oss,-oss_serial,-gpu,-tpu,-benchmark-test -k \
--jobs=${N_JOBS} --test_timeout 300,450,1200,3600 --build_tests_only --config=opt \
--test_output=errors --test_size_filters=small,medium -- \
//tensorflow/... -//tensorflow/compiler/...

View File

@ -32,7 +32,7 @@ export PYTHON_BIN_PATH=$(which python2)
yes "" | $PYTHON_BIN_PATH configure.py
which bazel
# TODO(b/122370901): Fix nomac, no_mac inconsistency.
bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test,-nomac,-no_mac \
bazel test --test_tag_filters=-no_oss,-gpu,-tpu,-benchmark-test,-nomac,-no_mac \
--test_timeout 300,450,1200,3600 \
--test_size_filters=small,medium --config=opt \
--jobs=${N_JOBS} --build_tests_only --test_output=errors -k -- \

View File

@ -33,7 +33,7 @@ export PYTHON_BIN_PATH=$(which python2)
yes "" | $PYTHON_BIN_PATH configure.py
which bazel
# TODO(b/122370901): Fix nomac, no_mac inconsistency.
bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test,-nomac,-no_mac \
bazel test --test_tag_filters=-no_oss,-gpu,-tpu,-benchmark-test,-nomac,-no_mac \
--test_timeout 300,450,1200,3600 --config=opt \
--announce_rc \
--test_size_filters=small,medium \

View File

@ -30,7 +30,7 @@ export TF_NEED_CUDA=0
export PYTHON_BIN_PATH=$(which python3)
yes "" | $PYTHON_BIN_PATH configure.py
which bazel
bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test,-nomac,-no_mac \
bazel test --test_tag_filters=-no_oss,-gpu,-tpu,-benchmark-test,-nomac,-no_mac \
--announce_rc \
--test_timeout 300,450,1200,3600 \
--test_size_filters=small,medium \

View File

@ -132,7 +132,7 @@ fi
run_configure_for_cpu_build
bazel build --announce_rc --config=opt ${EXTRA_BUILD_FLAGS} \
--build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu \
--build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu,-tpu \
--output_filter=^$ \
tensorflow/lite:framework tensorflow/lite/examples/minimal:minimal || exit $?
@ -168,8 +168,8 @@ N_JOBS="${NUMBER_OF_PROCESSORS}"
bazel test --announce_rc --config=opt -k --test_output=errors \
${EXTRA_TEST_FLAGS} \
--define=no_tensorflow_py_deps=true --test_lang_filters=py \
--test_tag_filters=-no_pip,-no_windows,-no_oss,-gpu \
--build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu --build_tests_only \
--test_tag_filters=-no_pip,-no_windows,-no_oss,-gpu,-tpu \
--build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu,-tpu --build_tests_only \
--test_size_filters=small,medium \
--jobs="${N_JOBS}" --test_timeout="300,450,1200,3600" \
--flaky_test_attempts=3 \

View File

@ -194,8 +194,8 @@ N_JOBS="${NUMBER_OF_PROCESSORS}"
bazel test --announce_rc --config=opt -k --test_output=errors \
${EXTRA_TEST_FLAGS} \
--define=no_tensorflow_py_deps=true --test_lang_filters=py \
--test_tag_filters=-no_pip,-no_windows,-no_oss,-gpu \
--build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu --build_tests_only \
--test_tag_filters=-no_pip,-no_windows,-no_oss,-gpu,-tpu \
--build_tag_filters=-no_pip,-no_windows,-no_oss,-gpu,-tpu --build_tests_only \
--test_size_filters=small,medium \
--jobs="${N_JOBS}" --test_timeout="300,450,1200,3600" \
--flaky_test_attempts=3 \