aboutsummaryrefslogtreecommitdiff
path: root/launch.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2023-01-30 15:48:09 +0300
committerAUTOMATIC <16777216c@gmail.com>2023-01-30 15:48:09 +0300
commit19de2a626b92bcfe83a97477f20d0faf9b3204c0 (patch)
tree4a07a114957891116ff8d5b989fc750506af349c /launch.py
parentee9fdf7f62984dc30770fb1a73e68736b319746f (diff)
make linux launch.py use XFORMERS_PACKAGE var too; thanks, acncagua
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 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")