mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-06 12:20:11 +01:00
parent
d8db18b420
commit
70a395f979
|
|
@ -318,7 +318,6 @@ cuda_py_test(
|
|||
"//tensorflow/python:framework_test_lib",
|
||||
],
|
||||
tags = [
|
||||
"no_oss", # TODO(b/116813115): Investigate timeout and re-enable.
|
||||
"no_windows_gpu",
|
||||
],
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1798,29 +1798,22 @@ def cuda_py_test(
|
|||
flaky = 0,
|
||||
xla_enabled = False,
|
||||
grpc_enabled = False):
|
||||
if main == None:
|
||||
main = name + ".py"
|
||||
for config in ["cpu", "gpu"]:
|
||||
test_name = name
|
||||
test_tags = tags
|
||||
if config == "gpu":
|
||||
test_name += "_gpu"
|
||||
test_tags = test_tags + tf_cuda_tests_tags()
|
||||
tf_py_test(
|
||||
name = test_name,
|
||||
size = size,
|
||||
srcs = srcs,
|
||||
data = data,
|
||||
main = main,
|
||||
args = args,
|
||||
tags = test_tags,
|
||||
shard_count = shard_count,
|
||||
additional_deps = additional_deps,
|
||||
kernels = kernels,
|
||||
flaky = flaky,
|
||||
xla_enabled = xla_enabled,
|
||||
grpc_enabled = grpc_enabled,
|
||||
)
|
||||
test_tags = tags + tf_cuda_tests_tags()
|
||||
tf_py_test(
|
||||
name = name,
|
||||
size = size,
|
||||
srcs = srcs,
|
||||
data = data,
|
||||
main = main,
|
||||
args = args,
|
||||
tags = test_tags,
|
||||
shard_count = shard_count,
|
||||
additional_deps = additional_deps,
|
||||
kernels = kernels,
|
||||
flaky = flaky,
|
||||
xla_enabled = xla_enabled,
|
||||
grpc_enabled = grpc_enabled,
|
||||
)
|
||||
|
||||
register_extension_info(
|
||||
extension_name = "cuda_py_test",
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ def main():
|
|||
|
||||
missing_dependencies = []
|
||||
# File extensions and endings to ignore
|
||||
ignore_extensions = ["_test", "_test.py", "_test_gpu", "_test_gpu.py"]
|
||||
ignore_extensions = ["_test", "_test.py"]
|
||||
|
||||
ignored_files = 0
|
||||
blacklisted_files = len(BLACKLIST)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user