为啥老是提示找不到torch==1.12.1+cu113 #4101
Unanswered
kekekekekeshi
asked this question in
Q&A
Replies: 3 comments 2 replies
-
建议看下自己CUDA的版本,直接装116或者117吧。CUDA版本的查看请百度。 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我最近在部署的时候也遇到这个问题,装的是最新版python,后来改3.10.7就没这个问题 |
Beta Was this translation helpful? Give feedback.
1 reply
-
好的。谢谢,我试试。有人说要装cuda。可是我arm的架构,不知道是不是架构问题,反正张不上。另外我是在虚拟机中部署,我这m1我就不想弄脏了。
_小白_
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年11月4日(星期五) 凌晨0:11
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [AUTOMATIC1111/stable-diffusion-webui] 为啥老是提示找不到torch==1.12.1+cu113 (Discussion #4101)
我最近在部署的时候也遇到这个问题,装的是最新版python,后来改3.10.7就没这个问题
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Traceback (most recent call last):
File "/home/ai/stable-diffusion-webui/launch.py", line 227, in
prepare_enviroment()
File "/home/ai/stable-diffusion-webui/launch.py", line 150, in prepare_enviroment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch")
File "/home/ai/stable-diffusion-webui/launch.py", line 33, in run
raise RuntimeError(message)
RuntimeError: Couldn't install torch.
Command: "/home/ai/stable-diffusion-webui/venv/bin/python3" -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: 1.8.0, 1.8.1, 1.9.0, 1.10.0, 1.10.1, 1.10.2, 1.11.0, 1.12.0, 1.12.1, 1.13.0)
ERROR: No matching distribution found for torch==1.12.1+cu113
WARNING: You are using pip version 21.2.3; however, version 22.3 is available.
You should consider upgrading via the '/home/ai/stable-diffusion-webui/venv/bin/python3 -m pip install --upgrade pip' command.
更新了pip也没用呀。还是找不到cu113呐
Beta Was this translation helpful? Give feedback.
All reactions