-
Notifications
You must be signed in to change notification settings - Fork 26k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select) #2373
Comments
did u find the solution?? |
did anybody solve it? |
hey dude did you manage to fix it? |
Having same issue with 1660. Worked on previous install, then went and updated and now cannot used txt2img. |
Having the same problem. Was working fine with using the standard model. Once I switch to any another loaded model, I get the error. Running NVIDIA GeForce RTX 3090, 24GB. |
Mine started when I added the extension sd-webui-refiner, and went away when I removed it. |
Problem solved!!!! Thank you so much!! Sad to say goodbye to SDXL refiner integration when generating but happy to get rid of this damn issue! |
Yeah, works after I disabled the SDXL refiner. Good findings. |
I am trying to make stylezed animateddiff animation. |
THANKS Fuck this refiner. It didn't work at all anyway. |
When I try to use txt2image the first image is generated normally but when I try to generate the next one it shows "RuntimeError: CUDA out of memory. Tried to allocate 58.00 MiB (GPU 0; 4.00 GiB total capacity; 3.36 GiB already allocated; 0 bytes free; 3.44 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation. See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF" and after that, if I try to repeat the generation, it shows "RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper__index_select)"
My GPU is 1650 Super 4GB
Yes, I know that there is not enough video memory, but I use the parameters in webui-user.bat --precision full --no-half --medvram Because without them, I only generate completely black pictures.
Img2img works fine the only problem is with txt2img
How to fix it?
The text was updated successfully, but these errors were encountered: