pypi keras 3.16.0.dev0
Keras 3.16.0.dev0

2 hours ago

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_scope when 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_mask in Pipeline. by @hertschuh in #23268
  • Fix inconsistent padding behavior in Torch pooling operations by @buildwithsuhana in #23233
  • get_file also checks os.altsep on Windows. by @hertschuh in #23287
  • Reject decompression-bomb members on the .keras asset extraction path by @LinZiyuu in #23101
  • Support data_format="channels_first" in keras.ops.image.reconstruct_patches by @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 pandas and tensorflow interaction 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.Variable initialization. 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 in Models 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_epoch was 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 sparse argument in CategoryEncoding.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 origin in get_file by @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_idx loading, 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 kaiser op. 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 guides folder. 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_test test 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.scan for steps_per_execution > 1 by @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, assertAllEqual enforce 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 ops folder, by @hertschuh in #23642
  • Fix uncaught StopIteration during validation on empty datasets in JAX trainer by @gaga1313 in #23690
  • Allow model.state_sync to be missing. by @hertschuh in #23689
  • handle native backend tensors in data adapters by @samudraneel05 in #23628
  • Fix backend.ops usage 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.norm support lists for axis. 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.cross with 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_crossentropy with 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 AttributeError in TF backend adaptive_max_pool and adaptive_average_pool for 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 axis handling in one_hot across PyTorch, TensorFlow, and symbolic mode by @buildwithsuhana in #23734
  • Cleanup the backend namespace 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_add in TensorFlow's numpy.add. by @hertschuh in #23777
  • Fix GPTQ/AWQ policy names corrupting to _from_None by @JyotinderSingh in #23763
  • Fix convert_to_numpy on TensorFlow with bfloat16. 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_vars on symbolic inputs by @JyotinderSingh in #23820
  • Serialize a DTypePolicyMap without changing its policies by @JyotinderSingh in #23821
  • Keep lora_alpha when Dense and Embedding build by @JyotinderSingh in #23822
  • Retrack the torch parameters of a Sequential after quantization by @JyotinderSingh in #23823
  • Register GPTQConfig in keras.quantizers.deserialize by @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 QuantizationReport by @JyotinderSingh in #23836
  • Reject a quantized policy as the global dtype policy by @JyotinderSingh in #23837
  • Step nextafter by 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.size in sparse_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.* to backend.ops.* in keras/src/layers/attention by @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.ops module. 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, and mobilenet_v3 by @ILCSFNO in #23765
  • Support 2-D vectors in ops.cross on 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_frequency under MirroredStrategy in 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 TernaryDense on torch when called under another device by @JyotinderSingh in #23909
  • Fix undefined name TorchTrainer in 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_crossentropy result 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/amin aliases of max/min by @SamanehSaadat in #23934
  • Use self.addCleanup instead of try/finally in 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 _kernel by @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.assign inside an AutocastScope by @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 Layer by @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 predict in SwapEMAWeights by @JyotinderSingh in #23945
  • Redistribute DTensors with another layout in torch distribute_tensor by @JyotinderSingh in #23947
  • Remove graph breaks from torch SGD, Adadelta under jit_compile=True by @JyotinderSingh in #23949
  • Fix UnboundLocalError that hides store errors in unzipped saves by @JyotinderSingh in #23950
  • Fix CI: Increase the TPU tolerance of the complex cov test by @JyotinderSingh in #23957
  • Fix declaration of Variable for type verification. by @hertschuh in #23967
  • Suppress new zizmor issue_comment findings 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

New Contributors

Full Changelog: v3.15.0...v3.16.0.dev0

Don't miss a new keras release

NewReleases is sending notifications on new releases.