From 832b2901990602f056ee1e97950f6b9f5f518506 Mon Sep 17 00:00:00 2001 From: Bratzmeister Date: Mon, 11 Nov 2024 21:00:33 +0100 Subject: [PATCH] deleted accidental if --- main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main.py b/main.py index 392242902..05eb31c7a 100644 --- a/main.py +++ b/main.py @@ -70,7 +70,6 @@ if os.name == "nt": if __name__ == "__main__": if args.cuda_device is not None: - if os.environ['CUDA_VISIBLE_DEVICES'] = str(args.cuda_device) os.environ['HIP_VISIBLE_DEVICES'] = str(args.cuda_device) logging.info("Set cuda device to: {}".format(args.cuda_device))