Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.4.3
->==3.3.3
Release Notes
keras-team/keras (keras)
v3.3.3
: Kears 3.3.3Compare Source
This is a minor bugfix release.
v3.3.2
: Keras 3.3.2Compare Source
This is a simple fix release that re-surfaces legacy Keras 2 APIs that aren't part of Keras package proper, but that are still featured in
tf.keras
. No other content has changed.v3.3.1
: Keras 3.3.1Compare Source
This is a simple fix release that moves the legacy
_tf_keras
API directory to the root of the Keras pip package. This is done in order to preserve import paths likefrom tensorflow.keras import layers
without making any changes to the TensorFlow API files.No other content has changed.
v3.3.0
: Keras 3.3.0Compare Source
What's Changed
keras.ops.ctc_decode
for JAX and TensorFlow.keras.ops.vectorize
,keras.ops.select
.keras.ops.image.rgb_to_grayscale
.keras.losses.Tversky
loss.bincount
anddigitize
sparse support.In addition, the codebase structure has evolved:
keras/src/
.keras/api/
.pip install
Keras directly from the GitHub sources.New Contributors
Full Changelog: keras-team/keras@v3.2.1...v3.3.0
v3.2.1
: Keras 3.2.1Compare Source
What's Changed
This is a minor bugfix release.
Full Changelog: keras-team/keras@v3.2.0...v3.2.1
v3.2.0
: Keras 3.2.0Compare Source
What changed
Dense
andEinsumDense
layers (thereby any LLM) in int8 precision.keras.ops.custom_gradient
support to PyTorch.keras.layers.JaxLayer
andkeras.layers.FlaxLayer
to wrap JAX/Flax modules as Keras layers.save_model
&load_model
to accept a file-like object.Embedding
layer.compute_loss
method with all backends.self.losses
inside a customcompute_loss
method with the JAX backend.keras.losses.Dice
loss.keras.ops.correlate
.model.export()
: add support for aliases, finer control overjax2tf
options, and dynamic batch shapes.New Contributors
Full Changelog: keras-team/keras@v3.1.1...v3.2.0
v3.1.1
: Keras 3.1.1Compare Source
This is a minor bugfix release over 3.1.0.
What's Changed
draw_seed
causing device discrepancy issue duringtorch
's symbolic execution by @KhawajaAbaid in https://github.com/keras-team/keras/pull/19289keras.ops.softmax
for the tensorflow backend by @tirthasheshpatel in https://github.com/keras-team/keras/pull/19300scatter_update
in optimizers. by @hertschuh in https://github.com/keras-team/keras/pull/19313dm-tree
withoptree
by @james77777778 in https://github.com/keras-team/keras/pull/19306tf.Dataset
s to have different dimensions. by @hertschuh in https://github.com/keras-team/keras/pull/19318New Contributors
Full Changelog: keras-team/keras@v3.1.0...v3.1.1
v3.1.0
: Keras 3.1.0Compare Source
New features
int8
inference. Just callmodel.quantize("int8")
to do an in-place conversion of a bfloat16 or float32 model to an int8 model. Note that onlyDense
andEinsumDense
layers will be converted (this covers LLMs and all Transformers in general). We may add more supported layers over time.keras.config.set_backend(backend)
utility to reload a different backend.keras.layers.MelSpectrogram
layer for turning raw audio data into Mel spectrogram representation.keras.ops.custom_gradient
decorator (only for JAX and TensorFlow).keras.ops.image.crop_images
.pad_to_aspect_ratio
argument toimage_dataset_from_directory
.keras.random.binomial
andkeras.random.beta
functions.keras.ops.einsum
to run with int8 x int8 inputs and int32 output.verbose
argument in all dataset-creation utilities.Notable fixes
SpectralNormalization
axis
logic across all backends and add support for multiple axes inexpand_dims
andsqueeze
New Contributors
Full Changelog: keras-team/keras@v3.0.5...v3.1.0
v3.0.5
: Keras 3.0.5Compare Source
This release brings many bug fixes and performance improvements, new linear algebra ops, and sparse tensor support for the JAX backend.
Highlights
keras.ops.linalg
.while_loop
op.erfinv
op.normalize
op.IterableDataset
toTorchDataLoaderAdapter
.New Contributors
Full Changelog: keras-team/keras@v3.0.4...v3.0.5
v3.0.4
: Keras 3.0.4Compare Source
This is a minor release with improvements to the LoRA API required by the next release of KerasNLP.
Full Changelog: keras-team/keras@v3.0.3...v3.0.4
v3.0.3
: Keras 3.0.3 releaseCompare Source
This is a minor Keras release.
What's Changed
Dense
,EinsumDense
,Embedding
).SwapEMAWeights
callback to make it easier to evaluate model metrics using EMA weights during training.DataAdapters
now create a native iterator for each backend, improving performance.bfloat16
dtype is now allowed in the globalset_dtype
configuration utility.New Contributors
Full Changelog: keras-team/keras@v3.0.2...v3.0.3
v3.0.2
: Keras 3.0.2Compare Source
Breaking changes
There are no known breaking changes in this release compared to 3.0.1.
API changes
keras.random.binomial
andkeras.random.beta
RNG functions.BatchNormalization
.keras.losses.CTC
(loss function for sequence-to-sequence tasks) as well as the lower-level operationkeras.ops.ctc_loss
.ops.random.alpha_dropout
andlayers.AlphaDropout
.Full Changelog: keras-team/keras@v3.0.1...v3.0.2
v3.0.1
: Keras 3.0.1Compare Source
This is a minor release focused on bug fixes and performance improvements.
What's Changed
stop_evaluating
andstop_predicting
model attributes for callbacks, similar tostop_training
.keras.device()
scope for managing device placement in a multi-backend way.PyDataset
.hard_swish
activation and op.force_download
arg toget_file
to force cache invalidation.Full Changelog: keras-team/keras@v3.0.0...v3.0.1
v3.0.0
: Keras 3.0.0Compare Source
Major updates
See the release announcement for a detailed list of major changes. Main highlights compared to Keras 2 are:
keras.ops
API for building cross-framework components.keras.distribution
based on JAX.Breaking changes
See this thread for a complete list of breaking changes, as well as the Keras 3 migration guide.
v2.15.0
: Keras Release 2.15.0Compare Source
What's Changed
StringLookup
documentation by @cw118 in https://github.com/keras-team/keras/pull/18333compile_from_config()
. by @nkovela1 in https://github.com/keras-team/keras/pull/18492New Contributors
Full Changelog: keras-team/keras@v2.14.0...v2.15.0
v2.14.0
: Keras Release 2.14.0Compare Source
What's Changed
is None
checks onmeasure_performance
by @SamuelMarks in https://github.com/keras-team/keras/pull/17980New Contributors
Full Changelog: keras-team/keras@v2.13.1...v2.14.0
v2.13.1
: Keras Release 2.13.1Compare Source
What's Changed
New Contributors
Full Changelog: keras-team/keras@v2.12.0...v2.13.1
v2.12.0
: Keras Release 2.12.0Compare Source
Please see the release history at https://github.com/tensorflow/tensorflow/releases/tag/v2.12.0 for more details.
What's Changed
amsgrad
argument in SGD by @lgeiger in https://github.com/keras-team/keras/pull/17197finalize_variable_values
inLossScaleOptimizerV3
by @lgeiger in https://github.com/keras-team/keras/pull/17225use_causal_mask=True
withRaggedTensor
bug by @haifeng-jin in https://github.com/keras-team/keras/pull/17231Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.