stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[Bug]: Fails to start - Transformer issue
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
RuntimeError: Couldn't checkout commit 60e5042ca0da89c14d1dd59d73883280f8fce991 for Taming Transformers.
Command: "git" -C repositories/taming-transformers checkout 60e5042ca0da89c14d1dd59d73883280f8fce991
Error code: 128
stdout:
Steps to reproduce the problem
.
What should have happened?
.
Commit where the problem happens
.
What platforms do you use to access UI ?
No response
What browsers do you use to access the UI ?
No response
Command Line Arguments
.
Additional information, context and logs
.
Full code:
RuntimeError Traceback (most recent call last) Input In [11], in <cell line: 8>() 5 # Import launch.py which will automatically run the install script but not launch the WebUI. 6 # They require a few specific external git repo commits so we have to do it their way. 7 import launch ----> 8 launch.prepare_enviroment() 10 # The installer isn't installing deepdanbooru right now so we'll do it manually 11 if activate_deepdanbooru:
File /notebooks/stable-diffusion-webui/launch.py:201, in prepare_enviroment() 198 os.makedirs(dir_repos, exist_ok=True) 200 git_clone(stable_diffusion_repo, repo_dir('stable-diffusion'), "Stable Diffusion", stable_diffusion_commit_hash) --> 201 git_clone(taming_transformers_repo, repo_dir('taming-transformers'), "Taming Transformers", taming_transformers_commit_hash) 202 git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", k_diffusion_commit_hash) 203 git_clone(codeformer_repo, repo_dir('CodeFormer'), "CodeFormer", codeformer_commit_hash)
File /notebooks/stable-diffusion-webui/launch.py:88, in git_clone(url, dir, name, commithash) 85 run(f'"{git}" clone "{url}" "{dir}"', f"Cloning {name} into {dir}...", f"Couldn't clone {name}") 87 if commithash is not None: ---> 88 run(f'"{git}" -C {dir} checkout {commithash}', None, "Couldn't checkout {name}'s hash: {commithash}")
File /notebooks/stable-diffusion-webui/launch.py:34, in run(command, desc, errdesc, custom_env)
26 if result.returncode != 0:
28 message = f"""{errdesc or 'Error running command'}.
29 Command: {command}
30 Error code: {result.returncode}
31 stdout: {result.stdout.decode(encoding="utf8", errors="ignore") if len(result.stdout)>0 else '
RuntimeError: Couldn't checkout {name}'s hash: {commithash}.
Command: "git" -C repositories/taming-transformers checkout 60e5042ca0da89c14d1dd59d73883280f8fce991
Error code: 128
stdout:
I see a very similar problem with K-diffusion at #4346 . It can't fetch the new hash.