-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #285495 from CertainLach/xformers/update-0.0.23.post1
python3Packages.xformers: 0.03 -> 0.0.23.post1, add cuda support
- Loading branch information
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
pkgs/development/python-modules/xformers/0001-fix-allow-building-without-git.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
From 4c2b65c47d328c2f20cc74adcec2286fee6cb5de Mon Sep 17 00:00:00 2001 | ||
From: Yaroslav Bolyukin <iam@lach.pw> | ||
Date: Tue, 30 Jan 2024 18:18:35 +0100 | ||
Subject: [PATCH] fix: allow building without git | ||
|
||
--- | ||
setup.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/setup.py b/setup.py | ||
index e01c008..92eca62 100644 | ||
--- a/setup.py | ||
+++ b/setup.py | ||
@@ -71,7 +71,7 @@ def get_flash_version() -> str: | ||
["git", "describe", "--tags", "--always"], | ||
cwd=flash_dir, | ||
).decode("ascii")[:-1] | ||
- except subprocess.CalledProcessError: | ||
+ except Exception: | ||
version = flash_dir / "version.txt" | ||
if version.is_file(): | ||
return version.read_text().strip() | ||
-- | ||
2.43.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters