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
3 changes: 0 additions & 3 deletions .github/workflows/flax_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,6 @@ jobs:
else
uv pip install "jax==${{ matrix.jax-version }}" "jaxlib==${{ matrix.jax-version }}"
fi
if [[ "${{ matrix.test-type }}" == "pytest" ]]; then
uv pip install -U tensorflow-datasets
fi
- name: Test with ${{ matrix.test-type }}
run: |
if [[ "${{ matrix.test-type }}" == "doctest" ]]; then
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ testing = [
"ml-collections",
"mypy",
"opencv-python",
# Set protobuf version for python 3.13+ to prevent error in
# Set protobuf version to prevent error in
# examples/mnist/train_test.py::TrainTest::test_train_and_evaluate
# Failed to construct dataset "mnist", builder_kwargs "{}": Value out of range: 11594722
"protobuf<6; python_version>='3.13'",
"protobuf<6",
"pytest",
"pytest-cov",
"pytest-custom_exit_code",
Expand All @@ -59,8 +59,8 @@ testing = [
"sentencepiece==0.2.0", # Segfault bug in 0.2.1
"tensorflow_text>=2.11.0; platform_system!='Darwin' and python_version < '3.13'",
"tensorflow_datasets",
"tensorflow>=2.12.0; python_version<'3.13'", # to fix Numpy np.bool8 deprecation error
"tensorflow>=2.20.0; python_version>='3.13' and python_version<'3.14'",
"tensorflow_cpu>=2.12.0; python_version<'3.13'", # to fix Numpy np.bool8 deprecation error
"tensorflow_cpu>=2.20.0; python_version>='3.13' and python_version<'3.14'",
# Temporary fix for https://github.com/google/flax/issues/5143
"keras<3.13",
"torch",
Expand Down
2 changes: 1 addition & 1 deletion tests/download_dataset_metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ -d "../.tfds/metadata" ]; then
echo 'TFDS metadata already exists.';
else
echo 'TFDS metadata does not exist. Downloading...';
git clone --branch v4.8.2 --depth 3 --filter=blob:none --sparse https://github.com/tensorflow/datasets/
git clone --branch v4.9.9 --depth 3 --filter=blob:none --sparse https://github.com/tensorflow/datasets/
cd datasets
git sparse-checkout set tensorflow_datasets/testing/metadata
mkdir ../../.tfds
Expand Down
3 changes: 1 addition & 2 deletions tests/run_all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,7 @@ if $RUN_PYTEST; then
if [[ $egd == *"_"* ]]; then
continue
fi
# skiping examples until tfds issue is resolved
# pytest $egd
pytest -vvv $egd
done
fi

Expand Down
Loading