diff --git a/launch.py b/launch.py index a3261c0c5..6e9ca8ded 100644 --- a/launch.py +++ b/launch.py @@ -278,7 +278,7 @@ def prepare_environment(): if not is_installed("xformers"): exit(0) elif platform.system() == "Linux": - run_pip(f"install {xformers_package}", "xformers") + run_pip(f"install -U -I --no-deps {xformers_package}", "xformers") if not is_installed("ngrok") and args.ngrok: run_pip("install ngrok", "ngrok")