Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webui install could not find Torch? #14

Open
ShadowWisp opened this issue Oct 27, 2022 · 2 comments
Open

Webui install could not find Torch? #14

ShadowWisp opened this issue Oct 27, 2022 · 2 comments

Comments

@ShadowWisp
Copy link

venv "D:\AIG\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
Commit hash: 737eb28faca8be2bb996ee0930ec77d1f7ebd939
Installing torch and torchvision
Traceback (most recent call last):
File "D:\AIG\stable-diffusion-webui\launch.py", line 205, in
prepare_enviroment()
File "D:\AIG\stable-diffusion-webui\launch.py", line 148, in prepare_enviroment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "D:\AIG\stable-diffusion-webui\launch.py", line 33, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "D:\AIG\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
Error code: 1
stdout: Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu113

stderr: ERROR: Could not find a version that satisfies the requirement torch==1.12.1+cu113 (from versions: none)
ERROR: No matching distribution found for torch==1.12.1+cu113

@ShadowWisp
Copy link
Author

https://pytorch.org/get-started/locally/ says that installation goes through conda install pytorch torchvision torchaudio cudatoolkit=11.3 -c pytorch
???

@ShadowWisp
Copy link
Author

ShadowWisp commented Oct 28, 2022

https://pytorch.org/get-started/previous-versions/ says that +cu113 version is avalaible through # CUDA 11.3 pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu113?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant