basujindal / stable-diffusion

Optimized Stable Diffusion modified to run on lower GPU VRAM
Other
3.14k stars 469 forks source link

Sampler issue lms : RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! #180

Open rupeshs opened 1 year ago

rupeshs commented 1 year ago

Got this issue with some samplers lms,dpm2, etc samplerissue-lm

tazzkiller commented 1 year ago

use this file https://gist.github.com/tazzkiller/989d2aa80c28e206943fbd33328812a8

Bruce-Hopkins commented 1 year ago

I have the same issue. I am using a GTX 1660 super

PedroVonn commented 1 year ago

use this file https://gist.github.com/tazzkiller/989d2aa80c28e206943fbd33328812a8

This works for me for dpm2!!! Thanks a lot