Skip to content

Commit 74511c3

Browse files
mahone3297akaitsuki-iigemini-code-assist[bot]
authored
fix: constrain torch version (#232)
* fix: constrain torch version and add transformers dependency - Change torch requirement from >= 2.6 to <= 2.8 for version compatibility * Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Co-authored-by: Akaitsuki <akaitsuki.ii@gmail.com> Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent d4809e6 commit 74511c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ classifiers = [
1313
]
1414
requires-python = ">=3.10"
1515
dependencies = [
16-
"torch >= 2.6",
16+
"torch >= 2.6, <= 2.8",
1717
"torchvision",
1818
"numpy",
1919
"safetensors",

0 commit comments

Comments
 (0)