Skip to content

Commit

Permalink
Replace tf with numpy for tests (keras-team#18584)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampathweb authored Oct 10, 2023
1 parent 033ac3e commit 32e9154
Show file tree
Hide file tree
Showing 5 changed files with 790 additions and 613 deletions.
4 changes: 0 additions & 4 deletions keras/kokoro/github/ubuntu/gpu/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ then
--cov=keras
fi

# TODO: Add test for JAX
if [ "$KERAS_BACKEND" == "jax" ]
then
echo "JAX backend detected."
Expand All @@ -59,7 +58,6 @@ then
--cov=keras
fi

# TODO: Add test for PyTorch
if [ "$KERAS_BACKEND" == "torch" ]
then
echo "PyTorch backend detected."
Expand All @@ -70,10 +68,8 @@ then
python3 -c 'import torch;assert torch.cuda.is_available()'

# TODO: Fix the failing Torch GPU CI tests.
# TODO: nn_test failures are on correctness tests.
pytest keras --ignore keras/applications \
--ignore keras/layers/preprocessing/feature_space_test.py \
--ignore keras/layers/reshaping/flatten_test.py \
--ignore keras/ops/nn_test.py \
--cov=keras
fi
Loading

0 comments on commit 32e9154

Please sign in to comment.