You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hihi, I had reach the last step of the installation, does anyone know about this issue?
The error message seems like can not install torch.After running command line"/workspaces/stable-diffusion-webui/stable-diffusion-webui/venv/bin/python3" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118, it comes out as terminated and stuck!
I had tried the suggestions from #9835 and it still do not work well.Also, there are two sets of the original files appear in the codespaces, to avoid the lack of space issues, is it possible to uninstall one copy of the webui.sh file?
How can I solve these issues?
Many thanks in advance!!
The script is shown as below:
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.10.8 (main, Jun 15 2023, 01:39:58) [GCC 9.4.0]
Version: v1.4.1
Commit hash: f865d3e
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.0.1
Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl (2267.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 2.3/2.3 GB 74.8 MB/s eta 0:00:01Terminated
Traceback (most recent call last):
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/launch.py", line 38, in
main()
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/launch.py", line 29, in main
prepare_environment()
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/modules/launch_utils.py", line 265, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/modules/launch_utils.py", line 107, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "/workspaces/stable-diffusion-webui/stable-diffusion-webui/venv/bin/python3" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 143
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hihi, I had reach the last step of the installation, does anyone know about this issue?
The error message seems like can not install torch.After running command line"/workspaces/stable-diffusion-webui/stable-diffusion-webui/venv/bin/python3" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118, it comes out as terminated and stuck!
I had tried the suggestions from #9835 and it still do not work well.Also, there are two sets of the original files appear in the codespaces, to avoid the lack of space issues, is it possible to uninstall one copy of the webui.sh file?
How can I solve these issues?
Many thanks in advance!!
The script is shown as below:
Cannot locate TCMalloc (improves CPU memory usage)
Python 3.10.8 (main, Jun 15 2023, 01:39:58) [GCC 9.4.0]
Version: v1.4.1
Commit hash: f865d3e
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.0.1
Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl (2267.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 2.3/2.3 GB 74.8 MB/s eta 0:00:01Terminated
Traceback (most recent call last):
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/launch.py", line 38, in
main()
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/launch.py", line 29, in main
prepare_environment()
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/modules/launch_utils.py", line 265, in prepare_environment
run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
File "/workspaces/stable-diffusion-webui/stable-diffusion-webui/modules/launch_utils.py", line 107, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "/workspaces/stable-diffusion-webui/stable-diffusion-webui/venv/bin/python3" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Error code: 143
"/workspaces/stable-diffusion-webui/stable-diffusion-webui/venv/bin/python3" -m pip install torch==2.0.1 torchvision==0.15.2 --extra-index-url https://download.pytorch.org/whl/cu118
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu118
Collecting torch==2.0.1
Downloading https://download.pytorch.org/whl/cu118/torch-2.0.1%2Bcu118-cp310-cp310-linux_x86_64.whl (2267.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 2.3/2.3 GB 165.3 MB/s eta 0:00:01Terminated
Beta Was this translation helpful? Give feedback.
All reactions