Skip to content

Commit

Permalink
* Fix 'no such option: -U' error (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppicazo authored Jul 8, 2024
1 parent 37fd5b0 commit 8d33a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autotrain/cli/run_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8d33a3d

Please sign in to comment.