From ac01c5c519164bb37f8f125c2e0f74e3dae2e874 Mon Sep 17 00:00:00 2001 From: Ell112a Date: Tue, 30 Apr 2024 17:05:56 +0900 Subject: [PATCH] =?UTF-8?q?=E3=81=93=E3=81=AEcommit=E3=81=AFexprorer=5Fmsm?= =?UTF-8?q?d=E3=81=A7mps=E3=82=92=E5=AE=9F=E8=A3=85=E3=81=99=E3=82=8B?= =?UTF-8?q?=E3=81=9F=E3=82=81=E3=81=AE=E3=82=82=E3=81=AE=E3=81=A7=E3=81=99?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exprorer_msmd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exprorer_msmd b/exprorer_msmd index 573f3a1..0eb9776 100755 --- a/exprorer_msmd +++ b/exprorer_msmd @@ -175,7 +175,8 @@ if __name__ == "__main__": # Raise EnvironmentError if GPU is not available gpuids = get_gpuids() # gpuids = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] - gpuids = ast.literal_eval(args.mps) + if args.mps is not None: + gpuids = ast.literal_eval(args.mps) ngpus = len(gpuids) if not setting["general"]["multiprocessing"]: