Releases: nlpodyssey/gopickle
Releases · nlpodyssey/gopickle
v0.3.0
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
- @tw1nk made their first contribution in #5
- @pbelitz made their first contribution in #6
- @sbinet made their first contribution in #9
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Added
- Support for unpickling torch
BFloat16Storage
(PyTorchbfloat16
values are
converted to Gofloat32
).
Changed
- Performance improvements (mostly involving better buffered reading, and new
default capacities for maps and slices) types.Dict
is now implemented as a slice ofDictEntry
, rather than a slice
of pointers to it, to reduce extra allocations.- Test data has been regenerated with Python
3.10.9
and PyTorch1.13.1
.
v0.1.0
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 withSet
.- 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
Fixed
- Modify GitHub Action steps
Build
andTest
including all sub-packages.
v0.0.1-alpha.0
Added
- Initial implementation of
types
package - Initial implementation of
pickle
package - Initial implementation of
pytorch
package