From 19de2a626b92bcfe83a97477f20d0faf9b3204c0 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 30 Jan 2023 15:48:09 +0300 Subject: make linux launch.py use XFORMERS_PACKAGE var too; thanks, acncagua --- launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launch.py') 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") -- cgit v1.2.1 From 2c1bb46c7ad5b4536f6587d327a03f0ff7811c5d Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 30 Jan 2023 18:48:10 +0300 Subject: amend the error in previous commit --- launch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'launch.py') diff --git a/launch.py b/launch.py index c44c48fa..9fd766d1 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(f"install xformers=={xformers_package}", "xformers") + run_pip(f"install {xformers_package}", "xformers") if not is_installed("pyngrok") and ngrok: run_pip("install pyngrok", "ngrok") -- cgit v1.2.1