Adding no_rocm tag from unit-tests that are now failing on the ROCm platform

This commit is contained in:
Deven Desai 2020-11-25 02:02:40 +00:00
parent 6ccddc5d3f
commit b90cdb966b
8 changed files with 22 additions and 6 deletions

View File

@ -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

@ -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",
@ -921,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 = [
@ -955,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",
@ -1022,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 = [
@ -1250,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",
@ -1274,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",
@ -2316,6 +2321,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

@ -2605,6 +2605,7 @@ cuda_py_test(
python_version = "PY3", python_version = "PY3",
shard_count = 10, shard_count = 10,
tags = [ tags = [
"no_rocm",
"noasan", "noasan",
"optonly", "optonly",
], ],
@ -2650,6 +2651,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",
@ -5470,6 +5472,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

@ -602,6 +602,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 = [

View File

@ -1719,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
], ],

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

@ -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 = [