From c68db6e40f521fc7621814a1ca99fdfee49fb54c Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Tue, 7 Nov 2023 11:53:39 +1100 Subject: [PATCH 1/3] Update xformers to ~0.0.22 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4a64b530bf..32eaec63da 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,7 @@ dependencies = [ "pytest-datadir", ] "xformers" = [ - "xformers==0.0.21; sys_platform!='darwin'", + "xformers~=0.0.22; sys_platform!='darwin'", "triton; sys_platform=='linux'", ] "onnx" = ["onnxruntime"] From 9976bc6908a37ace96e7e9343b750effe4240f93 Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Tue, 7 Nov 2023 11:57:02 +1100 Subject: [PATCH 2/3] Update installer.py to cu121 --- installer/lib/installer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/lib/installer.py b/installer/lib/installer.py index bf48e3b06d..f59a358b6c 100644 --- a/installer/lib/installer.py +++ b/installer/lib/installer.py @@ -460,10 +460,10 @@ def get_torch_source() -> (Union[str, None], str): url = "https://download.pytorch.org/whl/cpu" if device == "cuda": - url = "https://download.pytorch.org/whl/cu118" + url = "https://download.pytorch.org/whl/cu121" optional_modules = "[xformers,onnx-cuda]" if device == "cuda_and_dml": - url = "https://download.pytorch.org/whl/cu118" + url = "https://download.pytorch.org/whl/cu121" optional_modules = "[xformers,onnx-directml]" # in all other cases, Torch wheels should be coming from PyPi as of Torch 1.13 From 9733cd4199f2b552fe5b4455944d7d0b7a1dd30b Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Tue, 7 Nov 2023 12:00:39 +1100 Subject: [PATCH 3/3] Update xformers to 0.0.22post7 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 32eaec63da..8e9c97e5b6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,7 +109,7 @@ dependencies = [ "pytest-datadir", ] "xformers" = [ - "xformers~=0.0.22; sys_platform!='darwin'", + "xformers==0.0.22post7; sys_platform!='darwin'", "triton; sys_platform=='linux'", ] "onnx" = ["onnxruntime"]