I love it when we're either forced to use outdated libraries, or break everything else trying to install them.
pull/1438/head
d8ahazard 2024-01-05 10:54:37 -06:00
parent 5f839812a8
commit 8207ccd854
1 changed files with 2 additions and 2 deletions

View File

@ -103,8 +103,8 @@ def xformers_check():
import torch
if version.Version(torch.__version__) < version.Version("1.12"):
raise ValueError("PyTorch version must be >= 1.12")
if version.Version(_xformers_version) < version.Version("0.0.21"):
raise ValueError("Xformers version must be >= 0.0.21")
if version.Version(_xformers_version) < version.Version("0.0.20"):
raise ValueError("Xformers version must be >= 0.0.20")
has_xformers = True
except Exception as e:
# print(f"Exception importing xformers: {e}")