[stable diffusion] 错误:RuntimeError: Found no NVIDIA driver on your system. Please check that ...

avatar
作者
筋斗云
阅读量:0

错误:RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and

因为我电脑没有英伟达显卡所以遇到这个错误,可以改用cpu跑图的方式

#引用下官方文档  https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings Running on CPU Running with only your CPU is possible, but not recommended. It is very slow and there is no fp16 implementation.  To run, you must have all these flags enabled: --use-cpu all --precision full --no-half --skip-torch-cuda-test  Though this is a questionable way to run webui, due to the very slow generation speeds; using the various AI upscalers and captioning tools may be useful to some people. 

window 也就是在webui.bat下修改 launch函数中 的参数加上
–use-cpu all --precision full --no-half --skip-torch-cuda-test 变成下面那句

%PYTHON% launch.py %* --use-cpu all --precision full --no-half --skip-torch-cuda-test

广告一刻

为您即时展示最新活动产品广告消息,让您随时掌握产品活动新动态!