Spaces:
Paused
Paused
launch app with launch.py step 2/4
Browse files
launch.py
CHANGED
@@ -76,9 +76,9 @@ def ini_args():
|
|
76 |
# build_launcher()
|
77 |
# args = ini_args()
|
78 |
|
79 |
-
if args.gpu_device_id is not None:
|
80 |
-
os.environ['CUDA_VISIBLE_DEVICES'] = str(args.gpu_device_id)
|
81 |
-
print("Set device to:", args.gpu_device_id)
|
82 |
|
83 |
from modules import config
|
84 |
|
|
|
76 |
# build_launcher()
|
77 |
# args = ini_args()
|
78 |
|
79 |
+
# if args.gpu_device_id is not None:
|
80 |
+
# os.environ['CUDA_VISIBLE_DEVICES'] = str(args.gpu_device_id)
|
81 |
+
# print("Set device to:", args.gpu_device_id)
|
82 |
|
83 |
from modules import config
|
84 |
|