Replies: 1 comment 1 reply
-
I believe it is indicating that there have been changes made to: k_diffusion/config.py, k_diffusion/layers.py, k_diffusion/sampling.py These links explain it and how to fix. I would suggest making a backup of those files and any others you may have amended as they'll get replaced when updating. |
Beta Was this translation helpful? Give feedback.
-
Python 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
Version: v1.5.1
Commit hash: 68f336b
Fetching updates for Stable Diffusion XL...
Checking out commit for Stable Diffusion XL with hash: 5c10deee76adad0032b412294130090932317a87...
Previous HEAD position was 45c443b Fix license-files setting for project (#71)
HEAD is now at 5c10dee Merge branch 'main' of https://github.com/Stability-AI/generative-models into main
Fetching updates for K-diffusion...
Checking out commit for K-diffusion with hash: c9fe758757e022f05ca5a53fa8fac28889e4f1cf...
error: Your local changes to the following files would be overwritten by checkout:
k_diffusion/config.py
k_diffusion/layers.py
k_diffusion/sampling.py
Please commit your changes or stash them before you switch branches.
Aborting
Traceback (most recent call last):
File "F:\sd-webui-aki-v4\launch.py", line 39, in
main()
File "F:\sd-webui-aki-v4\launch.py", line 30, in main
prepare_environment()
File "F:\sd-webui-aki-v4\modules\launch_utils.py", line 347, in prepare_environment
git_clone(k_diffusion_repo, repo_dir('k-diffusion'), "K-diffusion", k_diffusion_commit_hash)
File "F:\sd-webui-aki-v4\modules\launch_utils.py", line 156, in git_clone
run(f'"{git}" -C "{dir}" checkout {commithash}', f"Checking out commit for {name} with hash: {commithash}...", f"Couldn't checkout commit {commithash} for {name}", live=True)
File "F:\sd-webui-aki-v4\modules\launch_utils.py", line 113, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't checkout commit c9fe758757e022f05ca5a53fa8fac28889e4f1cf for K-diffusion.
Command: "git" -C "F:\sd-webui-aki-v4\repositories\k-diffusion" checkout c9fe758757e022f05ca5a53fa8fac28889e4f1cf
Error code: 1
Beta Was this translation helpful? Give feedback.
All reactions