Skip to content
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
1 change: 0 additions & 1 deletion .kokoro/github/ubuntu/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ then

# TODO: keras/src/export/export_lib_test.py update LD_LIBRARY_PATH
pytest keras --ignore keras/src/applications \
--ignore keras/src/export/export_lib_test.py \
--cov=keras \
--cov-config=pyproject.toml

Expand Down
6 changes: 6 additions & 0 deletions keras/src/export/export_lib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ def get_model(type="sequential", input_shape=(10,), layer_list=None):
),
)
@pytest.mark.skipif(testing.jax_uses_gpu(), reason="Leads to core dumps on CI")
@pytest.mark.skipif(
testing.torch_uses_gpu(), reason="Leads to core dumps on CI"
)
class ExportSavedModelTest(testing.TestCase):
@parameterized.named_parameters(
named_product(model_type=["sequential", "functional", "subclass"])
Expand Down Expand Up @@ -344,6 +347,9 @@ def test_jax_specific_kwargs(self, model_type, is_static, jax2tf_kwargs):
reason="Export only currently supports the TF and JAX backends.",
)
@pytest.mark.skipif(testing.jax_uses_gpu(), reason="Leads to core dumps on CI")
@pytest.mark.skipif(
testing.torch_uses_gpu(), reason="Leads to core dumps on CI"
)
class ExportArchiveTest(testing.TestCase):
@parameterized.named_parameters(
named_product(model_type=["sequential", "functional", "subclass"])
Expand Down
3 changes: 3 additions & 0 deletions keras/src/models/model_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,9 @@ def test_functional_deeply_nested_outputs_struct_losses(self):
@pytest.mark.skipif(
testing.jax_uses_gpu(), reason="Leads to core dumps on CI"
)
@pytest.mark.skipif(
testing.torch_uses_gpu(), reason="Leads to core dumps on CI"
)
def test_export(self):
import tensorflow as tf

Expand Down
Loading