Mikubill/sd-webui-controlnet

CUDA Error using CPU Only Mode

開放

#2,247 建立於 2023年11月10日

 (10 則留言) (0 個反應) (0 位負責人)Python (2,011 個分叉)batch import
Nvdia Driver Issuehelp wanted

倉庫指標

星標
 (17,846 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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?

貢獻者指南