Skip to content

Commit

Permalink
Disable async dispatch on JAX CPU for a jax_cfd test, i.e., opt out o…
Browse files Browse the repository at this point in the history
…f the change introduced in jax-ml/jax#20470, as it is causing some real failures under tsan.

PiperOrigin-RevId: 625707302
  • Loading branch information
yueshengys authored and JAX-CFD authors committed Apr 17, 2024
1 parent d215f13 commit 214b831
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jax_cfd/ml/equations_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,7 @@ def test_epd_modules(


if __name__ == '__main__':
# Temporarily disable async dispatch on JAX CPU due to tsan error.
jax.config.update('jax_cpu_enable_async_dispatch', False)

absltest.main()

0 comments on commit 214b831

Please sign in to comment.