Skip to content

Commit

Permalink
refslave vae fix
Browse files Browse the repository at this point in the history
  • Loading branch information
camenduru authored Mar 14, 2023
1 parent 713eb79 commit 1d7ec1a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions lite/refslave_v2_webui_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"%cd /content/stable-diffusion-webui\n",
"!git reset --hard\n",
"\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/refslaveV2_v2-emaonly.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.vae.pt\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/privateRefslaveV2_v2_Full.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.vae.pt\n",
"\n",
"!sed -i -e '''/prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/stable-diffusion-webui/launch.py\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions nightly/refslave_v2_webui_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet/resolve/main/t2iadapter_color_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_color_sd14v1.pth\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet/resolve/main/t2iadapter_canny_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd14v1.pth\n",
"\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/refslaveV2_v2-emaonly.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.vae.pt\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/privateRefslaveV2_v2_Full.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.vae.pt\n",
"\n",
"!sed -i -e '''/prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/stable-diffusion-webui/launch.py\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions stable/refslave_v2_webui_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet/resolve/main/t2iadapter_color_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_color_sd14v1.pth\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet/resolve/main/t2iadapter_canny_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd14v1.pth\n",
"\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/refslaveV2_v2-emaonly.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.vae.pt\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/privateRefslaveV2_v2_Full.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.vae.pt\n",
"\n",
"!sed -i -e '''/prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/stable-diffusion-webui/launch.py\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions v1.9/refslave_v2_webui_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"%cd /content/stable-diffusion-webui\n",
"!git reset --hard\n",
"\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/refslaveV2_v2-emaonly.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.vae.pt\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/privateRefslaveV2_v2_Full.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.vae.pt\n",
"\n",
"!sed -i -e '''/prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/stable-diffusion-webui/launch.py\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions v2.0/refslave_v2_webui_colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet/resolve/main/t2iadapter_color_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_color_sd14v1.pth\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/ControlNet/resolve/main/t2iadapter_canny_sd14v1.pth -d /content/stable-diffusion-webui/extensions/sd-webui-controlnet/models -o t2iadapter_canny_sd14v1.pth\n",
"\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/refslaveV2_v2-emaonly.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslaveV2_v2-emaonly.vae.pt\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/privateRefslaveV2_v2_Full.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.safetensors\n",
"!aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/bucket/resolve/main/RefSlave-vae.pt -d /content/stable-diffusion-webui/models/Stable-diffusion -o refslave_v2.vae.pt\n",
"\n",
"!sed -i -e '''/prepare_environment()/a\\ os.system\\(f\\\"\"\"sed -i -e ''\\\"s/dict()))/dict())).cuda()/g\\\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py\"\"\")''' /content/stable-diffusion-webui/launch.py\n",
"\n",
Expand Down

0 comments on commit 1d7ec1a

Please sign in to comment.