Mikubill/sd-webui-controlnet

CUDA Error using CPU Only Mode

Offen

#2.247 geöffnet am 10.11.2023

 (10 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (2.011 Forks)batch import
Nvdia Driver Issuehelp wanted

Repository-Metriken

Stars
 (17.846 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Hi, I'm launching latest SD and latest ControlNet with this arguments to test on CPU only.

--use-cpu all --precision full --no-half --skip-torch-cuda-test

Reactor and SD are all good with CPU but when I activate Control Net it throws following error :

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

Am I doing something wrong?

Contributor Guide