Description
Checklist
- The issue exists after disabling all extensions
- The issue exists on a clean installation of webui
- The issue is caused by an extension, but I believe it is caused by a bug in the webui
- The issue exists in the current version of the webui
- The issue has not been reported before recently
- The issue has been reported before but has not been fixed yet
What happened?
When launching Stable Diffusion WebUI, the setup fails when trying to clone the assets repository due to a missing git command. (I am assuming)
Steps to reproduce the problem
Trying to install webui.sh
What should have happened?
webui.sh should have been able to clone assets and proceed with installation as intended
What browsers do you use to access the UI ?
Brave
Sysinfo
Unable to log, program won't start.
Console logs
glibc version is 2.41
Check TCMalloc: libtcmalloc_minimal.so.4
libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4
Python 3.10.6 (main, Apr 1 2025, 21:19:57) [GCC 14.2.1 20250207]
Version: v1.10.1-amd-31-ga31ef086
Commit hash: a31ef08686915e63f56bb0a4543f0a429847aafb
ROCm: agents=['gfx1100', 'gfx1036']
ROCm: version=6.3, using agent gfx1100
Cloning assets into /home/fjack/stable-diffusion-webui-amdgpu/repositories/stable-diffusion-webui-assets...
/bin/sh: line 1: git: No such file or directory
Traceback (most recent call last):
File "/home/fjack/stable-diffusion-webui-amdgpu/launch.py", line 48, in <module>
main()
File "/home/fjack/stable-diffusion-webui-amdgpu/launch.py", line 39, in main
prepare_environment()
File "/home/fjack/stable-diffusion-webui-amdgpu/modules/launch_utils.py", line 646, in prepare_environment
git_clone(assets_repo, repo_dir('stable-diffusion-webui-assets'), "assets", assets_commit_hash)
File "/home/fjack/stable-diffusion-webui-amdgpu/modules/launch_utils.py", line 281, in git_clone
run(f'"{git}" clone --config core.filemode=false "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}", live=True)
File "/home/fjack/stable-diffusion-webui-amdgpu/modules/launch_utils.py", line 120, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't clone assets.
Command: "git" clone --config core.filemode=false "https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git" "/home/fjack/stable-diffusion-webui-amdgpu/repositories/stable-diffusion-webui-assets"
Error code: 127
Additional information
I edited the nightly PyTorch download links in webui.sh for rocm to match the version 6.3, as it kept giving me this error:
ERROR: HTTP error 403 while getting https://download.pytorch.org/whl/nightly/rocm5.7/torch-2.2.0.dev20231010%2Brocm5.7-cp310-cp310-linux_x86_64.whl (from https://download.pytorch.org/whl/nightly/rocm5.7/torch/)
ERROR: Could not install requirement torch from https://download.pytorch.org/whl/nightly/rocm5.7/torch-2.2.0.dev20231010%2Brocm5.7-cp310-cp310-linux_x86_64.whl because of HTTP error 403 Client Error: Forbidden for url: https://download.pytorch.org/whl/nightly/rocm5.7/torch-2.2.0.dev20231010%2Brocm5.7-cp310-cp310-linux_x86_64.whl for URL https://download.pytorch.org/whl/nightly/rocm5.7/torch-2.2.0.dev20231010%2Brocm5.7-cp310-cp310-linux_x86_64.whl (from https://download.pytorch.org/whl/nightly/rocm5.7/torch/)