diff options
Diffstat (limited to 'code/sunlab/environment/base/cuda.py')
-rw-r--r-- | code/sunlab/environment/base/cuda.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/code/sunlab/environment/base/cuda.py b/code/sunlab/environment/base/cuda.py new file mode 100644 index 0000000..a5c813e --- /dev/null +++ b/code/sunlab/environment/base/cuda.py @@ -0,0 +1,4 @@ +import os + +os.environ["CUDA_VISIBLE_DEVICES"] = "1" +from . import * |