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.2.4
->==3.1.1
By merging this PR, the below vulnerabilities will be automatically resolved:
Release Notes
keras-team/keras (Keras)
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/17231to_ordinal
feature for ordinal regression/classification by @awsaf49 in https://github.com/keras-team/keras/pull/17419to_ordinal
by @awsaf49 in https://github.com/keras-team/keras/pull/17485New Contributors