Ошибка установки torch for python

Traceback (most recent call last):
  File "C:\Windows\System32\stable-diffusion-webui-directml\launch.py", line 48, in <module>
    main()
  File "C:\Windows\System32\stable-diffusion-webui-directml\launch.py", line 39, in main
    prepare_environment()
  File "C:\Windows\System32\stable-diffusion-webui-directml\modules\launch_utils.py", line 563, in prepare_environment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
  File "C:\Windows\System32\stable-diffusion-webui-directml\modules\launch_utils.py", line 121, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "C:\Windows\System32\stable-diffusion-webui-directml\venv\Scripts\python.exe" -m pip install torch==2.3.0 torchvision --extra-index-url https://download.pytorch.org/whl/cu121
Error code: 2

Ответы (0 шт):