From bdf29479d0e8a1e79a60514eddd1ab81892f32d8 Mon Sep 17 00:00:00 2001 From: happysalada Date: Wed, 22 Nov 2023 03:45:55 +0100 Subject: [PATCH] python311Packages.xformers: 0.03 -> 0.0.22.post7 --- pkgs/development/python-modules/xformers/default.nix | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/xformers/default.nix b/pkgs/development/python-modules/xformers/default.nix index 0fa17ac6858a..bf2d415b3e7d 100644 --- a/pkgs/development/python-modules/xformers/default.nix +++ b/pkgs/development/python-modules/xformers/default.nix @@ -2,12 +2,10 @@ , buildPythonPackage , pythonOlder , fetchFromGitHub -, pythonRelaxDepsHook , which # runtime dependencies , numpy , torch -, pyre-extensions # check dependencies , pytestCheckHook , pytest-cov @@ -27,7 +25,7 @@ #, flash-attn }: let - version = "0.03"; + version = "0.0.22.post7"; in buildPythonPackage { pname = "xformers"; @@ -40,7 +38,7 @@ buildPythonPackage { owner = "facebookresearch"; repo = "xformers"; rev = "refs/tags/v${version}"; - hash = "sha256-G8f7tny5B8SAQ6+2uOjhY7nD0uOT4sskIwtTdwivQXo="; + hash = "sha256-7lZi3+2dVDZJFYCUlxsyDU8t9qdnl+b2ERRXKA6Zp7U="; fetchSubmodules = true; }; @@ -52,18 +50,12 @@ buildPythonPackage { ''; nativeBuildInputs = [ - pythonRelaxDepsHook which ]; - pythonRelaxDeps = [ - "pyre-extensions" - ]; - propagatedBuildInputs = [ numpy torch - pyre-extensions ]; pythonImportsCheck = [ "xformers" ];