From 62919a443c656c39182a2c4602d4e018f4b1fa77 Mon Sep 17 00:00:00 2001 From: Eugene Brodsky Date: Tue, 22 Oct 2024 14:13:58 -0400 Subject: [PATCH] fix(installer): remove xformers before installation --- installer/lib/installer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installer/lib/installer.py b/installer/lib/installer.py index ac5a2fe530..bff97eca93 100644 --- a/installer/lib/installer.py +++ b/installer/lib/installer.py @@ -245,6 +245,9 @@ class InvokeAiInstance: pip = local[self.pip] + # Uninstall xformers if it is present; the correct version of it will be reinstalled if needed + _ = pip["uninstall", "-yqq", "xformers"] & FG + pipeline = pip[ "install", "--require-virtualenv",