aboutsummaryrefslogtreecommitdiff
path: root/launch.py
diff options
context:
space:
mode:
authorC43H66N12O12S2 <36072735+C43H66N12O12S2@users.noreply.github.com>2022-10-08 17:22:20 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2022-10-08 17:54:16 +0300
commit7e639cd49855ef59e087ae9a9122756a937007eb (patch)
tree320cc9dcd0d7052c4585812204630f9ea8881038 /launch.py
parentcfc33f99d47d1f45af15499e5965834089d11858 (diff)
check for 3.10
Diffstat (limited to 'launch.py')
-rw-r--r--launch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/launch.py b/launch.py
index 61f62096..1d65a779 100644
--- a/launch.py
+++ b/launch.py
@@ -126,7 +126,7 @@ if not is_installed("gfpgan"):
if not is_installed("clip"):
run_pip(f"install {clip_package}", "clip")
-if not is_installed("xformers") and xformers:
+if not is_installed("xformers") and xformers and platform.python_version().startswith("3.10"):
if platform.system() == "Windows":
run_pip("install https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/a/xformers-0.0.14.dev0-cp310-cp310-win_amd64.whl", "xformers")
elif platform.system() == "Linux":