Skip to content

Commit a90bdca

Browse files
committed
Update pyproject.toml
1 parent 6916103 commit a90bdca

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pyproject.toml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ docs = [
7575
"mkdocstrings-python"
7676
]
7777
learning = [
78-
"torch >= 1.6.0",
78+
"torch >= 1.6.0,< 2.5.0; python_version < '3.9'",
79+
"torch >= 2.5.0; python_version >= '3.9'",
7980
"transformers >= 4.0.0"
8081
]
8182

@@ -104,9 +105,3 @@ src_paths = ["crowdkit", "tests"]
104105

105106
[tool.pyupgrade]
106107
py38-plus = true
107-
108-
[tool.uv]
109-
override-dependencies = [
110-
"torch < 2.5.0; python_version < '3.9'",
111-
"torch >= 2.5.0; python_version >= '3.9'"
112-
]

0 commit comments

Comments
 (0)