Skip to content

Commit

Permalink
[ROCm]: Disable unit tests(231030 sync)
Browse files Browse the repository at this point in the history
	//tensorflow/compiler/tests:xla_call_module_no_platform_check_test_gpu
	//tensorflow/compiler/tests:xla_call_module_no_shape_assertions_check_test_gpu
	//tensorflow/compiler/tests:xla_call_module_test_gpu
	//tensorflow/python/eager:context_test_gpu
	//tensorflow/python/ops/memory_tests:custom_gradient_memory_test_gpu
  • Loading branch information
root authored and root committed Nov 2, 2023
1 parent 7fa9e76 commit 34f29b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tensorflow/compiler/tests/xla_call_module_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ def f(x):
)
self._assertOpOutputMatchesExpected(f, (x,), (expected_value,))

'''
def test_platforms_and_poly_and_tokens(self):
x = np.arange(6, dtype=np.float32)
# returns x + 2. on CPU, x + 3. on GPU (CUDA or ROCM) and x + 4. on TPU
Expand Down Expand Up @@ -496,7 +497,7 @@ def f(x):
}
}
"""

'''
def platforms_errors_helper(
self,
*,
Expand Down
3 changes: 3 additions & 0 deletions tensorflow/python/eager/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ cuda_py_strict_test(
srcs = ["context_test.py"],
python_version = "PY3",
xla_enabled = True,
tags = [
"no_rocm",
],
deps = [
":context",
":def_function",
Expand Down
3 changes: 3 additions & 0 deletions tensorflow/python/ops/memory_tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ cuda_py_strict_test(
size = "medium",
srcs = ["custom_gradient_memory_test.py"],
xla_enable_strict_auto_jit = False, # XLA are enabled explicitly in XLA memory tests.
tags = [
"no_rocm",
],
deps = [
"//tensorflow/python/distribute/cluster_resolver:tpu_cluster_resolver_py",
"//tensorflow/python/eager:backprop",
Expand Down

0 comments on commit 34f29b8

Please sign in to comment.