From 69e7d9b057df15c891799a46c50a7c4d45bcbec4 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 26 Sep 2025 09:03:16 +0000 Subject: [PATCH] python3Packages.xformers: 0.0.32.post2 -> 0.0.30 --- pkgs/development/python-modules/xformers/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/xformers/default.nix b/pkgs/development/python-modules/xformers/default.nix index 102cb4bfc3d1..a39f5154cf3d 100644 --- a/pkgs/development/python-modules/xformers/default.nix +++ b/pkgs/development/python-modules/xformers/default.nix @@ -31,21 +31,22 @@ }: let inherit (torch) cudaCapabilities cudaPackages cudaSupport; - version = "0.0.32.post2"; + + # version 0.0.32.post2 was confirmed to break CUDA. + # Remove this note once the latest published revision "just works". + version = "0.0.30"; in buildPythonPackage { pname = "xformers"; inherit version; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "facebookresearch"; repo = "xformers"; tag = "v${version}"; fetchSubmodules = true; - hash = "sha256-B0rvV9EONWQBNhlQ0UTMZ+VtRO/YmMRRlLrVQHGftPE="; + hash = "sha256-ozaw9z8qnGpZ28LQNtwmKeVnrn7KDWNeJKtT6g6Q/W0="; }; patches = [ ./0001-fix-allow-building-without-git.patch ];