Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable LLVM optimization on tests with long compilation times #741

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions linen_examples/imagenet/models_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
import models


jax.config.update('jax_disable_most_optimizations', True)


class ResNetV1Test(absltest.TestCase):
"""Test cases for ResNet v1 model definition."""

Expand Down
4 changes: 4 additions & 0 deletions linen_examples/imagenet/train_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

from absl.testing import absltest

import jax
from jax import random

import tensorflow as tf
Expand All @@ -30,6 +31,9 @@
from configs import default as default_lib


jax.config.update('jax_disable_most_optimizations', True)


class TrainTest(absltest.TestCase):

def setUp(self):
Expand Down
3 changes: 3 additions & 0 deletions linen_examples/wmt/train_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
import tensorflow_datasets as tfds


jax.config.update('jax_disable_most_optimizations', True)


class TrainTest(absltest.TestCase):
"""Test cases for WMT library."""

Expand Down