Skip to content

Bump keras from 3.10.0 to 3.12.0 in /dockerfiles/test#20

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

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

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Oct 29, 2025

User description

Bumps keras from 3.10.0 to 3.12.0.

Release notes

Sourced from keras's releases.

Keras 3.12.0

Highlights

Keras has a new model distillation API!

You now have access to an easy-to-use API for distilling large models into small models while minimizing performance drop on a reference dataset -- compatible with all existing Keras models. You can specify a range of different distillation losses, or create your own losses. The API supports multiple concurrent distillation losses at the same time.

Example:

# Load a model to distill
teacher = ...
# This is the model we want to distill it into
student = ...
Configure the process
distiller = Distiller(
teacher=teacher,
student=student,
distillation_losses=LogitsDistillation(temperature=3.0),
)
distiller.compile(
optimizer='adam',
loss='sparse_categorical_crossentropy',
metrics=['accuracy']
)
Train the distilled model
distiller.fit(x_train, y_train, epochs=10)

Keras supports GPTQ quantization!

GPTQ is now built into the Keras API. GPTQ is a post-training, weights-only quantization method that compresses a model to int4 layer by layer. For each layer, it uses a second-order method to update weights while minimizing the error on a calibration dataset.

Learn how to use it in this guide.

Example:

model = keras_hub.models.Gemma3CausalLM.from_preset("gemma3_1b")
gptq_config = keras.quantizers.GPTQConfig(
    dataset=calibration_dataset,
    tokenizer=model.preprocessor.tokenizer,
    weight_bits=4,
    group_size=128,
    num_samples=256,
    sequence_length=256,
    hessian_damping=0.01,
    symmetric=False,
</tr></table> 

... (truncated)

Commits

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.12.0

  • Update locked hashes accordingly

  • Keep dependency source via tensorflow


Diagram Walkthrough

flowchart LR
  deps["locked-requirements.txt (keras)"] -- "version 3.10.0" --> old["Old lock hashes"]
  deps -- "bump to 3.12.0" --> new["New lock hashes"]
Loading

File Walkthrough

Relevant files
Dependencies
locked-requirements.txt
Bump keras and refresh lock hashes                                             

dockerfiles/test/locked-requirements.txt

  • Bump keras from 3.10.0 to 3.12.0
  • Replace hash pins for new version
  • Keep comment indicating dependency via tensorflow
+3/-3     

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

---
updated-dependencies:
- dependency-name: keras
  dependency-version: 3.12.0
  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 Oct 29, 2025
@pull-request-agent
Copy link

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Compatibility

Verify that keras 3.12.0 remains compatible with the pinned tensorflow version and any keras-dependent tooling in this image. Check for API changes or additional dependencies introduced between 3.10.0 and 3.12.0 that could affect runtime.

keras==3.12.0 \
    --hash=sha256:02b69e007d5df8042286c3bcc2a888539e3e487590ffb08f6be1b4354df50aa8 \
    --hash=sha256:536e3f8385a05ae04e82e08715a1a59988578087e187b04cb0a6fad11743f07f
Hash Integrity

Confirm the added hashes correspond to the exact wheels intended for your target platforms to avoid install failures in multi-arch CI builds.

--hash=sha256:02b69e007d5df8042286c3bcc2a888539e3e487590ffb08f6be1b4354df50aa8 \
--hash=sha256:536e3f8385a05ae04e82e08715a1a59988578087e187b04cb0a6fad11743f07f

@pull-request-agent
Copy link

PR Code Suggestions ✨

No code suggestions found for the PR.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jan 15, 2026

Superseded by #52.

@dependabot dependabot bot closed this Jan 15, 2026
@dependabot dependabot bot deleted the dependabot/pip/dockerfiles/test/keras-3.12.0 branch January 15, 2026 20:16
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