-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install torch only with CPU support (#398)
* Install torch only with CPU support, and add a wrapper to install all python deps at once * Use source instead of . * Fix typo
- Loading branch information
1 parent
5c69ae8
commit 273e80f
Showing
3 changed files
with
14 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!bin/bash | ||
|
||
set -e | ||
|
||
# Dependencies | ||
pip install -r requirements.txt | ||
|
||
# Installation of torch without GPU support (lighter) | ||
pip install torch==1.6.0+cpu -f https://download.pytorch.org/whl/torch_stable.html |
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