AUTOMATIC1111 / stable-diffusion-webui-tensorrt

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 mat1 in method wrapper_CUDA_addmm

AdamBlazer opened this issue · comments

I have this error, when i click on button Convert Unet - 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 mat1 in method wrapper_CUDA_addmm

Can you help me to solve this please ?

Hello, How to solve this?

I don't quite remember but I think I solved it by removing the space between --xformers and the equal sign
set COMMANDLINE_ARGS=--xformers

See if that works for you.

I don't quite remember but I think I solved it by removing the space between --xformers and the equal sign set COMMANDLINE_ARGS=--xformers

See if that works for you.

Didn't do it for me sadly.