Open corvo4791 opened 7 months ago
Nobody?
I've 12GB VRAM and when I get this error just 10GB of VRAM is used. So, because A1111 always uses VRAM by default, the GPU manages all the models and the CPU manages nothing. I really can't understand why I get this error if everything is in the VRAM?
Checklist
What happened?
In txt2img with Refiner, AnimateDiff and ControlNet it gives this error:
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 weight in method wrapper_CUDA___slow_conv2d_forward)
In other discussions somebody suggested to disable "Refiner" and if I do it the error disappears but I need the "Refiner" tool to be active.
I tried to add "--opt-sdp-attention" to set "COMMANDLINE_ARGS=" in "webui-user.bat" but nothing changed
I also added "set CUDA_VISIBLE_DEVICES=0" in "webui-user.bat" but still nothing changed
I've 12GB VRAM and when I get this error just 10GB of VRAM is used. So, because A1111 always uses VRAM by default, the GPU manages all the models and the CPU manages nothing. I really can't understand why I get this error if everything is in the VRAM?
Steps to reproduce the problem
What should have happened?
It should give me an animation without any errors
What browsers do you use to access the UI ?
Google Chrome
Sysinfo
sysinfo-2024-04-23-21-07.json
Console logs
Additional information
No response