Skip to content

v0.4.5

Choose a tag to compare

@ChrisNick92 ChrisNick92 released this 04 May 09:35
· 8 commits to main since this release
77af666

Checkpoint Loading Improvements

  • Safe checkpoint loading: both Backbone.from_checkpoint and AudioClassifier.from_checkpoint now use map_location="cpu" and weights_only=True. Weights always deserialize to CPU regardless of the device they were saved on, letting the caller decide where to move the model. weights_only=True prevents arbitrary code execution during unpickling.
  • Removed unused padding_mask argument from BackboneConstructor.forward and forward_with_pooling.
  • Bumped version v0.4.4 → v0.4.5.