Skip to content

Commit

Permalink
Update A1111 example to 1.7.0 (#532)
Browse files Browse the repository at this point in the history
This Git tag contains a fix for a dependency versioning issue
introduced upstream by the stable-diffusion-webui authors on httpx
0.24.1. Bumping the tag fixes the issue.

Resolves #531.
  • Loading branch information
ekzhang authored and gongy committed Jan 5, 2024
1 parent ead62b5 commit 74c0506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 06_gpu_and_ml/stable_diffusion/a1111_webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def wait_for_port(port: int):
)
.env({"LD_PRELOAD": "/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4"})
.run_commands(
"git clone --depth 1 --branch v1.6.0 https://github.com/AUTOMATIC1111/stable-diffusion-webui /webui",
"git clone --depth 1 --branch v1.7.0 https://github.com/AUTOMATIC1111/stable-diffusion-webui /webui",
"python -m venv /webui/venv",
"cd /webui && . venv/bin/activate && "
+ "python -c 'from modules import launch_utils; launch_utils.prepare_environment()' --xformers",
Expand Down

0 comments on commit 74c0506

Please sign in to comment.