我正在尝试按照 How-To-Geek 文章“如何在 Windows 上使用 GUI 在本地运行稳定扩散”在我的 PC (Windows 11 Pro x64) 上本地安装和配置稳定扩散AI
很自然,我遇到了问题,主要是(如下面的代码所示,Torch 安装和 Pip 版本:)
这是我运行稳定扩散批处理文件时得到的结果:
venv "D:\stable-diffusion-webui-master\venv\Scripts\Python.exe"
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)]
Commit hash: <none>
Installing torch and torchvision
Traceback (most recent call last):
File "launch.py", line 108, in <module>
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "launch.py", line 55, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "D:\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 …Run Code Online (Sandbox Code Playgroud)