Title: build(deps): bump keras from 3.9.0 to 3.13.2 in /python_tiny_projects/external_projects/TdaToolbox by dependabot[bot] · Pull Request #10 · davidbp/python_tutorials · GitHub
Open Graph Title: build(deps): bump keras from 3.9.0 to 3.13.2 in /python_tiny_projects/external_projects/TdaToolbox by dependabot[bot] · Pull Request #10 · davidbp/python_tutorials
X Title: build(deps): bump keras from 3.9.0 to 3.13.2 in /python_tiny_projects/external_projects/TdaToolbox by dependabot[bot] · Pull Request #10 · davidbp/python_tutorials
Description: Bumps keras from 3.9.0 to 3.13.2.
Release notes
Sourced from keras's releases.
v3.13.2
Security Fixes & Hardening
This release introduces critical security hardening for model loading and saving, alongside improvements to the JAX backend metadata handling.
Disallow TFSMLayer deserialization in safe_mode (#22035)
Previously, TFSMLayer could load external TensorFlow SavedModels during deserialization without respecting Keras safe_mode. This could allow the execution of attacker-controlled graphs during model invocation.
TFSMLayer now enforces safe_mode by default. Deserialization via from_config() will raise a ValueError unless safe_mode=False is explicitly passed or keras.config.enable_unsafe_deserialization() is called.
Fix Denial of Service (DoS) in KerasFileEditor (#21880)
Introduces validation for HDF5 dataset metadata to prevent "shape bomb" attacks.
Hardens the .keras file editor against malicious metadata that could cause dimension overflows or unbounded memory allocation (unbounded numpy allocation of multi-gigabyte tensors).
Block External Links in HDF5 files (#22057)
Keras now explicitly disallows external links within HDF5 files during loading. This prevents potential security risks where a weight file could point to external system datasets.
Includes improved verification for H5 Groups and Datasets to ensure they are local and valid.
Backend-specific Improvements (JAX)
Set mutable=True by default in nnx_metadata (#22074)
Updated the JAX backend logic to ensure that variables are treated as mutable by default in nnx_metadata.
This makes Keras 3.13.2 compatible with Flax 0.12.3 when the Keras NNX integration is enabled.
Saving & Serialization
Improved H5IOStore Integrity (#22057)
Refactored H5IOStore and ShardedH5IOStore to remove unused, unverified methods.
Fixed key-ordering logic in sharded HDF5 stores to ensure consistent state loading across different environments.
Contributors
We would like to thank the following contributors for their security reports and code improvements:
@0xManan, @HyperPS, @hertschuh, and @divyashreepathihalli.
Full Changelog: keras-team/keras@v3.13.1...v3.13.2
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
... (truncated)
Commits
e29d0ef Version bump and cherry picks for 3.13.2 (#22080)
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)
Additional commits viewable in compare view
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 show
Open Graph Description: Bumps keras from 3.9.0 to 3.13.2. Release notes Sourced from keras's releases. v3.13.2 Security Fixes & Hardening This release introduces critical security hardening for model loading and...
X Description: Bumps keras from 3.9.0 to 3.13.2. Release notes Sourced from keras's releases. v3.13.2 Security Fixes & Hardening This release introduces critical security hardening for model loa...
Opengraph URL: https://github.com/davidbp/python_tutorials/pull/10
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:6cb29cfc-0411-654a-96d7-4423ea997f23 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 868C:1ADC3B:102F840:17938CA:6A57A249 |
| html-safe-nonce | 587e3624800936040fb2f0ad9b4728e6fd5e7bda03c43afb5af768e848bdb62b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjhDOjFBREMzQjoxMDJGODQwOjE3OTM4Q0E6NkE1N0EyNDkiLCJ2aXNpdG9yX2lkIjoiNDQ3NzMwMDQ4NjcxNjU0NDczIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b2479086386c1615bd3121a63feeb63c6f9862a60cf8d465d3681e71bfdb6cbc |
| hovercard-subject-tag | pull_request:3300793962 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/davidbp/python_tutorials/pull/10/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps keras from 3.9.0 to 3.13.2. Release notes Sourced from keras's releases. v3.13.2 Security Fixes & Hardening This release introduces critical security hardening for model loading and... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 017a07c29bdd8a37b5907fc9a689338deb7103b5af7f56714193b2700229b3df |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/davidbp/python_tutorials git https://github.com/davidbp/python_tutorials.git |
| octolytics-dimension-user_id | 4223580 |
| octolytics-dimension-user_login | davidbp |
| octolytics-dimension-repository_id | 104083908 |
| octolytics-dimension-repository_nwo | davidbp/python_tutorials |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 104083908 |
| octolytics-dimension-repository_network_root_nwo | davidbp/python_tutorials |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0dd6847d644323df8f8c1368c065f9f630095e3b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width