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