解决 RuntimeError: Torch is not able to use GPU; add –skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
2023-8-16 16:42:43 Author: www.uedbox.com(查看原文) 阅读量:105 收藏

安装stable-diffusion-webui时报错:
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check,如何解决?

在 https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/1742 处得到解决,记录:

in webui-user.sh line 8:

# Commandline arguments for webui.py, for example: export COMMANDLINE_ARGS="--medvram --opt-split-attention"

export COMMANDLINE_ARGS="--skip-torch-cuda-test"

然后继续:./webui.sh


文章来源: https://www.uedbox.com/post/69130/
如有侵权请联系:admin#unsafe.sh