From 9db152bf7550707011cecba86e9c1fea5ba2a3d2 Mon Sep 17 00:00:00 2001 From: Drun555 <44411820+Drun555@users.noreply.github.com> Date: Sat, 14 Oct 2023 14:59:55 +0400 Subject: [PATCH 1/4] xformers==0.0.20 I'm not sure if it's correct way of handling things, but correcting this string to '==0.0.20' fixes xformers install for me - and maybe for others too. Please see this thread, this is the issue I had (trying to install InvokeAI): https://github.com/facebookresearch/xformers/issues/740 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bab87172c2..46fd443da7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,7 +110,7 @@ dependencies = [ "pytest-datadir", ] "xformers" = [ - "xformers~=0.0.19; sys_platform!='darwin'", + "xformers==0.0.20; sys_platform!='darwin'", "triton; sys_platform=='linux'", ] "onnx" = [ From 0718cc2392ab8fc52f0908682b3ac2f959c2892c Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Tue, 7 Nov 2023 10:16:44 +1100 Subject: [PATCH 2/4] Update xformers to 0.0.21 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 46fd443da7..180901bfa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,7 +110,7 @@ dependencies = [ "pytest-datadir", ] "xformers" = [ - "xformers==0.0.20; sys_platform!='darwin'", + "xformers==0.0.21; sys_platform!='darwin'", "triton; sys_platform=='linux'", ] "onnx" = [ From 9fb15fae87866a04da00d49c58a1374823cdfa5e Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Tue, 7 Nov 2023 10:20:16 +1100 Subject: [PATCH 3/4] Update pyproject.toml --- pyproject.toml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a65505755d..3398802fdf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,19 +109,9 @@ dependencies = [ "pytest-datadir", ] "xformers" = [ - "xformers==0.0.21; sys_platform!='darwin'", "triton; sys_platform=='linux'", ] -"onnx" = [ - "onnxruntime", -] -"onnx-cuda" = [ - "onnxruntime-gpu", -] -"onnx-directml" = [ - "onnxruntime-directml", -] "onnx" = ["onnxruntime"] "onnx-cuda" = ["onnxruntime-gpu"] "onnx-directml" = ["onnxruntime-directml"] From 014d6187abe7c03317d4d364f8c33f181489ec6d Mon Sep 17 00:00:00 2001 From: Millun Atluri Date: Tue, 7 Nov 2023 10:22:20 +1100 Subject: [PATCH 4/4] Update pyproject.toml --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3398802fdf..4a64b530bf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -109,8 +109,8 @@ dependencies = [ "pytest-datadir", ] "xformers" = [ - "xformers==0.0.21; sys_platform!='darwin'", - "triton; sys_platform=='linux'", + "xformers==0.0.21; sys_platform!='darwin'", + "triton; sys_platform=='linux'", ] "onnx" = ["onnxruntime"] "onnx-cuda" = ["onnxruntime-gpu"]