-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docker: support new NVidia runtime (#653)
* Update GPU run script * Dockerfile bugfix: have USE_GPU be in scope, create same code dir as mounted * Make setup.py respect USE_GPU environment variable This is necessary since during Docker build NVidia runtime is always disabled, and so (a) TensorFlow import will fail if we preinstall tensorflow-gpu (no CUDA libraries) and (b) nvidia-smi will not be present so autodetect will fail. * Refactor setup.py to appease Codacy * Update changelog * Remove debugging code
- Loading branch information
1 parent
483960a
commit cc20b83
Showing
4 changed files
with
43 additions
and
36 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
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