diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000000..0df37b1230 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,23 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*" + - package-ecosystem: "pip" + directory: "/" + schedule: + interval: "monthly" + groups: + python: + patterns: + - "*" diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c2bab34a3f..8f4569030f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -15,9 +15,9 @@ jobs: name: Test the code with Keras 2 runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Get pip cache dir @@ -26,7 +26,7 @@ jobs: python -m pip install --upgrade pip setuptools echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -52,9 +52,9 @@ jobs: backend: [tensorflow, jax, torch] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Get pip cache dir @@ -63,7 +63,7 @@ jobs: python -m pip install --upgrade pip setuptools echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -95,9 +95,9 @@ jobs: name: Check the code format runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Get pip cache dir @@ -106,7 +106,7 @@ jobs: python -m pip install --upgrade pip setuptools echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -119,7 +119,7 @@ jobs: - name: Lint run: bash shell/lint.sh - name: Clang - uses: DoozyX/clang-format-lint-action@v0.14 + uses: DoozyX/clang-format-lint-action@v0.17 with: source: '.' extensions: 'h,c,cpp,hpp,cc' diff --git a/.github/workflows/devcontainer.yml b/.github/workflows/devcontainer.yml index 76226c9182..ee0f49d549 100644 --- a/.github/workflows/devcontainer.yml +++ b/.github/workflows/devcontainer.yml @@ -23,6 +23,6 @@ jobs: uses: actions/checkout@v4 - name: Build and run dev container task - uses: devcontainers/ci@v0.2 + uses: devcontainers/ci@v0.3 with: runCmd: pytest keras_cv/ --ignore keras_cv/models diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 76bfa7eb9c..4ec23461b3 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -16,9 +16,9 @@ jobs: needs: [run-test-for-nightly] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Get pip cache dir @@ -27,7 +27,7 @@ jobs: python -m pip install --upgrade pip setuptools echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa84819c16..afe38eb519 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,9 +14,9 @@ jobs: name: Build and publish to PyPI runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Get pip cache dir @@ -25,7 +25,7 @@ jobs: python -m pip install --upgrade pip setuptools echo "::set-output name=dir::$(pip cache dir)" - name: pip cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} diff --git a/requirements-jax-cuda.txt b/requirements-jax-cuda.txt index 898842fad8..bae62bf86c 100644 --- a/requirements-jax-cuda.txt +++ b/requirements-jax-cuda.txt @@ -1,5 +1,5 @@ # Tensorflow cpu-only version. -tf-nightly-cpu==2.16.0.dev20231109 # Pin a working nightly until rc0. +tf-nightly-cpu==2.16.0.dev20231221 # Pin a working nightly until rc0. # Torch cpu-only version. --extra-index-url https://download.pytorch.org/whl/cpu diff --git a/requirements-tensorflow-cuda.txt b/requirements-tensorflow-cuda.txt index a681ed9795..4f474709fc 100644 --- a/requirements-tensorflow-cuda.txt +++ b/requirements-tensorflow-cuda.txt @@ -1,6 +1,6 @@ # Tensorflow with cuda support. --extra-index-url https://pypi.nvidia.com -tf-nightly[and-cuda]==2.16.0.dev20231109 # Pin a working nightly until rc0. +tf-nightly[and-cuda]==2.16.0.dev20231221 # Pin a working nightly until rc0. # Torch cpu-only version. --extra-index-url https://download.pytorch.org/whl/cpu diff --git a/requirements-torch-cuda.txt b/requirements-torch-cuda.txt index 1750ed7ad4..126cbf0c4c 100644 --- a/requirements-torch-cuda.txt +++ b/requirements-torch-cuda.txt @@ -1,10 +1,10 @@ # Tensorflow cpu-only version. -tf-nightly-cpu==2.16.0.dev20231109 # Pin a working nightly until rc0. +tf-nightly-cpu==2.16.0.dev20231221 # Pin a working nightly until rc0. # Torch with cuda support. --extra-index-url https://download.pytorch.org/whl/cu118 -torch==2.1.0 -torchvision==0.16.0 +torch==2.1.2+cu118 +torchvision==0.16.2+cu118 # Jax cpu-only version. jax[cpu] diff --git a/requirements.txt b/requirements.txt index e86475e503..3e6d3ee292 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Tensorflow. -tf-nightly-cpu==2.16.0.dev20231109 # Pin a working nightly until rc0. +tf-nightly-cpu==2.16.0.dev20231221 # Pin a working nightly until rc0. # Torch. --extra-index-url https://download.pytorch.org/whl/cpu