Keras v3.14.1

v3.14.1
Added 2
  • Added path validation when extracting assets from Orbax checkpoints
  • Detect loops in the graph when deserializing a functional model
Changed 2
  • Apply H5 validation to legacy .h5 file extraction
  • Improve error reporting for missing nodes in the graph during functional model deserialization
Fixed 7
  • Fixed link resolution bug when validating links extracted from TAR archives
  • Fixed path confusion bug when validating files extracted from ZIP and TAR archives including .keras files
  • Disallow external links and virtual datasets in H5 files
  • Fix data sharding logic in ModelParallel
  • Fixed regression where y_pred as a list and y_true as a dict with keys matching Functional model output names were not ordered identically and could be paired incorrectly
  • Fix regression preventing compilation with the L1L2 regularizer
  • Fix test compatibility with JAX 0.10.0
Saving & Reloading
  • Harden path and link resolution when extracting files from archives (#22839)
    • Fixed link resolution bug when validating links extracted from TAR archives.
    • Fixed path confusion bug when validating files extracted from ZIP and TAR archives (including .keras files).
    • Added path validation when extracting assets from Orbax checkpoints.
  • Harden H5 validation code and apply it to legacy .h5 files (#22801)
    • Disallow external links and virtual datasets in H5 files.
    • Also apply all the validation to the legacy .h5 file extraction.
  • Improve validation and error reporting in functional model deserialization (#22800)
    • Detect loops in the graph when deserializing a functional model.
    • Improve error reporting for missing nodes in the graph.
Other Fixes
  • Fix data sharding logic in ModelParallel (#22179)
  • Fix regression with metrics passed to compile (#22663)
    • Fixed a regression introduced in #22308 where y_pred (as a list) and y_true (as a dict with keys matching Functional model output names) were not ordered identically and could be paired incorrectly.
  • Fix regression preventing compilation with the L1L2 regularizer (#22629)
  • Fix test compatibility with JAX 0.10.0 (#22694)

Full Changelog: https://github.com/keras-team/keras/compare/v3.14.0...v3.14.1

View original

Upgraded? How did it go?

Discussion