forked from microsoft/nlp-recipes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
6 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
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 |
---|---|---|
@@ -1,4 +1,7 @@ | ||
## [Common](.) | ||
|
||
This submodule contains high-level common utilities used across multiple algorithms and frameworks as well as helper functions for managing aspects of different frameworks like pytorch. | ||
For example, [pytorch_utils.py](./pytorch_utils.py) contains utilities to interact with PyTorch like getting a device architecture (cpu or gpu), moves a model to a specific device, and handles parallelism when multiple gpus are present. | ||
This submodule contains high-level common utilities used across multiple algorithms and | ||
frameworks as well as helper functions for managing aspects of different frameworks like pytorch. | ||
For example, [pytorch_utils.py](./pytorch_utils.py) contains utilities to interact with PyTorch | ||
like getting a device architecture (cpu or gpu), moving a model to a specific device, and handling | ||
parallelism when multiple gpus are present. |
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