Skip to content

Commit

Permalink
Disable ASAN for several CUDA tests.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 597596726
  • Loading branch information
hawkinsp authored and jax authors committed Jan 11, 2024
1 parent 5c7ea22 commit 35fc2ed
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -417,17 +417,14 @@ jax_test(
name = "lax_numpy_test",
srcs = ["lax_numpy_test.py"],
backend_tags = {
"cpu": [
"noasan",
"notsan",
], # Test times out.
"tpu": ["noasan"], # Test times out.
"cpu": ["notsan"], # Test times out.
},
shard_count = {
"cpu": 40,
"gpu": 40,
"tpu": 40,
},
tags = ["noasan"], # Test times out on all backends
)

jax_test(
Expand Down Expand Up @@ -687,6 +684,9 @@ jax_test(
name = "pmap_test",
srcs = ["pmap_test.py"],
backend_tags = {
"gpu": [
"noasan", # Memory leaks in NCCL, see https://github.com/NVIDIA/nccl/pull/1143
],
"tpu": [
"noasan", # Times out under asan.
],
Expand Down Expand Up @@ -743,6 +743,10 @@ jax_test(
jax_test(
name = "pytorch_interoperability_test",
srcs = ["pytorch_interoperability_test.py"],
backend_tags = {
# PyTorch leaks dlpack metadata https://github.com/pytorch/pytorch/issues/117058
"gpu": ["noasan"],
},
disable_backends = ["tpu"],
tags = ["not_build:arm"],
deps = py_deps("torch"),
Expand Down

0 comments on commit 35fc2ed

Please sign in to comment.