-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move AccelerateMixin to hf.py, update docs
After introducing the skorch/hf.py module, it made sense to move the AccelerateMixin there from helper.py. Of course, this required some code adjustments, which have been made as well, but there are no functional changes. On top of that, I extended some parts of the documentation: - Created dedicated HF section in docs to put all the HF stuff - FAQ about gradient accumulation now also points to AccelerateMixin - Mention gradient accumulation in AccelerateMixin docstring
- Loading branch information
1 parent
1dbf32b
commit b884b11
Showing
8 changed files
with
500 additions
and
587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ User's Guide | |
user/parallelism | ||
user/customization | ||
user/performance | ||
user/huggingface | ||
user/FAQ | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.