Skip to content

Releases: nlpodyssey/gopickle

v0.3.0

05 Dec 08:59
Compare
Choose a tag to compare

What's Changed

  • Add Keys function to types.Dict by @tw1nk in #5
  • update list and dict to work with loadReduce by @pbelitz in #6
  • all: add support for unpickling array.array values by @sbinet in #9
  • all: bump to Go-1.17 by @sbinet in #12
  • types: add Stringer implementation for List and Tuple by @sbinet in #11
  • types: add Stringer implementation for Dict by @sbinet in #13

New Contributors

Full Changelog: v0.2.0...v0.3.0

v0.2.0

03 Feb 19:54
Compare
Choose a tag to compare

Added

  • Support for unpickling torch BFloat16Storage (PyTorch bfloat16 values are
    converted to Go float32).

Changed

  • Performance improvements (mostly involving better buffered reading, and new
    default capacities for maps and slices)
  • types.Dict is now implemented as a slice of DictEntry, rather than a slice
    of pointers to it, to reduce extra allocations.
  • Test data has been regenerated with Python 3.10.9 and PyTorch 1.13.1.

v0.1.0

06 Jan 19:39
Compare
Choose a tag to compare

Added

  • More and better documentation
  • OrderedDict.MustGet()
  • Dict.MustGet()
  • pytorch.LoadWithUnpickler() which allows loading PyTorch modules using a
    custom unpickler.
  • Handle legacy method torch.nn.backends.thnn._get_thnn_function_backend when
    loading pytorch modules.

Changed

  • FrozenSet implementation was modified, avoiding confusion with Set.
  • Replace build CI job with tests and coverage
  • Dict has been reimplemented using a slice, instead of a map, because in Go
    not all types can be map's keys (e.g. slices).
  • Use Go version 1.15

v0.0.1-alpha.1

23 May 20:25
Compare
Choose a tag to compare
v0.0.1-alpha.1 Pre-release
Pre-release

Fixed

  • Modify GitHub Action steps Build and Test including all sub-packages.

v0.0.1-alpha.0

23 May 20:14
Compare
Choose a tag to compare
v0.0.1-alpha.0 Pre-release
Pre-release

Added

  • Initial implementation of types package
  • Initial implementation of pickle package
  • Initial implementation of pytorch package