Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is going to be a rather small release. However, since I'll do a presentation about skorch in 2 weeks at PyData Amstersdam, it would be nice to have the bugfixes related to accelerate, as this will be part of the talk.
Proposed release text:
This is a smaller release, but it still contains changes which will be interesting to some of you.
We added the possibility to store weights using safetensors. This can have several advantages, listed here. When calling
net.save_params
andnet.load_params
, just passuse_safetensors=True
to usesafetensors
instead of pickle.Moreover, there is a new argument on
NeuralNet
: You can now passuse_caching=False
orTrue
to disable or enable caching for all callbacks at once. This is useful if you have a lot of scoring callbacks and don't want to toggle caching on each individually.Finally, we fixed a few issues related to using skorch with accelerate.
Thanks Zach Mueller (@ muellerzr) for his first contribution to skorch.
Find the full list of changes here: v0.14.0...v0.15.0