Go library for loading Python's data serialized with pickle and PyTorch module files.
Full Changelog: https://github.com/nlpodyssey/gopickle/compare/v0.2.0...v0.3.0
BFloat16Storage
(PyTorch bfloat16
values are
converted to Go float32
).types.Dict
is now implemented as a slice of DictEntry
, rather than a slice
of pointers to it, to reduce extra allocations.3.10.9
and PyTorch 1.13.1
.OrderedDict.MustGet()
Dict.MustGet()
pytorch.LoadWithUnpickler()
which allows loading PyTorch modules using a
custom unpickler.torch.nn.backends.thnn._get_thnn_function_backend
when
loading pytorch modules.FrozenSet
implementation was modified, avoiding confusion with Set
.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).1.15