Merge pull request from ROCmSoftwarePlatform:google_upstream_rocm_add_remove_no_rocm_tag

PiperOrigin-RevId: 348425014
Change-Id: I1f4ec5ab94f27ea201a9dbc8b53d337d03e01d6c
This commit is contained in:
TensorFlower Gardener 2020-12-21 00:32:48 -08:00
commit ee11cf13ea
25 changed files with 23 additions and 43 deletions
tensorflow
compiler
tests
xla
service
gpu/tests
mlir_gpu/experimental/conv_emitter
tests
core
common_runtime
nccl
python
BUILD
compiler/tensorrt
debug
distribute
keras
BUILD
distribute
engine
layers
tests
kernel_tests
BUILD
distributions
linalg
signal
ops/ragged
saved_model
tools
tpu
tools/compatibility

View File

@ -477,7 +477,6 @@ tf_xla_py_test(
python_version = "PY3", python_version = "PY3",
tags = [ tags = [
"no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip "no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip
"no_rocm",
], ],
deps = [ deps = [
":xla_test", ":xla_test",
@ -1629,7 +1628,6 @@ cuda_py_test(
shard_count = 5, shard_count = 5,
tags = [ tags = [
"no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip "no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip
"no_rocm",
], ],
xla_enable_strict_auto_jit = False, xla_enable_strict_auto_jit = False,
xla_enabled = True, xla_enabled = True,
@ -1654,7 +1652,6 @@ cuda_py_test(
srcs = ["dense_layer_test.py"], srcs = ["dense_layer_test.py"],
tags = [ tags = [
"no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip "no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip
"no_rocm",
], ],
xla_enable_strict_auto_jit = False, xla_enable_strict_auto_jit = False,
xla_enabled = True, xla_enabled = True,
@ -1749,7 +1746,6 @@ cuda_py_test(
srcs = ["lstm_test.py"], srcs = ["lstm_test.py"],
tags = [ tags = [
"no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip "no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip
"no_rocm",
], ],
xla_enable_strict_auto_jit = False, xla_enable_strict_auto_jit = False,
xla_enabled = True, xla_enabled = True,
@ -1873,7 +1869,6 @@ tf_xla_py_test(
tags = [ tags = [
"no_oss", # TODO(b/148108508): Re-enable this test in OSS. "no_oss", # TODO(b/148108508): Re-enable this test in OSS.
"no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip "no_pip", # TODO(b/149738646): fix pip install so these tests run on kokoro pip
"no_rocm",
], ],
deps = [ deps = [
":xla_test", ":xla_test",

View File

@ -172,7 +172,7 @@ tf_cc_test(
srcs = [ srcs = [
"reduction_vectorization_test.cc", "reduction_vectorization_test.cc",
], ],
tags = tf_cuda_tests_tags() + ["no_rocm"], tags = tf_cuda_tests_tags(),
deps = [ deps = [
":gpu_codegen_test", ":gpu_codegen_test",
"//tensorflow/compiler/xla:debug_options_flags", "//tensorflow/compiler/xla:debug_options_flags",
@ -410,7 +410,7 @@ tf_cc_test(
tf_cc_test( tf_cc_test(
name = "gpu_unrolling_test", name = "gpu_unrolling_test",
srcs = ["gpu_unrolling_test.cc"], srcs = ["gpu_unrolling_test.cc"],
tags = tf_cuda_tests_tags(), tags = tf_cuda_tests_tags() + ["no_rocm"],
deps = [ deps = [
":gpu_codegen_test", ":gpu_codegen_test",
"//tensorflow/compiler/xla/service:hlo_module_config", "//tensorflow/compiler/xla/service:hlo_module_config",
@ -441,7 +441,7 @@ tf_cc_test(
tf_cc_test( tf_cc_test(
name = "gpu_atomic_test", name = "gpu_atomic_test",
srcs = ["gpu_atomic_test.cc"], srcs = ["gpu_atomic_test.cc"],
tags = tf_cuda_tests_tags(), tags = tf_cuda_tests_tags() + ["no_rocm"],
deps = [ deps = [
":gpu_codegen_test", ":gpu_codegen_test",
"//tensorflow/compiler/xla/tests:filecheck", "//tensorflow/compiler/xla/tests:filecheck",

View File

@ -63,7 +63,6 @@ tf_cc_test(
srcs = ["conv_emitter_test.cc"], srcs = ["conv_emitter_test.cc"],
tags = [ tags = [
"no_oss", # TODO(b/148143101): Test should pass in OSS. "no_oss", # TODO(b/148143101): Test should pass in OSS.
"no_rocm",
], ],
deps = [ deps = [
":conv_emitter", ":conv_emitter",

View File

@ -367,6 +367,7 @@ xla_test(
"conv_depthwise_test.cc", "conv_depthwise_test.cc",
], ],
shard_count = 50, shard_count = 50,
tags = ["no_rocm"], # ROCm 3.9 regression
deps = [ deps = [
":conv_depthwise_common", ":conv_depthwise_common",
":test_macros_header", ":test_macros_header",
@ -388,6 +389,7 @@ xla_test(
timeout = "long", timeout = "long",
srcs = ["conv_depthwise_backprop_filter_test.cc"], srcs = ["conv_depthwise_backprop_filter_test.cc"],
shard_count = 40, shard_count = 40,
tags = ["no_rocm"], # ROCm 3.9 regression
deps = [ deps = [
":test_macros_header", ":test_macros_header",
"//tensorflow/compiler/xla:execution_options_util", "//tensorflow/compiler/xla:execution_options_util",
@ -412,6 +414,7 @@ xla_test(
"cpu", "cpu",
], ],
shard_count = 50, shard_count = 50,
tags = ["no_rocm"], # ROCm 3.9 regression
deps = [ deps = [
":client_library_test_base", ":client_library_test_base",
":hlo_test_base", ":hlo_test_base",
@ -626,7 +629,6 @@ xla_test(
name = "conditional_test", name = "conditional_test",
srcs = ["conditional_test.cc"], srcs = ["conditional_test.cc"],
shard_count = 2, shard_count = 2,
tags = ["no_rocm"],
deps = [ deps = [
":test_macros_header", ":test_macros_header",
"//tensorflow/compiler/xla:xla_data_proto_cc", "//tensorflow/compiler/xla:xla_data_proto_cc",
@ -665,7 +667,6 @@ xla_test(
name = "scalar_computations_test", name = "scalar_computations_test",
srcs = ["scalar_computations_test.cc"], srcs = ["scalar_computations_test.cc"],
shard_count = 32, shard_count = 32,
tags = ["no_rocm"],
deps = [ deps = [
":test_macros_header", ":test_macros_header",
"//tensorflow/compiler/xla:literal", "//tensorflow/compiler/xla:literal",
@ -923,7 +924,7 @@ xla_test(
srcs = ["dot_operation_test.cc"], srcs = ["dot_operation_test.cc"],
shard_count = 20, shard_count = 20,
tags = [ tags = [
"no_rocm", "no_rocm", # ROCm 3.9 regression
"optonly", "optonly",
], ],
deps = [ deps = [
@ -957,7 +958,7 @@ xla_test(
backends = ["gpu"], backends = ["gpu"],
shard_count = 20, shard_count = 20,
tags = [ tags = [
"no_rocm", "no_rocm", # ROCm 3.9 regression
"optonly", "optonly",
# TODO(b/151340488): Timed out on 2020-03-12. # TODO(b/151340488): Timed out on 2020-03-12.
"nozapfhahn", "nozapfhahn",
@ -1024,7 +1025,7 @@ xla_test(
}, },
shard_count = 20, shard_count = 20,
tags = [ tags = [
"no_rocm", "no_rocm", # ROCm 3.9 regression
"optonly", "optonly",
], ],
deps = [ deps = [
@ -1252,6 +1253,7 @@ xla_test(
"cpu": ["nomsan"], "cpu": ["nomsan"],
}, },
shard_count = 30, shard_count = 30,
tags = ["no_rocm"], # ROCm 3.9 regression
deps = [ deps = [
":test_macros_header", ":test_macros_header",
"//tensorflow/compiler/xla:array3d", "//tensorflow/compiler/xla:array3d",
@ -1276,6 +1278,7 @@ xla_test(
timeout = "long", timeout = "long",
srcs = ["convolution_dimension_numbers_test.cc"], srcs = ["convolution_dimension_numbers_test.cc"],
shard_count = 20, shard_count = 20,
tags = ["no_rocm"], # ROCm 3.9 regression
deps = [ deps = [
":test_macros_header", ":test_macros_header",
"//tensorflow/compiler/xla:array4d", "//tensorflow/compiler/xla:array4d",
@ -1514,7 +1517,6 @@ xla_test(
srcs = ["reduce_test.cc"], srcs = ["reduce_test.cc"],
shard_count = 31, shard_count = 31,
tags = [ tags = [
"no_rocm",
"optonly", "optonly",
], ],
deps = [ deps = [
@ -1594,7 +1596,6 @@ xla_test(
timeout = "long", timeout = "long",
srcs = ["select_and_scatter_test.cc"], srcs = ["select_and_scatter_test.cc"],
tags = [ tags = [
"no_rocm",
"nozapfhahn", "nozapfhahn",
"optonly", "optonly",
], ],
@ -2321,6 +2322,7 @@ xla_test(
name = "multioutput_fusion_test", name = "multioutput_fusion_test",
srcs = ["multioutput_fusion_test.cc"], srcs = ["multioutput_fusion_test.cc"],
backends = ["gpu"], backends = ["gpu"],
tags = ["no_rocm"], # ROCm 3.9 regression
deps = [ deps = [
":test_macros_header", ":test_macros_header",
"//tensorflow/compiler/xla:literal", "//tensorflow/compiler/xla:literal",

View File

@ -2127,7 +2127,6 @@ tf_cuda_cc_test(
size = "small", size = "small",
srcs = ["process_function_library_runtime_test.cc"], srcs = ["process_function_library_runtime_test.cc"],
linkstatic = tf_kernel_tests_linkstatic(), linkstatic = tf_kernel_tests_linkstatic(),
tags = ["no_rocm"],
deps = [ deps = [
":core_cpu", ":core_cpu",
":core_cpu_internal", ":core_cpu_internal",

View File

@ -64,8 +64,6 @@ tf_cuda_cc_test(
"manual", "manual",
"multi_gpu", "multi_gpu",
"no_oss", "no_oss",
# TODO(b/147451637): Replace 'no_rocm' with 'rocm_multi_gpu'.
"no_rocm",
"notap", "notap",
], ],
deps = [ deps = [

View File

@ -2018,6 +2018,7 @@ cuda_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 10, shard_count = 10,
tags = [ tags = [
"no_rocm",
"noasan", "noasan",
"optonly", "optonly",
], ],
@ -2063,6 +2064,7 @@ tf_py_test(
srcs = ["framework/importer_test.py"], srcs = ["framework/importer_test.py"],
main = "framework/importer_test.py", main = "framework/importer_test.py",
python_version = "PY3", python_version = "PY3",
tags = ["no_rocm"],
deps = [ deps = [
":array_ops", ":array_ops",
":client_testlib", ":client_testlib",
@ -4883,6 +4885,7 @@ cuda_py_test(
srcs = ["ops/nn_fused_batchnorm_test.py"], srcs = ["ops/nn_fused_batchnorm_test.py"],
python_version = "PY3", python_version = "PY3",
shard_count = 24, shard_count = 24,
tags = ["no_rocm"],
deps = [ deps = [
":array_ops", ":array_ops",
":client_testlib", ":client_testlib",

View File

@ -97,7 +97,6 @@ cuda_py_test(
tags = [ tags = [
"no_cuda_on_cpu_tap", "no_cuda_on_cpu_tap",
"no_pip", "no_pip",
"no_rocm",
"no_windows", "no_windows",
"nomac", "nomac",
], ],

View File

@ -1119,7 +1119,6 @@ py_test(
srcs = ["cli/debugger_cli_common_test.py"], srcs = ["cli/debugger_cli_common_test.py"],
python_version = "PY3", python_version = "PY3",
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
tags = ["no_rocm"],
deps = [ deps = [
":debugger_cli_common", ":debugger_cli_common",
"//tensorflow/python:framework_test_lib", "//tensorflow/python:framework_test_lib",

View File

@ -162,7 +162,6 @@ py_test(
srcs = ["distribute_lib_test.py"], srcs = ["distribute_lib_test.py"],
python_version = "PY3", python_version = "PY3",
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
tags = ["no_rocm"],
deps = [ deps = [
":combinations", ":combinations",
":distribute_lib", ":distribute_lib",

View File

@ -582,7 +582,6 @@ tf_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 8, shard_count = 8,
tags = [ tags = [
"no_rocm",
"notsan", # b/67509773 "notsan", # b/67509773
], ],
deps = [ deps = [

View File

@ -808,7 +808,6 @@ distribute_py_test(
tags = [ tags = [
"multi_and_single_gpu", "multi_and_single_gpu",
"no_cuda_asan", # times out "no_cuda_asan", # times out
"no_rocm",
], ],
xla_tags = [ xla_tags = [
"no_cuda_asan", # times out "no_cuda_asan", # times out
@ -828,7 +827,6 @@ distribute_py_test(
shard_count = 7, shard_count = 7,
tags = [ tags = [
"multi_and_single_gpu", "multi_and_single_gpu",
"no_rocm",
], ],
xla_tags = [ xla_tags = [
"no_cuda_asan", # times out "no_cuda_asan", # times out

View File

@ -394,7 +394,6 @@ tf_py_test(
shard_count = 20, shard_count = 20,
tags = [ tags = [
"manual", "manual",
"no_rocm",
"nomac", # TODO(mihaimaruseac): b/127695564 "nomac", # TODO(mihaimaruseac): b/127695564
"notsan", "notsan",
], ],
@ -519,7 +518,6 @@ tf_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 30, shard_count = 30,
tags = [ tags = [
"no_rocm",
"nomac", # TODO(mihaimaruseac): b/127695564 "nomac", # TODO(mihaimaruseac): b/127695564
], ],
deps = [ deps = [
@ -609,6 +607,7 @@ tf_py_test(
shard_count = 8, shard_count = 8,
tags = [ tags = [
"no-internal-py3", "no-internal-py3",
"no_rocm",
"nomac", # TODO(mihaimaruseac): b/127695564 "nomac", # TODO(mihaimaruseac): b/127695564
], ],
deps = [ deps = [
@ -663,7 +662,6 @@ tf_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 8, shard_count = 8,
tags = [ tags = [
"no_rocm",
"nomac", # TODO(mihaimaruseac): b/127695564 "nomac", # TODO(mihaimaruseac): b/127695564
], ],
deps = [ deps = [

View File

@ -750,7 +750,6 @@ tf_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 4, shard_count = 4,
tags = [ tags = [
"no_rocm",
"notsan", # http://b/62136390 "notsan", # http://b/62136390
], ],
deps = [ deps = [
@ -769,7 +768,6 @@ tf_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 4, shard_count = 4,
tags = [ tags = [
"no_rocm",
"noasan", # times out b/63678675 "noasan", # times out b/63678675
"notsan", # http://b/62189182 "notsan", # http://b/62189182
], ],

View File

@ -147,7 +147,6 @@ tf_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 16, shard_count = 16,
tags = [ tags = [
"no_rocm",
"notsan", "notsan",
], ],
deps = [ deps = [

View File

@ -241,7 +241,6 @@ cuda_py_test(
srcs = ["cholesky_op_test.py"], srcs = ["cholesky_op_test.py"],
shard_count = 5, shard_count = 5,
tags = [ tags = [
"no_rocm", # TODO(rocm): feature not supported on ROCm platform
"nomsan", # TODO(b/131773093): Re-enable. "nomsan", # TODO(b/131773093): Re-enable.
], ],
deps = [ deps = [
@ -1720,6 +1719,7 @@ cuda_py_test(
name = "betainc_op_test", name = "betainc_op_test",
size = "small", size = "small",
srcs = ["betainc_op_test.py"], srcs = ["betainc_op_test.py"],
tags = ["no_rocm"], # ROCm 3.9 regression
xla_tags = [ xla_tags = [
"no_cuda_asan", # times out "no_cuda_asan", # times out
], ],
@ -3851,7 +3851,6 @@ cuda_py_test(
size = "medium", size = "medium",
srcs = ["tridiagonal_matmul_op_test.py"], srcs = ["tridiagonal_matmul_op_test.py"],
shard_count = 10, shard_count = 10,
tags = ["no_rocm"],
deps = [ deps = [
"//tensorflow/python:client_testlib", "//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers", "//tensorflow/python:framework_for_generated_wrappers",

View File

@ -61,6 +61,7 @@ cuda_py_test(
size = "small", size = "small",
srcs = ["beta_test.py"], srcs = ["beta_test.py"],
tags = [ tags = [
"no_rocm", # ROCm 3.9 regression
"notsan", # b/173653918 "notsan", # b/173653918
], ],
xla_tags = [ xla_tags = [

View File

@ -149,7 +149,6 @@ cuda_py_test(
srcs = ["linear_operator_circulant_test.py"], srcs = ["linear_operator_circulant_test.py"],
shard_count = 10, shard_count = 10,
tags = [ tags = [
"no_rocm", # calls BLAS ops for complex types
"noasan", # times out, b/63678675 "noasan", # times out, b/63678675
"optonly", # times out, b/79171797 "optonly", # times out, b/79171797
], ],

View File

@ -40,7 +40,10 @@ cuda_py_test(
srcs = ["csr_sparse_matrix_ops_test.py"], srcs = ["csr_sparse_matrix_ops_test.py"],
main = "csr_sparse_matrix_ops_test.py", main = "csr_sparse_matrix_ops_test.py",
shard_count = 10, shard_count = 10,
tags = ["notsan"], # b/149115441 tags = [
"no_rocm", # ROCm 3.8 regression
"notsan", # b/149115441
],
deps = [ deps = [
"//tensorflow/python/ops/linalg/sparse", "//tensorflow/python/ops/linalg/sparse",
"//tensorflow/python/ops/linalg/sparse:gen_sparse_csr_matrix_ops", "//tensorflow/python/ops/linalg/sparse:gen_sparse_csr_matrix_ops",

View File

@ -125,6 +125,7 @@ cuda_py_tests(
srcs = ["spectral_ops_test.py"], srcs = ["spectral_ops_test.py"],
python_version = "PY3", python_version = "PY3",
tags = [ tags = [
"no_rocm",
"nomac", "nomac",
], ],
deps = [ deps = [

View File

@ -1104,7 +1104,6 @@ py_test(
srcs = ["ragged_map_fn_op_test.py"], srcs = ["ragged_map_fn_op_test.py"],
python_version = "PY3", python_version = "PY3",
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
tags = ["no_rocm"],
deps = [ deps = [
":ragged", # fixdeps: keep ":ragged", # fixdeps: keep
":ragged_factory_ops", ":ragged_factory_ops",

View File

@ -367,7 +367,6 @@ py_strict_library(
tf_py_test( tf_py_test(
name = "save_test", name = "save_test",
srcs = ["save_test.py"], srcs = ["save_test.py"],
tags = ["no_rocm"],
deps = [ deps = [
":loader", ":loader",
":save", ":save",

View File

@ -444,7 +444,6 @@ saved_model_compile_aot(
"//tensorflow/cc/saved_model:saved_model_half_plus_two", "//tensorflow/cc/saved_model:saved_model_half_plus_two",
], ],
force_without_xla_support_flag = False, force_without_xla_support_flag = False,
tags = ["no_rocm"],
) )
saved_model_compile_aot( saved_model_compile_aot(
@ -455,7 +454,6 @@ saved_model_compile_aot(
"//tensorflow/cc/saved_model:saved_model_half_plus_two", "//tensorflow/cc/saved_model:saved_model_half_plus_two",
], ],
force_without_xla_support_flag = False, force_without_xla_support_flag = False,
tags = ["no_rocm"],
) )
saved_model_compile_aot( saved_model_compile_aot(
@ -466,7 +464,6 @@ saved_model_compile_aot(
"//tensorflow/cc/saved_model:saved_model_half_plus_two", "//tensorflow/cc/saved_model:saved_model_half_plus_two",
], ],
force_without_xla_support_flag = False, force_without_xla_support_flag = False,
tags = ["no_rocm"],
variables_to_feed = "variable_x", variables_to_feed = "variable_x",
) )
@ -503,7 +500,6 @@ tf_cc_test(
srcs = if_xla_available([ srcs = if_xla_available([
"aot_compiled_test.cc", "aot_compiled_test.cc",
]), ]),
tags = ["no_rocm"],
deps = [ deps = [
"//tensorflow/core:test_main", "//tensorflow/core:test_main",
] + if_xla_available([ ] + if_xla_available([

View File

@ -34,7 +34,6 @@ py_test(
"no_oss_py2", "no_oss_py2",
"no_oss_py35", "no_oss_py35",
"no_pip", "no_pip",
"no_rocm",
], ],
deps = [ deps = [
"//tensorflow/python:client_testlib", "//tensorflow/python:client_testlib",

View File

@ -270,7 +270,6 @@ py_test(
srcs = ["test_file_v2_0.py"], srcs = ["test_file_v2_0.py"],
python_version = "PY3", python_version = "PY3",
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
tags = ["no_rocm"],
deps = [ deps = [
"//tensorflow:tensorflow_py", "//tensorflow:tensorflow_py",
], ],