Skip to content

Commit

Permalink
random_test: Split into two so that each target is small enough to fi…
Browse files Browse the repository at this point in the history
…t within a medium timeout.

PiperOrigin-RevId: 571146766
  • Loading branch information
jax authors committed Oct 5, 2023
1 parent 1512650 commit 8f911e1
Show file tree
Hide file tree
Showing 3 changed files with 1,412 additions and 1,310 deletions.
26 changes: 22 additions & 4 deletions tests/BUILD
Expand Up @@ -704,10 +704,28 @@ jax_test(
"notsan", # Times out
],
},
# Use fewer cases to prevent timeouts.
backend_variant_args = {
"cpu": ["--jax_num_generated_cases=40"],
"cpu_x32": ["--jax_num_generated_cases=40"],
shard_count = {
"cpu": 30,
"gpu": 30,
"tpu": 40,
"iree": 30,
},
tags = ["noasan"], # Times out
)

jax_test(
name = "random_lax_test",
srcs = ["random_lax_test.py"],
backend_tags = {
"cpu": [
"notsan", # Times out
"nomsan", # Times out
],
"tpu": [
"optonly",
"nomsan", # Times out
"notsan", # Times out
],
},
shard_count = {
"cpu": 30,
Expand Down

0 comments on commit 8f911e1

Please sign in to comment.