Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.15.0 #1014

Merged
merged 6 commits into from
Sep 4, 2023
Merged

Release 0.15.0 #1014

merged 6 commits into from
Sep 4, 2023

Conversation

BenjaminBossan
Copy link
Collaborator

@BenjaminBossan BenjaminBossan commented Aug 30, 2023

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.

  • Update VERSION
  • Remove code for backwards compatibility with v0.11 (see Loading extra arguments w/ cuda dependency on CPU #880): The plan was to remove this 2023-09. We're almost there, I think it's fine to remove it a bit earlier.
  • Update CHANGES: Because of the above, I also added an entry on how to transition these pickle files.

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 and net.load_params, just pass use_safetensors=True to use safetensors instead of pickle.

Moreover, there is a new argument on NeuralNet: You can now pass use_caching=False or True 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

See #880.

The plan was to remove this 2023-09. We're almost there, I think it's
fine to remove it a bit earlier.
Since skorch nets pickled with <= v0.11 can no longer be unpickled, I
added an entry on how to transition these pickle files.
Copy link
Member

@thomasjpfan thomasjpfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fixes and release makes sense to me. LGTM

@BenjaminBossan BenjaminBossan merged commit 17c7675 into master Sep 4, 2023
13 checks passed
@BenjaminBossan
Copy link
Collaborator Author

Thanks Thomas. I updated the date before merging.

@BenjaminBossan BenjaminBossan deleted the release-0.15.0 branch September 4, 2023 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants