一行個webui-user.bat
venv "Photos\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8
Installing torch and torchvision
Looking in indexes:
https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Collecting torch==1.13.1+cu117
ERROR: Exception:
Traceback (most recent call last):
File "E:\Utilities\StableDiffusion\stable-diffusion-webui\Photos\lib\site-packages\pip\_internal\cli\base_command.py", line 160, in exc_logging_wrapper
中略一堆error
File "E:\Utilities\StableDiffusion\stable-diffusion-webui\Photos\lib\site-packages\pip\_vendor\msgpack\fallback.py", line 403, in _read
ret = self._buffer[i : i + n]
MemoryError
Traceback (most recent call last):
File "E:\Utilities\StableDiffusion\stable-diffusion-webui\launch.py", line 360, in <module>
prepare_environment()
File "E:\Utilities\StableDiffusion\stable-diffusion-webui\launch.py", line 269, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "E:\Utilities\StableDiffusion\stable-diffusion-webui\launch.py", line 89, in run
raise RuntimeError(f"""{errdesc or 'Error running command'}.
RuntimeError: Couldn't install torch.
Command: "E:\Utilities\StableDiffusion\stable-diffusion-webui\Photos\Scripts\python.exe" -m pip install torch==1.13.1+cu117 torchvision==0.14.1+cu117 --extra-index-url
https://download.pytorch.org/whl/cu117
Error code: 2
請按任意鍵繼續 . . .