这里还有个问题,如果新开一个终端界面,需要重启这个命令才能生效。 2、No SDP backend available
Launching Web UI with arguments: --skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate
no module 'xformers'. Processing without...
No SDP backend available, likely because you are running in pytorch versions < 2.0. In fact, you are using PyTorch 1.12.1. You might want to consider upgrading.
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Style database not found: /Users/villen/stable-diffusion-webui/styles.csv
Warning: caught exception 'Torch not compiled with CUDA enabled', memory monitor disabled
Downloading: "https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned-emaonly.safetensors" to /Users/villen/stable-diffusion-webui/models/Stable-diffusion/v1-5-pruned-emaonly.safetensors
3、Symbol not found:_VTRegisterSupplementalVideoDecoderIfAvailable
这个提示实在还是跟依赖版本有关,opencv版本太老,可以这样手工更新一下:
cd venv/bin
source activate
./python3.10 -m pip install --upgrade pip
pip3 install opencv-python==4.6.0.66 deactivate
复制代码
4、“LayerNormKernelImpl” not implemented for’Half’
大概也会有这样的提示Failed to create model quickly; will retry using slow method.实在都是显卡的问题,一样寻常我们工作自用的电脑的显存都不太能够的,以是这里需要修改一下运行方式:
编辑webui-user.sh,添加:
export COMMANDLINE_ARGS="--precision full --no-half --skip-torch-cuda-test