pypi Keras 3.2.0
Keras 3.2.0

latest releases: 3.3.3, 3.3.2, 3.3.1...
23 days ago

What changed

  • Introduce QLoRA-like technique for LoRA fine-tuning of Dense and EinsumDense layers (thereby any LLM) in int8 precision.
  • Extend keras.ops.custom_gradient support to PyTorch.
  • Add keras.layers.JaxLayer and keras.layers.FlaxLayer to wrap JAX/Flax modules as Keras layers.
  • Allow save_model & load_model to accept a file-like object.
  • Add quantization support to the Embedding layer.
  • Make it possible to update metrics inside a custom compute_loss method with all backends.
  • Make it possible to access self.losses inside a custom compute_loss method with the JAX backend.
  • Add keras.losses.Dice loss.
  • Add keras.ops.correlate.
  • Make it possible to use cuDNN LSTM & GRU with a mask with the TensorFlow backend.
  • Better JAX support in model.export(): add support for aliases, finer control over jax2tf options, and dynamic batch shapes.
  • Bug fixes and performance improvements.

New Contributors

Full Changelog: v3.1.1...v3.2.0

Don't miss a new Keras release

NewReleases is sending notifications on new releases.