Skip to content

Commit

Permalink
[Mosaic GPU] Disable XLA autotuning in matmul_test.py.
Browse files Browse the repository at this point in the history
This slows down correctness tests for no value whatsoever.

PiperOrigin-RevId: 637805645
  • Loading branch information
bchetioui authored and jax authors committed May 28, 2024
1 parent 97f9a5e commit 72b111a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/mosaic/matmul_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
# ==============================================================================
"""Test different parameterizations of a matmul."""

import os

from absl.testing import absltest, parameterized
from jax._src import config
from jax._src import test_util as jtu
Expand All @@ -28,6 +30,8 @@

config.update("jax_traceback_filtering", "off")
config.parse_flags_with_absl()
os.environ["XLA_FLAGS"] = (
os.environ.get("XLA_FLAGS", "") + " --xla_gpu_autotune_level=0")


class MatmulTestCase(jtu.JaxTestCase):
Expand Down

0 comments on commit 72b111a

Please sign in to comment.