Skip to content

Bump keras from 3.10.0 to 3.13.1 in /dockerfiles/test#52

Open
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/pip/dockerfiles/test/keras-3.13.1
Open

Bump keras from 3.10.0 to 3.13.1 in /dockerfiles/test#52
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/pip/dockerfiles/test/keras-3.13.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 15, 2026

User description

Bumps keras from 3.10.0 to 3.13.1.

Release notes

Sourced from keras's releases.

v3.13.1

Bug Fixes & Improvements

  • General
    • Removed a persistent warning triggered during import keras when using NumPy 2.0 or higher. (#21949)
  • Backends
    • JAX: Fixed an issue where CUDNN flash attention was broken when using JAX versions greater than 0.6.2. (#21970)
  • Export & Serialization
    • Resolved a regression in the export pipeline that incorrectly forced batch sizes to be dynamic. The export process now correctly respects static batch sizes when defined. (#21944)

Full Changelog: keras-team/keras@v3.13.0...v3.13.1

v3.13.0

BREAKING changes

Starting with version 3.13.0, Keras now requires Python 3.11 or higher. Please ensure your environment is updated to Python 3.11+ to install the latest version.

Highlights

LiteRT Export

You can now export Keras models directly to the LiteRT format (formerly TensorFlow Lite) for on-device inference. This changes comes with improvements to input signature handling and export utility documentation. The changes ensure that LiteRT export is only available when TensorFlow is installed, update the export API and documentation, and enhance input signature inference for various model types.

Example:

import keras
import numpy as np
1. Define a simple model
model = keras.Sequential([
keras.layers.Input(shape=(10,)),
keras.layers.Dense(10, activation="relu"),
keras.layers.Dense(1, activation="sigmoid")
])
2. Compile and train (optional, but recommended before export)
model.compile(optimizer="adam", loss="binary_crossentropy")
model.fit(np.random.rand(100, 10), np.random.randint(0, 2, 100), epochs=1)
3. Export the model to LiteRT format
model.export("my_model.tflite", format="litert")
print("Model exported successfully to 'my_model.tflite' using LiteRT format.")

GPTQ Quantization

  • Introduced keras.quantizers.QuantizationConfig API that allows for customizable weight and activation quantizers, providing greater flexibility in defining quantization schemes.

... (truncated)

Commits
  • 8914427 Patch release commits for 3.13.1 (#22005)
  • 986ff97 Update release version and comment orbax checkpoint (#21934)
  • ca23fce Refactors AbsMaxQuantizer to accept axis in call (#21931)
  • 1a9893f Adds Serialization Support for QuantizationConfig based quantized models (#21...
  • 86bfab4 More OpenVINO Numpy Operations (#21925)
  • f48f480 Add adaptive pooling (1D, 2D, 3D) support across JAX, NumPy, TensorFlow, and ...
  • 0771c80 Fix ops.tile shape inference issue on TensorFlow backend (#21860)
  • 024c96d Extended fix OOM Issue #21634 on Keras side (#21755)
  • 71f4997 Introduces QuantizationConfig for fine-grained quantization control (#21896)
  • 3989d64 Fix fake quant gradient output shape and use jax.grad for tests. (#21927)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

PR Type

Dependencies


Description

  • Bump keras to 3.13.1

  • Update locked hashes accordingly

  • Maintain tensorflow compatibility note


Diagram Walkthrough

flowchart LR
  reqs["locked-requirements.txt"]
  keras310["keras==3.10.0"]
  keras3131["keras==3.13.1 + new hashes"]
  reqs -- "upgrade pin" --> keras3131
  keras310 -- "replaced by" --> keras3131
Loading

File Walkthrough

Relevant files
Dependencies
locked-requirements.txt
Update keras version and hashes                                                   

dockerfiles/test/locked-requirements.txt

  • Upgrade keras pin 3.10.0 -> 3.13.1
  • Replace SHA256 hashes for new version
  • Keep comment noting via tensorflow
+3/-3     

Bumps [keras](https://github.com/keras-team/keras) from 3.10.0 to 3.13.1.
- [Release notes](https://github.com/keras-team/keras/releases)
- [Commits](keras-team/keras@v3.10.0...v3.13.1)

---
updated-dependencies:
- dependency-name: keras
  dependency-version: 3.13.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jan 15, 2026
@pull-request-agent
Copy link

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

21 - Partially compliant

Compliant requirements:

  • Bump a dependency version as specified in the ticket.
  • Ensure lockfile/requirements reflect the new version and integrity hashes.

Non-compliant requirements:

  • Maintain compatibility with existing environment constraints (e.g., TensorFlow dependency path).
  • No functional code changes expected; dependency-only update.

Requires further human verification:

  • Verify Keras 3.13.1 is compatible with the pinned TensorFlow version in this environment.
  • Build the docker image to confirm dependency resolution and hash integrity.
  • Run a minimal smoke test to ensure no runtime import or API issues.
⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Compatibility Check

Confirm that keras==3.13.1 remains compatible with the TensorFlow version used in this image and with any Python version constraints in the file.

keras==3.13.1 \
    --hash=sha256:6593be2e9d057921cd0413b4552c05fe1df73ea4bb03a4f3ec94532077b3e508 \
    --hash=sha256:670c726dfc9c357fe7ae5ef1c15d8f61ee7fbb40ae9a091a458ec6444a772480

@pull-request-agent
Copy link

PR Code Suggestions ✨

No code suggestions found for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file PR title format python Pull requests that update python code Review effort 1/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants