Closed zoopigzoo closed 1 year ago
Problem: When using --device to use "cuda:5" in a multiple GPU machine, the img2img script will stuck in the sleep(1) loop.
Fix: change torch.cuda.memory_allocated() to torch.cuda.memory_allocated(device=opt.device)
Hi, thanks for reporting the bug and the PR. It is very helpful!
Hi. How to use "cuda:1" or "cuda:2" to run img2img_gradio.py?
Problem: When using --device to use "cuda:5" in a multiple GPU machine, the img2img script will stuck in the sleep(1) loop.
Fix: change torch.cuda.memory_allocated() to torch.cuda.memory_allocated(device=opt.device)