From 19de2a626b92bcfe83a97477f20d0faf9b3204c0 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 30 Jan 2023 15:48:09 +0300 Subject: [PATCH] make linux launch.py use XFORMERS_PACKAGE var too; thanks, acncagua --- launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.py b/launch.py index 25909469..c44c48fa 100644 --- a/launch.py +++ b/launch.py @@ -290,7 +290,7 @@ def prepare_environment(): if not is_installed("xformers"): exit(0) elif platform.system() == "Linux": - run_pip("install xformers==0.0.16rc425", "xformers") + run_pip(f"install xformers=={xformers_package}", "xformers") if not is_installed("pyngrok") and ngrok: run_pip("install pyngrok", "ngrok")