stablediffusion icon indicating copy to clipboard operation
stablediffusion copied to clipboard

DDP mode problem

Open Yaoxingtian opened this issue 2 years ago • 0 comments

Hi ,thanks for your great work!

when i use DDP mode to run the code, it shows the problem: RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cuda:1!

could you help me to solve it? thanks !

Yaoxingtian avatar Dec 16 '22 08:12 Yaoxingtian