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

Update docs after accelerate fix was released #995

Merged
merged 1 commit into from
Jul 19, 2023

Conversation

BenjaminBossan
Copy link
Collaborator

There was an issue with using grid search, and other sklearn methods, that involve clone-ing, in conjunction with accelerate in a multi-gpu setting. This was due to sklearn creating copies of the Accelerator object. The skorch docs proposed a fix, but this fix is now released in accelerate itself. Therefore, the proposal can be safely removed.

Another minor change was to adjust the criterion in an example script. This is not essential for the script to work, but prevents nan losses.

There was an issue with using grid search and other sklearn methods that
involve cloning in conjunction with accelerate in a multi-gpu setting.
This was due to sklearn creating copies of the Accelerator object. The
skorch docs proposed a fix, but this fix is now released in accelerate
itself. Therefore, the proposal can be safely removed.

Another minor change was to adjust the criterion in an example script.
This is not essential for the script to work, but prevents nan losses.
@ottonemo ottonemo merged commit 549f3e6 into master Jul 19, 2023
13 checks passed
@BenjaminBossan BenjaminBossan deleted the update-docs-after-accelerate-fix branch July 19, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants