Skip to content

Commit 484bbc2

Browse files
talmoclaude
andauthored
Bump minimum torchvision version to 0.20.0 (#365)
## Summary - Set minimum torchvision version to 0.20.0 across all torch extras (torch, torch-cpu, torch-cuda118, torch-cuda128) - Bump package version to 0.0.4 ## Test plan - [ ] Verify dependency resolution works with torchvision>=0.20.0 - [ ] Test installation with different torch extras - [ ] Confirm no breaking changes with minimum version 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent e771701 commit 484bbc2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ classifiers = [
2222
"Programming Language :: Python :: 3.13",
2323
]
2424
dependencies = [
25-
"sleap-io>=0.2.0",
25+
"sleap-io>=0.5.7",
2626
"numpy",
2727
"lightning",
2828
"kornia",
@@ -54,19 +54,19 @@ readme = {file = ["README.md"], content-type="text/markdown"}
5454
[project.optional-dependencies]
5555
torch = [
5656
"torch",
57-
"torchvision<0.24.0",
57+
"torchvision>=0.20.0,<0.24.0",
5858
]
5959
torch-cpu = [
6060
"torch",
61-
"torchvision<0.24.0",
61+
"torchvision>=0.20.0,<0.24.0",
6262
]
6363
torch-cuda118 = [
6464
"torch",
65-
"torchvision<0.24.0",
65+
"torchvision>=0.20.0,<0.24.0",
6666
]
6767
torch-cuda128 = [
6868
"torch",
69-
"torchvision<0.24.0",
69+
"torchvision>=0.20.0,<0.24.0",
7070
]
7171
dev = [
7272
"pytest",

sleap_nn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ def _safe_print(msg):
4848
format="{time:YYYY-MM-DD HH:mm:ss} | {level} | {name}:{function}:{line} | {message}",
4949
)
5050

51-
__version__ = "0.0.3"
51+
__version__ = "0.0.4"

0 commit comments

Comments
 (0)