Repository navigation
Keras 3.16.0.dev0
Pre-release
Pre-release
What's Changed
- Bump GPU tests timeout to 3 hours. by @hertschuh in #23156
- Update keras dev version to 3.16.0 by @laxmareddyp in #23158
- Restrict unpickling when loading IMDB and Reuters datasets by @LinZiyuu in #23047
- Verify all intermediary H5 groups when navigating H5 files. by @hertschuh in #23168
- [Distribution] Implement native sharding support for Keras NumPy adapter by @buildwithsuhana in #23046
- [bug-fix] enter
tf.init_scopewhen adding optimizer variables with TF backend by @peinguim in #23087 - fix: Remove unnecessary np.object check & assignment by @pwuertz in #23095
- [Bug-Fix] TorchDataLoaderAdapter corrupts dict and single-tensor batches on non-Torch backends by @ChiragSW in #23096
- [Bug-Fix] sklearn wrapper warm_start=True does not reuse model instance weights by @ChiragSW in #23098
- Fix torch ONNX export for dynamic input shapes by @MarcosAsh in #23058
- [Fix] keras.ops.nancumsum returns finite values instead of inf/nan for inputs containing NaN and infinities by @ChiragSW in #23135
- [Fix] keras.ops.nancumprod returns float32 max instead of inf for NaN followed by Inf by @ChiragSW in #23134
- [Fix] Torch random.shuffle(axis=-1) mishandles negative axes by @ChiragSW in #23119
- [OpenVINO] Implement sobel_edges op by @rstar327 in #23141
- [OpenVINO] Implement lstsq op via QR by @rstar327 in #23142
- [OpenVINO] Implement matrix_rank op for constant inputs by @rstar327 in #23143
- [OpenVINO] Remove stale exclusions for Equalization tests by @rstar327 in #23146
- Re-enable NASNetMobile on torch backend by @devs6186 in #23177
- [Distribution] Implement sharding support for Keras PyDataset adapter by @buildwithsuhana in #23044
- [OpenVINO] Use native opset17 erfinv op by @rstar327 in #23140
- [OpenVINO] Remove stale exclusion for test_random_augment_randomness by @rstar327 in #23148
- [Fix] keras.ops.isclose incorrectly returns False for matching positive and negative infinities by @ChiragSW in #23136
- [Fix] keras.ops.hypot returns NaN instead of Inf for Inf and -Inf inputs by @ChiragSW in #23157
- [Bug-Fix] Segmentation mask visualization docs use one-based class labels but implementation uses zero-based indices by @ChiragSW in #23114
- Refactor _load_state to capture weight store and improve container state loading by @buildwithsuhana in #23226
- [Bug-Fix] Audio resampling truncates before resampling by @ChiragSW in #23069
- Build(deps): Bump the github-actions group with 4 updates by @dependabot[bot] in #23203
- Fix axis contraction in PyTorch and Openvino ops.dot for high-rank tensors by @buildwithsuhana in #23247
- Fix torch backend symmetric pad returning edge padding by @CodingSelim in #23230
- Fix flaky int4 EinsumDense quantization test by seeding the RNG by @pctablet505 in #23218
- Fix GPU memory leak in torch backend tree utilities by @DavidAriOstenfeldt in #23111
- Fix numpy backend image transform crash with bfloat16 inputs by @pctablet505 in #23214
- Implement column_stack function across multiple backends and add corresponding tests by @Shi-pra-19 in #23153
- Fix get_training_or_validation_split returning empty training set when validation rounds to 0 by @Osamaali313 in #23202
- Support strides>1 with dilation_rate>1 in TensorFlow backend conv by @rstar327 in #23181
- Add torch pointwise conv direct path by @devs6186 in #23178
- Vectorize torch scatter to fix slow IoU metrics by @MarcosAsh in #23196
- Fix cdist dtype consistency across backends by @shashaka in #23213
- Fix torch backend cross() using wrong default axis by @CodingSelim in #23219
- Add grain support to
audio_dataset_from_directory. by @james77777778 in #23224 - Generalize in_top_k to support multi-dimensional inputs by @buildwithsuhana in #23232
- Fixes for Python 3.14. by @hertschuh in #23259
- Don't leak a layer's signature-default call-context arg to sibling layers by @pctablet505 in #23166
- Support steps_per_execution > 1 in PyTorch backend by @buildwithsuhana in #23234
- [Distribution] Implement multi-process sharding support for Torch DataLoaders by @buildwithsuhana in #23045
- Fix Zizmor security findings in GitHub Actions workflows by @laxmareddyp in #23231
- Fix ops.istft returning empty tensor and throwing runtime errors for fft_length=1 by @buildwithsuhana in #23255
- Add reconstruct_patches op + ReconstructPatches{2,3}D layers (inverse… by @brianmanderson in #22984
- Use
get_keras_maskinPipeline. by @hertschuh in #23268 - Fix inconsistent padding behavior in Torch pooling operations by @buildwithsuhana in #23233
get_filealso checksos.altsepon Windows. by @hertschuh in #23287- Reject decompression-bomb members on the .keras asset extraction path by @LinZiyuu in #23101
- Support
data_format="channels_first"inkeras.ops.image.reconstruct_patchesby @brianmanderson in #23267 - Build(deps): Bump the github-actions group with 2 updates by @dependabot[bot] in #23266
- [Bug-Fix] tf.data class weights fail for omitted classes by @ChiragSW in #23073
- Fix rank mismatch between loss values and mask/sample_weight by @buildwithsuhana in #23235
- Fix mathematical correctness and align behavior for average op by @buildwithsuhana in #23249
- Implement PyTorch distribution utility functions and device management by @buildwithsuhana in #23052
- Restrict unpickling when loading CIFAR datasets by @SABITHSAHEB in #23252
- [Performance] Optimize multi-step output concatenation using single-pass tree.map_structure by @buildwithsuhana in #23305
- Keep test containers unprivileged and off the host network by @mohammadmseet-hue in #23254
- [Bug-Fix] ops.normalize() with order=2 produces NaN gradients for zero vectors by @SharadhNaidu in #23093
- Fix
pandasandtensorflowinteraction that caused deadlocks on MacOS. by @hertschuh in #23306 - Fix ops.select output-shape/dtype inference under broadcasting by @winklemad in #23265
- Wait for PyDataset on_epoch_begin callback before starting workers by @mr-field in #23284
- [OpenVINO] Fix Equalization dynamic shape causing AugMix test failure by @goyaladitya05 in #23304
- Add matrix power operation to linalg API and backend implementations by @buildwithsuhana in #23227
- Fix keras.ops.roll shift/axis handling to match numpy broadcasting by @TheManishCode in #23242
- Fix Zizmor warnings. by @hertschuh in #23314
- Fix Huber, CosineSimilarity and SparseCategoricalCrossentropy losing delta/axis on serialization by @sohumt123 in #23286
- Re-allow dynamic (tensor) size in
ops.image.resize. by @hertschuh in #23315 - Fix Logsumexp symbolic output dtype inference by @shashaka in #23307
- fix numpy bug in keras/src/ops/numpy.py and add test cases for it by @divyashreepathihalli in #23340
- fix issue triage workflow by @divyashreepathihalli in #23341
- Fix gemini triage by @divyashreepathihalli in #23343
- Fix workflow core warn error by @divyashreepathihalli in #23344
- Fix GPTQ/AWQ quantization of layers outside the quantization structure by @JyotinderSingh in #23321
- perf(ops): inject traceback argument info on error only, not on every call by @pctablet505 in #23183
- Fix alpha and beta coefficient swap in Tversky loss by @buildwithsuhana in #23333
- Fix graph-mode evaluate() metric mismatch for fixed-batch tf.data datasets by @maitry63 in #23179
- Fix TraceContext error for NNX backend reported in #23289 by @divyashreepathihalli in #23326
- address comments on #23340 by @divyashreepathihalli in #23342
- Pass the shape during
tf.Variableinitialization. by @hertschuh in #23339 - Fix flaky test_matrix_power: seed the input and condition the negative-power case by @pctablet505 in #23338
- Document that OpenVino minimum version is 2026.2.0. by @hertschuh in #23355
- Add axis validation in Glu.compute_output_spec for symbolic inputs by @patminn107 in #23171
- Preserve segmentation mask dtype and class indices in preprocessing layers by @rstar327 in #23191
- Implement sparse outputs test by @andersendsa in #22983
- Fixed — normalized class_weight keys to integers and added a dict-like check. [Normalize and validate class_weight keys in class_weight_to_sample_weights] by @MrNagabhushana-0-dev in #23221
- Fix robust sample_weight handling in FBetaScore by @buildwithsuhana in #23335
- layers: add TernaryDense — ternary-weight dense layer {-1, 0, +1} by @simeon-kepp in #22960
- Fix OpenVino equalization test running too slow. by @hertschuh in #23363
- Make use of
Layer's propagation of call context arguments inModels too. by @hertschuh in #23364 - Make model.quantize() observable and fail-safe by @JyotinderSingh in #23345
- Add Data Parallel support for Torch backend by @buildwithsuhana in #23316
- Fix sample size inflation in R2Score Adjusted R2 calculation by @buildwithsuhana in #23334
- [OpenVINO] Speed up sort and median by dropping stable topk by @goyaladitya05 in #23361
- [OpenVINO] Use native adaptive pooling ops by @goyaladitya05 in #23347
- [OpenVINO] Support dynamic shapes in diag and diagonal by @goyaladitya05 in #23349
- Adding an Adapt progress bar by @andersendsa in #22971
- Fix NumPy normalization for axis=0 in the keras.utils.normalize by @mncrftfrcnm in #23328
- Only warn about running out of data when
steps_per_epochwas set by @bzantium in #23360 - Optimize array unstacking in Numpy and JAX backends by @andersendsa in #23388
- Build(deps): Bump the github-actions group with 6 updates by @dependabot[bot] in #23372
- [Bug] Fail fast on invalid callbacks in CallbackList by @madhanalagarsamy in #23368
- Fix MultiProcessInitializeTest causing TorchInductor compilation failures by @gaga1313 in #23389
- Raise ValueError for out-of-bounds axis in LayerNormalization.build() by @Priyanshu-byte-coder in #23329
- Fix unpack_ternary decoding for signed int8 packed tensors by @mrinalghoshh in #23391
- Enable is_stable argument in top_k Ops by @gaga1313 in #23367
- Fix zizmor warning with
dorny/path-filter. by @hertschuh in #23395 - Relaxing Openvino Test Tolerance for Nightly Release by @gaga1313 in #23394
- Add DTensor distribution utilities for Model Parallel by @buildwithsuhana in #23366
- fix: serialize
sparseargument inCategoryEncoding.get_config()by @Kaif10 in #23375 - Fix Embedding.enable_lora freezing the wrong tensor after int4 quantization by @MarcosAsh in #23393
- Implement gammainc function in keras.ops by @shashaka in #23365
- Add shuffle test for train/validation split in image_dataset_from_directory. by @andersendsa in #23109
- Add fallback implementation for squareplus by @SamanehSaadat in #23405
- Revert "[Bug] Fail fast on invalid callbacks in CallbackList" by @gaga1313 in #23407
- Extract _unscale_grads helper in LossScaleOptimizer by @MarcosAsh in #23412
- Fix test_cross and numpy backend cross() for NumPy>=2.5.0 by @goyaladitya05 in #23408
- Flag-guard the backend-agnostic ops usage by @SamanehSaadat in #23421
- Add fallback implementation for the cbrt op by @SamanehSaadat in #23419
- Test jules review action by @divyashreepathihalli in #23438
- update jules comment template by @divyashreepathihalli in #23439
- Fix unravel_index coordinate order in TensorFlow backend by @buildwithsuhana in #23434
- Fix rot90 for non-square arrays in TensorFlow backend by @buildwithsuhana in #23435
- Fix symbolic shape and dtype resolution for binary bitwise and shift operations with scalar inputs by @gaga1313 in #23429
- Relax OpenVINO test tolerance in STFTSpectrogram error test by @jeffcarp in #23457
- Consolidate quantizable-layer variable serialization; add round-trip tests by @JyotinderSingh in #23369
- Unify int4 string/config resolution; fix int4/None reload by @JyotinderSingh in #23467
- Use shared workflows for Gemini issue triage and Jules review by @jeffcarp in #23466
- Fix searchsorted for multi-dimensional values in Tensorflow backend by @buildwithsuhana in #23436
- Fix categorical_crossentropy label smoothing for custom axis by @buildwithsuhana in #23437
- Validate the file name derived from
origininget_fileby @SABITHSAHEB in #23330 - Reject decompression-bomb config/metadata in KerasFileEditor by @SABITHSAHEB in #23303
- Fix Zizmor CI Failure by updating dorny/paths-filter to v4.0.3 by @jeffcarp in #23474
- Fix quantizer bugs:
get()kwargs,g_idxloading, 2-bit GPTQ by @JyotinderSingh in #23470 - Align AWQ with reference (mean stat, weight-aware scale, clipping) by @JyotinderSingh in #23478
- Set Dependabot GitHub Actions updates to weekly by @jeffcarp in #23472
- Batch GPTQ calibration forwards and use Cholesky inverse-Hessian by @JyotinderSingh in #23481
- Normalize backend.is_tensor to backend.ops.is_tensor by @jeffcarp in #23480
- Reject unsupported quantization modes in ReversibleEmbedding before mutation by @JyotinderSingh in #23508
- Fix incomplete revert of pluggable_backend by @jeffcarp in #23511
- Fix GPTQ/AWQ calibration: dead hooks, zero-point range, group cache, and sequential Hessians by @JyotinderSingh in #23512
- Fix Torch stateful GRU/LSTM cuDNN backward in-place state update by @indrajeetapache in #23464
- Use shared workflow for PR contributor terms check by @jeffcarp in #23515
- Fix calibration memory, AWQ staging, and sampling reproducibility by @JyotinderSingh in #23514
- Enabled Async Next Batch Fetch in JAX backend with Distribution by @gaga1313 in #23416
- fix(preprocessing): apply correct h/w offsets to bounding boxes in RandomCrop by @patminn107 in #23519
- Broadcast single-pair pad_width to all axes in ops.pad by @rstar327 in #23180
- Title: Standardize PyDataset support and tuple batch extraction in preprocessing layers (Normalization, Discretization) by @MrNagabhushana-0-dev in #23362
- Fix RematScope(mode=None) truthy bug in get_current_remat_mode by @Vansh-Sharmaa in #23411
- [Fix] Division by zero in gptq_quantize_matrix by @madhanalagarsamy in #23415
- Add gammainc OpenVINO backend error handling by @shashaka in #23422
- Fix ops.view() with the default dtype on the numpy and torch backends by @SEPURI-SAI-KRISHNA in #23423
- Add tf_idf output mode test coverage for StringLookup by @pandeylakshya207-max in #23447
- Fix three documented defaults that the signatures do not have by @karpovantonme in #23477
- Build(deps): Bump the github-actions group with 4 updates by @dependabot[bot] in #23483
- Add CODEOWNERS for .github directory by @jeffcarp in #23517
- Fix the Histogram operation reading histogram from the math namespace by @MarcosAsh in #23509
- Fix torch.compile graph break in torch backend's dot_product_attention by @pctablet505 in #23327
- Fix GPTQ Hessian test by @JyotinderSingh in #23534
- Fix incorrect hashes for
shared-workflows. by @hertschuh in #23539 - Prevent dependabot from upgrading minimum version of
litert-torch. by @hertschuh in #23538 - Fix gaussian_blur ignoring the default data_format by @2sumtech in #23542
- Use shared workflow for auto-assignment by @jeffcarp in #23471
- docs: note Pillow DecompressionBombError in load_img() by @sugata100 in #23376
- Build(deps): Bump github/codeql-action/upload-sarif from 4.37.7 to 4.37.8 in the github-actions group across 1 directory by @dependabot[bot] in #23540
- Fix sparsemax threshold when more than one logit is in the support by @MarcosAsh in #23469
- Fix docstring argument names that don't match function signatures by @IshaanPotle in #23505
- Fix AttributeError in in_top_k for list/tuple inputs with rank > 2 by @lequangdung2005 in #23465
- Fix NumPy normalize shape for 1D inputs by @aswanth-07 in #23428
- Add backend-agnostic lgamma op by @SamanehSaadat in #23541
- Honour keepdims when axis is None in the torch backend reductions by @Sid-5137 in #23535
- Fix symbolic output specs that disagree with eager execution by @SEPURI-SAI-KRISHNA in #23424
- fix(torch): remove the always-true device check in convert_to_tensor by @pctablet505 in #23189
- [Fix] keras.ops inconsistently downcasts float64 to float32 by @ChiragSW in #23225
- Fix PyTorch multiprocessing segmentation fault by using spawn context by @buildwithsuhana in #23554
- Fix tests for
kaiserop. by @hertschuh in #23556 - Migrate to OIDC Trusted Publishing and add auto-publish workflow by @laxmareddyp in #23557
- Add lgamma backend-specific implementations by @SamanehSaadat in #23549
- Keep numpy sparsemax output in the input dtype by @SEPURI-SAI-KRISHNA in #23548
- Add MeanSquaredError config round-trip test by @marco-trotta1 in #23550
- Introduce Model Parallel infrastructure and DTensor support for Keras Variables in torch core.py by @buildwithsuhana in #23402
- Fix ops.gelu integer input handling in NumPy backend (#23528) by @KaiOnCode in #23558
- Auto-infer output_size for padding="valid" in keras.ops.image.reconstruct_patches by @brianmanderson in #23319
- Add the backend-agnostic implementation of vsplit by @SamanehSaadat in #23567
- perf: skip redundant built/_called reassignment in Layer.call by @pctablet505 in #23200
- [OpenVINO] Fix tile when repeats contains a symbolic dimension by @goyaladitya05 in #23564
- Add backend-agnostic implementation for hsplit by @SamanehSaadat in #23570
- Optimize Numpy backend vectorized_map with zip by @andersendsa in #23430
- Preserve compile config after HDF5 save by @tandede in #23475
- Accept NumPy scalar regularizer coefficients by @kaivalya-cyber in #23560
- Unskip distribution tests for PyTorch backend by @buildwithsuhana in #23501
- Remove the untraceable branches in Equalization by @MarcosAsh in #23568
- Validate EarlyStopping patience and reset wait on improvement by @kaivalya-cyber in #23559
- CI: Extract CPU tests into reusable cpu_tests.yml workflow by @laxmareddyp in #23572
- Adds quantization mode registry by @JyotinderSingh in #23521
- Add @core team to CODEOWNERS for .github workflow changes by @jeffcarp in #23589
- Build(deps): Bump github/codeql-action/upload-sarif from 4.37.8 to 4.37.9 in the github-actions group by @dependabot[bot] in #23586
- Add float_power to keras.ops.numpy by @Neilblaze in #23500
- Promote mixed dtypes in the Torch einsum backend and drop the EinsumDense workarounds by @JyotinderSingh in #23593
- Fix torch distributed test timeouts in nightly CI by @laxmareddyp in #23590
- Fix nextafter returning inf instead of the largest finite value by @UgaTheDev in #23417
- fix: Improve loss error messages with output and shape information by @maitry63 in #23117
- perf(backend): O(1) ALLOWED_DTYPES membership and a fast path for canonical dtype strings by @pctablet505 in #23182
- Fix #23133: erfinv returns Inf for largest float32 value below 1.0 by @utsab345 in #23207
- Add copysign to keras.ops.numpy by @Neilblaze in #23498
- perf(torch): drop redundant channels_last contiguous copy in conv input path by @pctablet505 in #23199
- Remove the
guidesfolder. by @hertschuh in #23600 - Upgrade GPU Runner for GPU Tests by @laxmareddyp in #23599
- fix(torch): canonicalize nested dict key order in the torch tree implementation by @pctablet505 in #23201
- fix(layers): don't drop call-context kwargs from the recorded Node when conversion is skipped by @pctablet505 in #23296
- Rename QuantizationMode to QuantizationStrategy by @JyotinderSingh in #23594
- Replace keras-team-review-pending with gTech-team-review-pending in Gemini triage allow-list by @laxmareddyp in #23602
- update PR template by @divyashreepathihalli in #23603
- Fix Functional dict inputs with extra keys by @GargiGupta-io in #23261
- Update stale and close time windows to 7 days by @divyashreepathihalli in #23604
- Add the quantization geometry protocol and move Dense onto it by @JyotinderSingh in #23591
- Implement cov function in keras.ops by @Neilblaze in #23494
- Add label_smoothing to SparseCategoricalCrossentropy by @Neilblaze in #23488
- Fix
quantizers/strategy_registry_testtest on TPU. by @hertschuh in #23611 - perf(torch): skip the flatten walk for batch-size extraction in TorchTrainer by @pctablet505 in #23187
- perf(layers): open the layer name scope once per call, not twice by @pctablet505 in #23301
- Validate Huber delta is greater than 0 by @kaivalya-cyber in #23573
- Fixed the broken link in PR Template by @samudraneel05 in #23618
- Fix reductions dropping rank with axis=None, keepdims=True by @AbdulAliMamnun in #23571
- Move EinsumDense onto the quantization geometry protocol by @JyotinderSingh in #23606
- Accelerate multi-step training loops using on-device
jax.lax.scanforsteps_per_execution > 1by @gaga1313 in #23527 - Add backend-agnostic implementation for dsplit by @SamanehSaadat in #23627
- Warn when OrbaxCheckpoint fails to finalize checkpoints by @GargiGupta-io in #23610
- Dot scale attention compatible with dtensor by @buildwithsuhana in #23403
- fix(torch): slice() preserves dynamic dims (SymInt) under torch.export by @pctablet505 in #23190
- fix: R2Score returns NaN instead of 1.0 for a perfect prediction on zero-variance data by @gaurav-gandhi-2411 in #23420
assertAllClose,assertAlmostEqual,assertAllEqualenforce shapes. by @hertschuh in #23605- [OpenVINO] Match the test exclusions exactly by @goyaladitya05 in #23637
- Fix grouped int4 quantization: one-signed groups and the tensor path's value range by @JyotinderSingh in #23636
- Tidy quantizers.py: delete GPTQQuantizer, share the group gather, move the QAT and float8 helpers by @JyotinderSingh in #23640
- Move the packing codecs into quantizers/packing.py behind one scaffold by @JyotinderSingh in #23644
- Fix base class data_adapter_test failure due to no test method. by @gaga1313 in #23659
- Generalize the callback state sync hook off the jax backend name by @MarcosAsh in #23620
- fix binary_crossentropy shape on mps by @samudraneel05 in #23633
- Add backend-agnostic implementation guideline by @SamanehSaadat in #23672
- Add backend-agnostic implementation for allclose by @SamanehSaadat in #23643
- Add instructions for new ops to the Gemini styleguide by @SamanehSaadat in #23673
- Let the backend provide fused rms and layer normalization by @MarcosAsh in #23510
- Move backend ops implementation in an
opsfolder, by @hertschuh in #23642 - Fix uncaught
StopIterationduring validation on empty datasets in JAX trainer by @gaga1313 in #23690 - Allow
model.state_syncto be missing. by @hertschuh in #23689 - handle native backend tensors in data adapters by @samudraneel05 in #23628
- Fix
backend.opsusage in data adapters array slicing by @james77777778 in #23691 - Resolve backend ops through the ops subpackage in DynamicBackend by @laxmareddyp in #23693
- Fix flaky test_cholesky with fixed seed and float32 rtol by @laxmareddyp in #23705
- Add backend-agnostic implementation for angle by @SamanehSaadat in #23706
- Support model parallel in torch trainer file by @buildwithsuhana in #23404
- Make
keras.ops.linalg.normsupport lists foraxis. by @hertschuh in #23721 - Move Embedding/ReversibleEmbedding to the quantization geometry protocol by @JyotinderSingh in #23630
- Add backend-agnostic implementation for deg2rad by @SamanehSaadat in #23722
- Split the int4 mode into a package by geometry family by @JyotinderSingh in #23746
- Move TernaryDense onto the quantization geometry protocol by @JyotinderSingh in #23758
- Add backend-agnostic implementation for fmax by @SamanehSaadat in #23759
- Add backend-agnostic implementation for fmin by @SamanehSaadat in #23767
- Add an experimental keras.ops.grad and port the gradient tests to it by @MarcosAsh in #23670
- Validate label smoothing range in loss functions by @kaivalya-cyber in #23504
- Add backend-agnostic implementation for rad2deg by @SamanehSaadat in #23743
- Build(deps): Bump the github-actions group with 3 updates by @dependabot[bot] in #23715
- Openvino while loop capture and scalar repeat by @laxmareddyp in #23613
- Fix duplicate variable store in SavedModel export (TF backend) by @maitry63 in #23563
- Fix support for JAX
numpy.crosswith 2D inputs. by @hertschuh in #23769 - Add pull-request-validation.yml workflow by @jeffcarp in #23768
- Add backend-agnostic implemenation for fmod by @SamanehSaadat in #23776
- Build(deps): Bump the github-actions group with 3 updates by @dependabot[bot] in #23784
- Serialize seed in SimpleRNN and RandomGrayscale by @GargiGupta-io in #23658
- Fixing
binary_crossentropywith an integer target stopping the Python process on MPS by @samudraneel05 in #23663 - Fix IoU.result when axis is not the last dimension by @Nicholas022400701 in #23668
- Fix convert_to_tensor dropping input dtype when floatx is bfloat16 by @maitry63 in #23683
- Add backend-agnostic implementation for nanmin and nanmax by @SamanehSaadat in #23778
- Retire the legacy per-mode dispatch path by @JyotinderSingh in #23760
- Fix two dtype-policy handling bugs in Layer by @JyotinderSingh in #23762
- Fix
AttributeErrorin TF backendadaptive_max_poolandadaptive_average_poolfor NumPy inputs by @buildwithsuhana in #23728 - Fixes symbolic output shape inference in AdaptiveMaxPool and AdaptiveAveragePool by @buildwithsuhana in #23714
- Fix symbolic output shape of sign in Slogdet.compute_output_spec for batched matrices by @buildwithsuhana in #23731
- Fix negative
axishandling inone_hotacross PyTorch, TensorFlow, and symbolic mode by @buildwithsuhana in #23734 - Cleanup the
backendnamespace for pluggable backends. by @hertschuh in #23770 - perf(tree): avoid id() and dict identity comparisons in torchtree_impl for torch.compile by @pctablet505 in #23647
- Hardening PyDataset, Callbacks, and Preprocessing adapt handling across Keras 3 by @MrNagabhushana-0-dev in #23440
- Fix CategoricalCrossentropy.compute_output_spec to respect axis argument by @buildwithsuhana in #23737
- Fix BatchNorm.compute_output_spec crash when offset is provided and scale is None by @buildwithsuhana in #23739
- Fix MultiHot.compute_output_spec to use self.dtype instead of inputs.dtype by @buildwithsuhana in #23738
- Apply stricter criteria for
tf.bias_addin TensorFlow'snumpy.add. by @hertschuh in #23777 - Fix GPTQ/AWQ policy names corrupting to _from_None by @JyotinderSingh in #23763
- Fix
convert_to_numpyon TensorFlow withbfloat16. by @hertschuh in #23806 - Use backend ops directly in backend-agnostic op fallbacks by @SamanehSaadat in #23809
- Treat namespace packages as unavailable in LazyModule by @laxmareddyp in #23713
- Add backend-agnostic implementation for nanmedian by @SamanehSaadat in #23794
- Fix division by zero NaN in categorical_crossentropy by @Deeven-Seru in #23552
- On TensorFlow don't upgrade to float32 in numpy.mean. by @hertschuh in #23802
- Add TensorFlow-backend tests for backend_utils.in_tf_graph by @laxmareddyp in #23810
- Promote integer inputs to float in hard_sigmoid and hard_silu by @GargiGupta-io in #23545
- Add backend-agnostic implementation for nanargmin and nanargmax by @SamanehSaadat in #23803
- Return NumPy arrays from TestPyDataset by @MarcosAsh in #23800
- Add sparse categorical focal crossentropy by @ishitta-iyer in #23482
- Store GPTQ and AWQ kernels in the layer's orientation by @JyotinderSingh in #23811
- Fall back to backend conversion in the numpy iterator by @MarcosAsh in #23828
- Return a Python int from ops.size on every backend by @Neilblaze in #23496
- Keep the group index of grouped quantization out of autocast by @JyotinderSingh in #23841
- Keep the arguments of
fake_quant_with_min_max_varson symbolic inputs by @JyotinderSingh in #23820 - Serialize a
DTypePolicyMapwithout changing its policies by @JyotinderSingh in #23821 - Keep
lora_alphawhenDenseandEmbeddingbuild by @JyotinderSingh in #23822 - Retrack the torch parameters of a
Sequentialafter quantization by @JyotinderSingh in #23823 - Register
GPTQConfiginkeras.quantizers.deserializeby @JyotinderSingh in #23824 - Load a per-channel int4 layer saved with a custom weight quantizer by @JyotinderSingh in #23825
- Align weight order between in-place and policy-built float8 layers by @JyotinderSingh in #23826
- Align int8 EinsumDense scales when a reduced axis must be squeezed by @JyotinderSingh in #23835
- Remove the unused error channel of
QuantizationReportby @JyotinderSingh in #23836 - Reject a quantized policy as the global dtype policy by @JyotinderSingh in #23837
- Step
nextafterby a ULP of the result dtype on openvino by @UgaTheDev in #23520 - Support Lanczos interpolation in torch backend resize by @laxmareddyp in #23792
- Validate BatchNormalization momentum is in [0, 1] by @kaivalya-cyber in #23623
- Validate Adagrad initial_accumulator_value is non-negative by @kaivalya-cyber in #23624
- Fix: remove unsupported NPZ weight storage and consolidate ZIP validation by @LinZiyuu in #23655
- Promote integer inputs to float in leaky_relu by @GargiGupta-io in #23608
- Fix invalid use of
ops.sizeinsparse_categorical_focal_crossentropy. by @hertschuh in #23842 - Revert "Fix division by zero NaN in categorical_crossentropy" by @hertschuh in #23843
- Add top-level permissions to stale workflow and fix zizmor ignores by @laxmareddyp in #23844
- Validate transform shape in ops.image.affine_transform by @Noxtimo in #23619
- [Torch] Add End-to-End Multi-GPU Integration Tests by @buildwithsuhana in #23502
- Serialize axis in CosineSimilarity and gain in Identity by @GargiGupta-io in #23819
- Validate GroupNormalization epsilon is positive by @kaivalya-cyber in #23675
- Run integration tests against the checkout in CI by @goyaladitya05 in #23830
- Build(deps): Bump the github-actions group with 5 updates by @dependabot[bot] in #23851
- Remove OpenVINO specific checks from tests by @goyaladitya05 in #23850
- perf(torch): use channels_last memory format in pooling ops by @pctablet505 in #23645
- Validate Adadelta rho is in [0, 1] by @kaivalya-cyber in #23677
- Update keras ops usage in optimizers by @samudraneel05 in #23697
- Migrate
ops.*tobackend.ops.*inkeras/src/layers/attentionby @Bratet in #23716 - Migrate distillation to backend ops by @yeti107 in #23720
- Add backend-agnostic implementation for nansum by @SamanehSaadat in #23854
- Validate RMSprop rho is in [0, 1] by @kaivalya-cyber in #23676
- Fixes stale backend references in Gemini style guide by @JyotinderSingh in #23847
- Enable pluggable backends. by @hertschuh in #23795
- Fix get_pluggable_backend_module with the default backend by @goyaladitya05 in #23859
- Make run-gpu-tpu-tests a one-shot label for the GPU and TPU test workflows by @laxmareddyp in #23857
- Update padding mode in average pooling tests by @MaddipatlaChetan24 in #23681
- Cleanup the
keras.src.opsmodule. by @hertschuh in #23868 - fix: Change exception from AssertionError to ValueError by @jjdev11 in #23788
- Make OpenVINO a pluggable backend by @goyaladitya05 in #23858
- Add backend-agnostic implementation for nanmean by @SamanehSaadat in #23867
- Add backend-agnostic implementation for nancumsum by @SamanehSaadat in #23869
- Add QuantizedWeight: one view over a quantized weight's stored variables by @JyotinderSingh in #23845
- Fix symbolic std dtype for complex inputs by @aswanth-07 in #23749
- Fix several Doc issues for
mobilenet,mobilenet_v2, andmobilenet_v3by @ILCSFNO in #23765 - Support 2-D vectors in
ops.crosson the torch backend by @jayzuccarelli in #23801 - Fix gradients of ops.hypot in TensorFlow backend by @vruotolo in #23808
- Fix ops.ndim returning a symbolic placeholder, breaking circle loss for dynamic-batch inputs by @SID-6921 in #23860
- Fix ConvTranspose.call argument order by passing keywords (#23755) by @Deeven-Seru in #23838
- Support io.IOBase in keras.saving.load_model by @iezepov in #23873
- Cast fill_value to images.dtype in tensorflow ops.image.resize by @Noxtimo in #23833
- Add backend-agnostic implementation for nanvar by @SamanehSaadat in #23879
- Add backend-agnostic implementation for nanprod and nancumprod by @SamanehSaadat in #23877
- Fix zizmor ref-version-mismatch for upload-artifact in scorecard.yml by @maitry63 in #23881
- Update gemini style guide for backend-agnostic ops by @SamanehSaadat in #23887
- Preserve static training flags during layer rematerialization by @fchollet in #23889
- Refuse what a quantization mode cannot carry before the layer changes by @JyotinderSingh in #23884
- Add backend-agnostic implementation for nanstd by @SamanehSaadat in #23886
- fix: unknowkn shape as per step execution for Tensorflow by @maitry63 in #23796
- Eliminates TorchDynamo graph breaks during torch backend model compilation. by @james77777778 in #23744
- Fix
ema_overwrite_frequencyunderMirroredStrategyin graph mode by @JyotinderSingh in #23911 - Verify exported names and true symbol names match. by @hertschuh in #23905
- Recognize /namespace as a remote path in file_utils by @iezepov in #23872
- Consistently name export sub-classes
SavedModelExportArchive. by @hertschuh in #23878 - Consistently trainer export sub-classes
Trainer. by @hertschuh in #23888 - Read a layer's own dtype policy, and make quantization_summary exact by @JyotinderSingh in #23897
- Fix
TernaryDenseon torch when called under another device by @JyotinderSingh in #23909 - Fix undefined name
TorchTrainerin torch trainer by @SamanehSaadat in #23927 - Fix Bidirectional output shape with an asymmetric backward layer by @vishwakt in #23687
- Add regression test for ops.rot90 with batched non-square planes (k > 1) by @Phoebus-Liu in #23695
- Update keras ops usage in layers/merging by @samudraneel05 in #23863
- Promote integer inputs to float in sparse_sigmoid by @GargiGupta-io in #23853
- Fix silent function serialization corruption on Windows by @ujwalreddybattu04 in #23631
- Promote integer inputs to float in soft_shrink, sparse_plus and selu by @Nanduu24 in #23639
- Fix
binary_crossentropyresult dtype for NumPy and JAX backends (#23735) by @VimalN2005 in #23745 - Enhance build directory checks and subprocess usage by @MaddipatlaChetan24 in #23653
- perf(layers): fast path for single-InputSpec assert_input_compatibility by @pctablet505 in #23184
- Make
amax/aminaliases ofmax/minby @SamanehSaadat in #23934 - Use
self.addCleanupinstead oftry/finallyin backend-agnostic op tests by @SamanehSaadat in #23935 - Fix channels_first 2d conv with TF on CPU by @fhchl in #23651
- Add backend-agnostic implementation for nanquantile by @SamanehSaadat in #23925
- Record kernel facts in
build()and store ternary codes at_kernelby @JyotinderSingh in #23906 - Reject decompression bombs in remaining zip readers by @Snakinya in #23212
- Fix potential issue in _maybe_rebuild method by @MaddipatlaChetan24 in #23900
- Zero attention weights for fully masked rows by @vishwakt in #23902
- Register CategoricalGeneralizedCrossEntropy and Lamb in ALL_OBJECTS by @ahlag in #23866
- Fix torch
Variable.assigninside anAutocastScopeby @JyotinderSingh in #23939 - Fix serialization of functions and activations. by @hertschuh in #23870
- Export backend specific sub-classes without another sub-class. by @hertschuh in #23907
- Build(deps): Bump actions/upload-artifact from 7.0.1 to 7.0.2 in the github-actions group by @dependabot[bot] in #23953
- Save and load every quantized layer with one spec walk in
Layerby @JyotinderSingh in #23940 - Reject EinsumDense inputs whose rank does not fit the equation by @JyotinderSingh in #23908
- Run the torch multi-process tests under torchrun in CI by @JyotinderSingh in #23951
- Fix Functional models accepting inputs with a mismatched last axis by @pctablet505 in #23920
- Fix complex covariance in fallback and NumPy backend by @aswanth-07 in #23922
- Fix batched vector right-hand sides in NumPy and JAX solve by @vera-rubin in #23932
- Restore the model weights after
predictinSwapEMAWeightsby @JyotinderSingh in #23945 - Redistribute DTensors with another layout in torch
distribute_tensorby @JyotinderSingh in #23947 - Remove graph breaks from torch
SGD,Adadeltaunderjit_compile=Trueby @JyotinderSingh in #23949 - Fix
UnboundLocalErrorthat hides store errors in unzipped saves by @JyotinderSingh in #23950 - Fix CI: Increase the TPU tolerance of the complex
covtest by @JyotinderSingh in #23957 - Fix declaration of
Variablefor type verification. by @hertschuh in #23967 - Suppress new zizmor
issue_commentfindings by @SamanehSaadat in #23969 - MaxNumBoundingBoxes: don't drop fill_value when saving
Add a test for the fill_value round-trip by @rootkiller6788 in #23885
- Convert values to integers in argument validation by @MaddipatlaChetan24 in #23959
- Retire the calibration flags and the stashed int4 block size by @JyotinderSingh in #23954
- Fill the weight decay cache when the optimizer is built by @JyotinderSingh in #23952
- Improve error messaging in deserialization for missing attribute. by @hertschuh in #23926
- Fix Gaussian blur spatial kernel ordering across backends by @GodlyDonuts in #23723
- Document
self.addCleanupin backend-agnostic op tests by @SamanehSaadat in #23977 - Make
jit_compile=Truework under torchDataParallelby @JyotinderSingh in #23948 - Track the torch DTensor promotion mode per thread by @JyotinderSingh in #23946
- Keep beta in group normalization for large inputs by @vishwakt in #23924
- Expose backend independent symbols in
keras.src.backend.common. by @hertschuh in #23980 - Bump GPU tests timeout to 4 hours by @laxmareddyp in #23983
- Fix CI: Increase tolerance of Gaussian blur kernel tests by @JyotinderSingh in #23984
- Remove unused
GLOBAL_SETTINGS_TRACKER. by @hertschuh in #23981 - Fix test_fori_loop dtype mismatch on the TF backend by @gaga1313 in #23993
- Make calibration capture a dispatch contract instead of a call patch by @JyotinderSingh in #23978
- Build(deps): Bump the github-actions group with 3 updates by @dependabot[bot] in #24008
- Declare the GPTQ and AWQ strategies and their policy surface once by @JyotinderSingh in #24009
- Make TensorFlow floor_divide exact for float inputs by @usmanmateen in #23938
- Keep beta in layer normalization for large inputs by @vishwakt in #23782
- Fix CI: Fold the causal mask into
biasin torchdot_product_attentionby @JyotinderSingh in #24016 - Stop using
backend.standardize_dtypeand instead import it... by @hertschuh in #23995 - Stop using
backend.standardize_shapeand instead import it... by @hertschuh in #24017 - Exclude visualization utilities from modeling API deserialization by @priyankn in #24023
- Fix failing
floor_dividetest on TPU. by @hertschuh in #24021 - Stop using
backend.AutocastScopeand instead import it... by @hertschuh in #24022 - Unify GPTQ and AWQ per-layer calibration under
Calibratorbase class by @JyotinderSingh in #24015 - Stop using
backend.is_(int|float)_dtypeand instead import it... by @hertschuh in #24025 - Fix support for JAX
LayoutandFormatin variables. by @hertschuh in #24042 - Fix tf.keras.ops.numpy.logaddexp and logaddexp2 gradient at equal inputs by @jdymitarai in #23616
- Fix ldexp reverse-mode autodiff gradient at zero in tensorflow backend by @jdymitarai in #23615
- Route quantized policy strings by grammar instead of prefix matching by @JyotinderSingh in #24026
- Run the load check of a convolution with LoRA by @JyotinderSingh in #24029
- Quantize per-channel when a bare
int4policy is set on a layer by @JyotinderSingh in #24030 - Simplify calibration dataloader and remove unused sampling options by @JyotinderSingh in #24035
- Avoid redundant forward execution and validate return structure in custom_gradient by @JyotinderSingh in #24038
- Move custom gradient tensors to input device during backward pass by @JyotinderSingh in #24045
- Set the minimum PyTorch version in the README to 2.6.0 by @JyotinderSingh in #24048
- Add backend-agnostic implementation for nanpercentile by @SamanehSaadat in #24024
- Add Mosaic image augmentation layer by @mayankdas2005 in #23963
- Fix floor_divide regression from #23938 by @gaga1313 in #24056
- Fix Sequential.from_config variable paths so Orbax checkpoints restore weights by @princemittalr in #24055
- Add
etils.epathfallback for remote paths infile_utils.pyby @SamanehSaadat in #24020 - Fix NumPy conversion of sharded torch variables by @JyotinderSingh in #24028
- Speed up JAX GPU tests using XLA flags. by @hertschuh in #23985
- Update CPU test runner to linux-x86-n4-16 by @laxmareddyp in #24062
- Stop using
backend.(get|set)_keras_maskand instead import it... by @hertschuh in #24059 - Add backend-agnostic implementation for argpartition by @SamanehSaadat in #24041
- Bump pull-request-validation pin to bypass check for all collaborators by @laxmareddyp in #24072
- Build(deps): Bump the github-actions group with 3 updates by @dependabot[bot] in #24075
- Fix loading remote .keras files by @SamanehSaadat in #24081
- Pin torch to 2.14.* in the CUDA requirements by @laxmareddyp in #24091
- Add
layoutargument toLayer.add_weight. by @hertschuh in #24058 - Rename NeptuneModelExportArchive to XLASavedModelArchive by @jerryxyj in #24097
- Fix reconstruction of
Layers'pathon reloading. by @hertschuh in #24087 - Add backend-agnostic implementation for array_split by @SamanehSaadat in #24093
- Fix torch mps float64 issue by @samudraneel05 in #23701
- Supportx64 by @gaga1313 in #24047
- Blackman by @SamanehSaadat in #24107
- Support remote paths in ModelCheckpoint by @SamanehSaadat in #24092
- Update Gemini style guide based on recent reviews by @SamanehSaadat in #24086
- Use file_utils for remote paths in dataset utils by @SamanehSaadat in #24098
- Fix the
correlateop bug in TF and torch backends by @SamanehSaadat in #24132 - Add backend-agnostic implementation for
diagflatby @SamanehSaadat in #24137 - Build(deps): Bump the github-actions group with 4 updates by @dependabot[bot] in #24135
- Fix keras.ops.convert_to_numpy call in LayerBenchmark by @jeffcarp in #24109
- Fix op edge cases that differ between backends by @MarcosAsh in #24130
- Fixes
Operation.get_configdroppingnamefrom auto-generated config. by @gaga1313 in #24140 - Use one calibration driver for GPTQ and AWQ by @JyotinderSingh in #24057
- Optimize int8 matmul and einsum contractions for PyTorch CPU and MPS by @JyotinderSingh in #24039
- Preserve dtype in Loss.get_config to prevent precision loss upon model deserialization by @MrNagabhushana-0-dev in #24125
- Add backend-agnostic implementation for corrcoef by @SamanehSaadat in #24110
- Add backend-agnostic implemenation for correlate by @SamanehSaadat in #24131
- Fix torch lstsq on GPU by @SamanehSaadat in #24146
- Add tests for op edge cases found in the MLX backend by @MarcosAsh in #24104
- Fix Kaiser test on TPU. by @hertschuh in #24157
- When deserializing layers, defer
buildto create thename_scopecorrectly. by @hertschuh in #24142 - Don't copy keras.Variable leaves in JaxLayer. by @davidtungy in #24141
- Op test harness:
OpTestbase classes and the first 6 numpy ops by @gaga1313 in #23970 - Reformat code in
.mdfiles. by @hertschuh in #24161 - Add a CI job that runs the JAX tests without TensorFlow by @SamanehSaadat in #24145
- Add backend-agnostic implementation for
divide_no_nanby @SamanehSaadat in #24158 - Add backend-agnostic implementation for dstack by @SamanehSaadat in #24164
- Add backend-agnostic implementation for
empty_likeby @SamanehSaadat in https://github.com/keras-team/keras/pull/24166 - Add backend-agnostic implementation for
exp2by @SamanehSaadat in https://github.com/keras-team/keras/pull/24168 - Refuse a quantization config that contradicts the dtype policy by @JyotinderSingh in https://github.com/keras-team/keras/pull/24031
- Pad one-row int8 matmul and einsum to two rows on JAX CPU by @JyotinderSingh in https://github.com/keras-team/keras/pull/24037
- Batch AWQ's calibration forwards like GPTQ's by @JyotinderSingh in https://github.com/keras-team/keras/pull/24174
- Seed the augmentation choice in AugMix by @Ayoubhm07 in https://github.com/keras-team/keras/pull/23880
- Replace the top-level TensorFlow imports in preprocessing layer tests… by @SamanehSaadat in https://github.com/keras-team/keras/pull/24176
- Improve one_hot handling for negative and out of range values by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/24011
- Fix tril and triu on TensorFlow when k is outside the matrix by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/24070
- Avoid BN graph break in torch by @calad0i in https://github.com/keras-team/keras/pull/24083
- avoid add_loss forced recompilation by @calad0i in https://github.com/keras-team/keras/pull/24085
- Pass the training flag to Distiller student feature extraction by @vnayakde in https://github.com/keras-team/keras/pull/24088
- Fix
ops.heavisidereturning a finite value for NaN on TF and Torch by @maitry63 in https://github.com/keras-team/keras/pull/24102 - Document
ignore_classin SparseCategoricalCrossentropy.init by @zuccamia in https://github.com/keras-team/keras/pull/24175 - Replace the top-level TensorFlow imports in data adapter, image ops and util tests with module_utils.tensorflow by @SamanehSaadat in https://github.com/keras-team/keras/pull/24177
- Fix avg formatting for negative metric values by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/23975
- Fix
map_coordinatesmirror and reflect modes on TensorFlow by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/24014 - Lower pytest-xdist workers from 12 to 8 on CPU runner by @jeffcarp in https://github.com/keras-team/keras/pull/24180
- Refactor image tensor rank validation logic by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/23976
- Host CIFAR-10 and CIFAR-100 on GCS mirror by @jeffcarp in https://github.com/keras-team/keras/pull/24108
- Use shared stale-issue-pr workflow by @gaga1313 in https://github.com/keras-team/keras/pull/24179
- Use shared zizmor workflow by @gaga1313 in https://github.com/keras-team/keras/pull/24178
- Bump shared auto-assignment workflow to e7f0e52 by @gaga1313 in https://github.com/keras-team/keras/pull/24182
- Update keras ops usage in layers/reshaping by @samudraneel05 in https://github.com/keras-team/keras/pull/24115
- Read TensorBoard event files without TensorFlow in tests by @SamanehSaadat in https://github.com/keras-team/keras/pull/24185
- Update version of
ruffin pre-commit hook. by @hertschuh in https://github.com/keras-team/keras/pull/24183 - Skip channels_last is_contiguous under torch.vmap in conv by @indrajeetapache in https://github.com/keras-team/keras/pull/23588
- fix _distribute_data name and predict_on_batch by @gaga1313 in https://github.com/keras-team/keras/pull/24188
- Add top_k dtype test by @goyaladitya05 in https://github.com/keras-team/keras/pull/24181
- Tensorboard custom summary mock by @SamanehSaadat in https://github.com/keras-team/keras/pull/24186
- Build(deps): Bump the github-actions group with 5 updates by @dependabot[bot] in https://github.com/keras-team/keras/pull/24194
- Keep 64-bit NumPy data in fit, evaluate and predict on JAX by @gaga1313 in https://github.com/keras-team/keras/pull/24147
- Describe what CutMix's factor argument controls by @Andreas-Hum in https://github.com/keras-team/keras/pull/24128
- Document that
Operation.inputandoutputreturn the first call's tensors by @Phoebus-Liu in https://github.com/keras-team/keras/pull/23991 - Compute a stable variance in torch and NumPy
momentsby @Viranshul-P in https://github.com/keras-team/keras/pull/24113 - Stop using
backend.StatelessScope/backend.(get|in)_stateless_scope... by @hertschuh in https://github.com/keras-team/keras/pull/24196 - Migrate
ops.*tobackend.ops.*inkeras/src/metricsby @nurulgofran in https://github.com/keras-team/keras/pull/24065 - Accept list and tuple repeats in the JAX repeat op by @anishmehta24 in https://github.com/keras-team/keras/pull/24105
- Fix RandomShear config round trip for float factors by @DisturbedCrow in https://github.com/keras-team/keras/pull/24073
- Update argument_validation.py by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/24156
- Promote integer and bool inputs to float in softsign, squareplus and hard_shrink by @GargiGupta-io in https://github.com/keras-team/keras/pull/24163
- Fix
ops.repeaton Torch whenrepeatsis a list. by @hertschuh in https://github.com/keras-team/keras/pull/24200 - Normalize imports of
SymbolicScope/in_symbolic_scope. by @hertschuh in https://github.com/keras-team/keras/pull/24199 - Stop using
backend.KerasTensorand instead import it from... by @hertschuh in https://github.com/keras-team/keras/pull/24203 - Use /triage as the sole manual comment trigger for issue triage workflow by @jeffcarp in https://github.com/keras-team/keras/pull/24133
- Add backend-agnostic implementation for fabs by @SamanehSaadat in https://github.com/keras-team/keras/pull/24207
- Add multi-backend benchmark comparison by @MarcosAsh in https://github.com/keras-team/keras/pull/24160
- Add backend-agnostic implementation for fliplr by @SamanehSaadat in https://github.com/keras-team/keras/pull/24209
- Introduce
ElementwiseUnaryOperationbase class and refactor ops. by @james77777778 in https://github.com/keras-team/keras/pull/23958 - Pin SHA-256 integrity hashes for Fashion-MNIST dataset files by @priyankn in https://github.com/keras-team/keras/pull/24036
- Check values across input dtypes in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24187
- Stop using
backend.any_symbolic_tensorsand instead import it from... by @hertschuh in https://github.com/keras-team/keras/pull/24208 - Stop hiding gfile in remote path tests now that TF-free CI exists by @SamanehSaadat in https://github.com/keras-team/keras/pull/24211
- Add backend-agnostic implementation for flipud by @SamanehSaadat in https://github.com/keras-team/keras/pull/24210
- Remove Jules integration. by @hertschuh in https://github.com/keras-team/keras/pull/24217
- Don't mark loaded model as compiled when compile_from_config skips compile by @vnayakde in https://github.com/keras-team/keras/pull/24154
- Stop using
backend.is_keras_tensorand instead import it from... by @hertschuh in https://github.com/keras-team/keras/pull/24213 - Fix crossentropy and KL string losses in
LogitsDistillationby @JyotinderSingh in https://github.com/keras-team/keras/pull/24063 - Test the functional-subclass path for loaded custom-compile models by @JyotinderSingh in https://github.com/keras-team/keras/pull/24225
- Remove obsolete tf2onnx NumPy 2 compatibility patch by @andife in https://github.com/keras-team/keras/pull/24214
- Fix out-of-range offsets in
diagonal,diag,traceand eye on TensorFlow by @MaddipatlaChetan24 in https://github.com/keras-team/keras/pull/24012 - Implement XLASavedModelArchive with xla_saved_model (XLA Serving Engine export) by @jerryxyj in https://github.com/keras-team/keras/pull/24143
- Remove the pending calibration state from GPTQ and AWQ by @JyotinderSingh in https://github.com/keras-team/keras/pull/24221
- Write scalars and the Keras model summary with tensorboardX by @SamanehSaadat in https://github.com/keras-team/keras/pull/24198
- Split GPU and TPU tests into four shards by @laxmareddyp in https://github.com/keras-team/keras/pull/24144
- Add backend-agnostic implementation for gcd by @SamanehSaadat in https://github.com/keras-team/keras/pull/24229
- Check each op under the backend JIT in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24212
- Support overlapping patches (strides != size) in keras.ops.image.reconstruct_patches by @brianmanderson in https://github.com/keras-team/keras/pull/23930
- Do not retain quantization_config on calibrated GPTQ and AWQ layers by @JyotinderSingh in https://github.com/keras-team/keras/pull/24233
- Accept NumPy integers as layer arguments by @JyotinderSingh in https://github.com/keras-team/keras/pull/24226
- Stop using
backend.result_typeand instead import it from... by @hertschuh in https://github.com/keras-team/keras/pull/24234 - Support loading unlisted backends via KERAS_ALLOW_UNOFFICIAL_BACKEND by @laxmareddyp in https://github.com/keras-team/keras/pull/24232
- Eliminate host-to-device tensor copies in quantized layers for CUDA graph capture by @JyotinderSingh in https://github.com/keras-team/keras/pull/24060
- Calibrate third-party layers that declare GPTQ or AWQ support by @JyotinderSingh in https://github.com/keras-team/keras/pull/24237
- Raise clear compile error in torch/numpy evaluate() by @vnayakde in https://github.com/keras-team/keras/pull/24153
- Write histograms and images with tensorboardX by @SamanehSaadat in https://github.com/keras-team/keras/pull/24238
- Fix torch linspace, logspace and geomspace returning nan for num=1 by @SamanehSaadat in https://github.com/keras-team/keras/pull/24236
- Check each op inside a functional Model in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24240
- Add backend-agnostic implementation for hanning by @SamanehSaadat in https://github.com/keras-team/keras/pull/24244
- Remove unused train graph code by @SamanehSaadat in https://github.com/keras-team/keras/pull/24243
- Add backend-agnostic implementation for hamming by @SamanehSaadat in https://github.com/keras-team/keras/pull/24241
- Add backend-agnostic implementation for geomspace by @SamanehSaadat in https://github.com/keras-team/keras/pull/24235
- Fix NumPy logsumexp for bfloat16 with ml_dtypes 0.7.0 by @SamanehSaadat in https://github.com/keras-team/keras/pull/24263
- Check each op on NumPy arrays, Variables and Python lists in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24261
- Make
__array__functions compliant with NumPy 2.x. by @hertschuh in https://github.com/keras-team/keras/pull/24242 - Test 64-bit dtypes in the OpTest harness by @gaga1313 in https://github.com/keras-team/keras/pull/24230
- Use float32 inputs in SqueezeTest by @MarcosAsh in https://github.com/keras-team/keras/pull/24253
- Reword Fashion-MNIST license note by @SamanehSaadat in https://github.com/keras-team/keras/pull/24264
- Resolve weak floats and cbrt to floatx under bfloat16 and float16 by @gaga1313 in https://github.com/keras-team/keras/pull/24262
- Preserve caller sample weights when applying loss masks by @FactualExplorer in https://github.com/keras-team/keras/pull/24256
- Fix torch vdot for multi-dimensional inputs and kron for non-contiguous inputs by @Viranshul-P in https://github.com/keras-team/keras/pull/24150
- Avoid UnitNormalization graph break in torch.compile by @sandeepvijayarao09 in https://github.com/keras-team/keras/pull/24159
- Build(deps): Bump the github-actions group with 5 updates by @dependabot[bot] in https://github.com/keras-team/keras/pull/24274
- Stop re-exporting OpTest classes from keras.src.testing by @SamanehSaadat in https://github.com/keras-team/keras/pull/24276
- Honor copy argument in Variable.array by @SamanehSaadat in https://github.com/keras-team/keras/pull/24275
- Suppress spurious divide-by-zero warning in numpy divide_no_nan by @SID-6921 in https://github.com/keras-team/keras/pull/24201
- Convert 64-bit integers to float64 in elementwise ops under explicit_x64 by @gaga1313 in https://github.com/keras-team/keras/pull/24270
- Check dtype= argument in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24268
- Check each op has finite gradients in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24277
- Remove in-place operators on tensors by @SamanehSaadat in https://github.com/keras-team/keras/pull/24280
- Make TensorFlow follow x64_mode by @gaga1313 in https://github.com/keras-team/keras/pull/24265
- Stop using
backend.epsilonand instead importconfigby @hertschuh in https://github.com/keras-team/keras/pull/24289 - Check each op under bfloat16 and float16 floatx in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24266
- Stop using
backend.floatxand instead importconfigby @hertschuh in https://github.com/keras-team/keras/pull/24292 - Fix affine_transform with a single transform for a batch of images by @SamanehSaadat in https://github.com/keras-team/keras/pull/24290
- Check each op in tf.function with unknown dimensions in OpTest by @gaga1313 in https://github.com/keras-team/keras/pull/24269
- Split an EinsumDense kernel for GPTQ/AWQ by its equation, not its shape by @JyotinderSingh in https://github.com/keras-team/keras/pull/24283
- Stop using
backend.image_data_formatand instead importconfigby @hertschuh in https://github.com/keras-team/keras/pull/24303 - Convert 64-bit integers to float64 in reductions under explicit_x64 by @gaga1313 in https://github.com/keras-team/keras/pull/24302
- Remove uses of
# flake8: noqa. by @hertschuh in https://github.com/keras-team/keras/pull/24304 - Fix torch linspace and logspace not ending exactly at stop by @SamanehSaadat in https://github.com/keras-team/keras/pull/24305
- Fix inconsistency between
layer_normalizationop arguments and class constructor arguments. by @hertschuh in https://github.com/keras-team/keras/pull/24278 - Remove
set_epsilonfromkeras.src.backend. by @hertschuh in https://github.com/keras-team/keras/pull/24306 - Stop using
backend.standardize_data_formatand instead import it... by @hertschuh in https://github.com/keras-team/keras/pull/24316 - Fix CI: Increase TPU tolerance in channels_first test_affine_transform by @gaga1313 in https://github.com/keras-team/keras/pull/24310
- Convert 64-bit integers to float64 in the remaining ops under explicit_x64 by @gaga1313 in https://github.com/keras-team/keras/pull/24307
- Stop using
backend.set_floatxand instead importconfigby @hertschuh in https://github.com/keras-team/keras/pull/24320 - Convert integer inputs to floats in erf, erfinv and rsqrt by @gaga1313 in https://github.com/keras-team/keras/pull/24322
- Convert integer inputs to floats in sigmoid, softmax and log_softmax by @gaga1313 in https://github.com/keras-team/keras/pull/24321
- Do not copy tensors when using a TF dataset with JAX or NumPy. by @hertschuh in https://github.com/keras-team/keras/pull/24291
- Stop using
backend.set_image_data_formatand instead importconfigby @hertschuh in https://github.com/keras-team/keras/pull/24336 - Fix window ops under jax.jit by @SamanehSaadat in https://github.com/keras-team/keras/pull/24337
- Use
config.backend()instead ofbackend.backend(). by @hertschuh in https://github.com/keras-team/keras/pull/24338 - Cleanup references to
backendin documentation. by @hertschuh in https://github.com/keras-team/keras/pull/24348 - Stop using
backend.configand useconfigdirectly instead. by @hertschuh in https://github.com/keras-team/keras/pull/24351 - Speed up backend-agnostic
exp2by usingexpinstead ofpowerby @SamanehSaadat in https://github.com/keras-team/keras/pull/24349 - Add backend-agnostic implementation for histogram by @SamanehSaadat in https://github.com/keras-team/keras/pull/24344
- Add backend-agnostic implementation for hypot by @SamanehSaadat in https://github.com/keras-team/keras/pull/24346
- Move
random_seed_dtypefromcoretorandom. by @hertschuh in https://github.com/keras-team/keras/pull/24354 - Use dev0 version suffix on master by @laxmareddyp in https://github.com/keras-team/keras/pull/24347
- Explicitly import individual core ops in each
ops/__init__.py. by @hertschuh in https://github.com/keras-team/keras/pull/24365 - Move unrelated code out of
variables.py. by @hertschuh in https://github.com/keras-team/keras/pull/24366 - Disable
jit_compilewith multi-replicatf.distributestrategies by @SamanehSaadat in https://github.com/keras-team/keras/pull/24301 - Use conv in the backend-agnostic correlate by @SamanehSaadat in https://github.com/keras-team/keras/pull/24350
- Setup pluggable backend dependencies. by @hertschuh in https://github.com/keras-team/keras/pull/24444
- Allow pluggable backends to run integration tests. by @hertschuh in https://github.com/keras-team/keras/pull/24447
- Reject classes when deserializing a
"class_name": "function"config by @LinZiyuu in https://github.com/keras-team/keras/pull/24369 - Run the import test flow against the installed wheel by @laxmareddyp in https://github.com/keras-team/keras/pull/24458
- Treat 64-bit inputs as 32-bit under x64_mode off by @gaga1313 in https://github.com/keras-team/keras/pull/24308
- Build(deps): Bump the github-actions group with 2 updates by @dependabot[bot] in https://github.com/keras-team/keras/pull/24454
- Use the backend-agnostic nanquantile, nanmedian and nanpercentile on TF by @SamanehSaadat in https://github.com/keras-team/keras/pull/24367
- Speed up backend-agnostic
anglefor real inputs by @SamanehSaadat in https://github.com/keras-team/keras/pull/24442 - Introduce
ElementwiseBinaryOperationbase class and refactor ops. by @james77777778 in https://github.com/keras-team/keras/pull/24323 - Upgrade Python version to 3.12 for TPU tests. by @hertschuh in https://github.com/keras-team/keras/pull/24469
- Use the backend-agnostic argpartition and histogram on TensorFlow by @SamanehSaadat in https://github.com/keras-team/keras/pull/24443
New Contributors
- @pwuertz made their first contribution in #23095
- @devs6186 made their first contribution in #23177
- @CodingSelim made their first contribution in #23230
- @DavidAriOstenfeldt made their first contribution in #23111
- @Osamaali313 made their first contribution in #23202
- @brianmanderson made their first contribution in #22984
- @SABITHSAHEB made their first contribution in #23252
- @mohammadmseet-hue made their first contribution in #23254
- @SharadhNaidu made their first contribution in #23093
- @winklemad made their first contribution in #23265
- @mr-field made their first contribution in #23284
- @TheManishCode made their first contribution in #23242
- @sohumt123 made their first contribution in #23286
- @patminn107 made their first contribution in #23171
- @MrNagabhushana-0-dev made their first contribution in #23221
- @simeon-kepp made their first contribution in #22960
- @mncrftfrcnm made their first contribution in #23328
- @madhanalagarsamy made their first contribution in #23368
- @Priyanshu-byte-coder made their first contribution in #23329
- @mrinalghoshh made their first contribution in #23391
- @Kaif10 made their first contribution in #23375
- @indrajeetapache made their first contribution in #23464
- @Vansh-Sharmaa made their first contribution in #23411
- @SEPURI-SAI-KRISHNA made their first contribution in #23423
- @pandeylakshya207-max made their first contribution in #23447
- @karpovantonme made their first contribution in #23477
- @2sumtech made their first contribution in #23542
- @sugata100 made their first contribution in #23376
- @IshaanPotle made their first contribution in #23505
- @lequangdung2005 made their first contribution in #23465
- @aswanth-07 made their first contribution in #23428
- @Sid-5137 made their first contribution in #23535
- @marco-trotta1 made their first contribution in #23550
- @KaiOnCode made their first contribution in #23558
- @tandede made their first contribution in #23475
- @kaivalya-cyber made their first contribution in #23560
- @Neilblaze made their first contribution in #23500
- @UgaTheDev made their first contribution in #23417
- @GargiGupta-io made their first contribution in #23261
- @AbdulAliMamnun made their first contribution in #23571
- @gaurav-gandhi-2411 made their first contribution in #23420
- @Nicholas022400701 made their first contribution in #23668
- @Deeven-Seru made their first contribution in #23552
- @ishitta-iyer made their first contribution in #23482
- @Noxtimo made their first contribution in #23619
- @Bratet made their first contribution in #23716
- @yeti107 made their first contribution in #23720
- @MaddipatlaChetan24 made their first contribution in #23681
- @jjdev11 made their first contribution in #23788
- @jayzuccarelli made their first contribution in #23801
- @vruotolo made their first contribution in #23808
- @SID-6921 made their first contribution in #23860
- @iezepov made their first contribution in #23873
- @vishwakt made their first contribution in #23687
- @Phoebus-Liu made their first contribution in #23695
- @ujwalreddybattu04 made their first contribution in #23631
- @Nanduu24 made their first contribution in #23639
- @VimalN2005 made their first contribution in #23745
- @fhchl made their first contribution in #23651
- @Snakinya made their first contribution in #23212
- @ahlag made their first contribution in #23866
- @vera-rubin made their first contribution in #23932
- @rootkiller6788 made their first contribution in #23885
- @GodlyDonuts made their first contribution in #23723
- @usmanmateen made their first contribution in #23938
- @priyankn made their first contribution in #24023
- @jdymitarai made their first contribution in #23616
- @mayankdas2005 made their first contribution in #23963
- @princemittalr made their first contribution in #24055
- @davidtungy made their first contribution in #24141
- @Ayoubhm07 made their first contribution in https://github.com/keras-team/keras/pull/23880
- @vnayakde made their first contribution in https://github.com/keras-team/keras/pull/24088
- @zuccamia made their first contribution in https://github.com/keras-team/keras/pull/24175
- @Andreas-Hum made their first contribution in https://github.com/keras-team/keras/pull/24128
- @Viranshul-P made their first contribution in https://github.com/keras-team/keras/pull/24113
- @nurulgofran made their first contribution in https://github.com/keras-team/keras/pull/24065
- @anishmehta24 made their first contribution in https://github.com/keras-team/keras/pull/24105
- @DisturbedCrow made their first contribution in https://github.com/keras-team/keras/pull/24073
- @andife made their first contribution in https://github.com/keras-team/keras/pull/24214
- @FactualExplorer made their first contribution in https://github.com/keras-team/keras/pull/24256
- @sandeepvijayarao09 made their first contribution in https://github.com/keras-team/keras/pull/24159
Full Changelog: v3.15.0...v3.16.0.dev0