Skip to content

Bump keras from 2.14.0 to 3.8.0#2563

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/keras-3.8.0
Closed

Bump keras from 2.14.0 to 3.8.0#2563
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/pip/keras-3.8.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 21, 2025

Bumps keras from 2.14.0 to 3.8.0.

Release notes

Sourced from keras's releases.

Keras 3.8.0

New: OpenVINO backend

OpenVINO is now available as an infererence-only Keras backend. You can start using it by setting the backend field to "openvino" in your keras.json config file.

OpenVINO is a deep learning inference-only framework tailored for CPU (x86, ARM), certain GPUs (OpenCL capable, integrated and discrete) and certain AI accelerators (Intel NPU).

Because OpenVINO does not support gradients, you cannot use it for training (e.g. model.fit()) -- only inference. You can train your models with the JAX/TensorFlow/PyTorch backends, and when trained, reload them with the OpenVINO backend for inference on a target device supported by OpenVINO.

New: ONNX model export

You can now export your Keras models to the ONNX format from the JAX, TensorFlow, and PyTorch backends.

Just pass format="onnx" in your model.export() call:

# Export the model as a ONNX artifact
model.export("path/to/location", format="onnx")
Load the artifact in a different process/environment
ort_session = onnxruntime.InferenceSession("path/to/location")
Run inference
ort_inputs = {
k.name: v for k, v in zip(ort_session.get_inputs(), input_data)
}
predictions = ort_session.run(None, ort_inputs)

New: Scikit-Learn API compatibility interface

It's now possible to easily integrate Keras models into Sciki-Learn pipelines! The following wrapper classes are available:

  • keras.wrappers.SKLearnClassifier: implements the sklearn Classifier API
  • keras.wrappers.SKLearnRegressor: implements the sklearn Regressor API
  • keras.wrappers.SKLearnTransformer: implements the sklearn Transformer API

Other feature additions

  • Add new ops:
    • Add keras.ops.diagflat
    • Add keras.ops.unravel_index
  • Add new activations:
    • Add sparse_plus activation
    • Add sparsemax activation
  • Add new image augmentation and preprocessing layers:
    • Add keras.layers.RandAugment
    • Add keras.layers.Equalization
    • Add keras.layers.MixUp

... (truncated)

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
keras [>= 2.11.a, < 2.12]

Dependabot compatibility score

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jan 21, 2025
@codecov
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 51.44%. Comparing base (fc535ef) to head (4cc341d).
Report is 5 commits behind head on main.

❌ Your project status has failed because the head coverage (51.44%) is below the target coverage (83.00%). You can increase the head coverage or adjust the target coverage.

❗ There is a different number of reports uploaded between BASE (fc535ef) and HEAD (4cc341d). Click for more details.

HEAD has 68 uploads less than BASE
Flag BASE (fc535ef) HEAD (4cc341d)
81 13
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #2563       +/-   ##
===========================================
- Coverage   85.41%   51.44%   -33.98%     
===========================================
  Files         334      334               
  Lines       31002    31002               
  Branches     5300     5300               
===========================================
- Hits        26481    15948    -10533     
- Misses       3053    14017    +10964     
+ Partials     1468     1037      -431     

see 167 files with indirect coverage changes

@dependabot dependabot bot force-pushed the dependabot/pip/keras-3.8.0 branch 3 times, most recently from 9cab5d0 to 53afa25 Compare January 21, 2025 17:04
Bumps [keras](https://github.com/keras-team/keras) from 2.14.0 to 3.8.0.
- [Release notes](https://github.com/keras-team/keras/releases)
- [Commits](keras-team/keras@v2.14.0...v3.8.0)

---
updated-dependencies:
- dependency-name: keras
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/pip/keras-3.8.0 branch from 53afa25 to 4cc341d Compare January 22, 2025 15:06
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 4, 2025

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 5, 2025

Superseded by #2588.

@dependabot dependabot bot closed this Mar 5, 2025
@dependabot dependabot bot deleted the dependabot/pip/keras-3.8.0 branch March 5, 2025 07:04
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant