From 8d33a3d074a829da6103a8ccdb56d6a370b55fe1 Mon Sep 17 00:00:00 2001 From: Paul Picazo Date: Mon, 8 Jul 2024 02:01:39 -0700 Subject: [PATCH] * Fix 'no such option: -U' error (#696) --- src/autotrain/cli/run_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autotrain/cli/run_setup.py b/src/autotrain/cli/run_setup.py index a239b5c55d..f64727a99c 100644 --- a/src/autotrain/cli/run_setup.py +++ b/src/autotrain/cli/run_setup.py @@ -37,7 +37,7 @@ def run(self): if self.colab: cmd = "pip install -U xformers==0.0.24" else: - cmd = "pip uninstall -U xformers" + cmd = "pip uninstall -y xformers" cmd = cmd.split() pipe = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) logger.info("Installing latest xformers")