diff options
author | C43H66N12O12S2 <36072735+C43H66N12O12S2@users.noreply.github.com> | 2022-10-08 11:42:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 11:42:34 +0000 |
commit | 4201fd14f5769a4cf6723d2bc5495c3c84a2cd00 (patch) | |
tree | 97609f165404de9a827cbf4ac5acc4b1505a78c8 /launch.py | |
parent | 91d66f5520df416db718103d460550ad495e952d (diff) | |
download | stable-diffusion-webui-gfx803-4201fd14f5769a4cf6723d2bc5495c3c84a2cd00.tar.gz stable-diffusion-webui-gfx803-4201fd14f5769a4cf6723d2bc5495c3c84a2cd00.tar.bz2 stable-diffusion-webui-gfx803-4201fd14f5769a4cf6723d2bc5495c3c84a2cd00.zip |
install xformers
Diffstat (limited to 'launch.py')
-rw-r--r-- | launch.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -124,6 +124,9 @@ if not is_installed("gfpgan"): if not is_installed("clip"):
run_pip(f"install {clip_package}", "clip")
+if not is_installed("xformers"):
+ run_pip("install https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/a/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl", "xformers")
+
os.makedirs(dir_repos, exist_ok=True)
git_clone("https://github.com/CompVis/stable-diffusion.git", repo_dir('stable-diffusion'), "Stable Diffusion", stable_diffusion_commit_hash)
|