Skip to content

Commit

Permalink
Moved torchvision to peer dep and making peer deps optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rsamf committed Oct 18, 2024
1 parent 4d1b578 commit 01ab67a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ python = "^3.10"
aiohttp = "^3.9.4"
pillow = "^10.3.0"
watchdog = "^4.0.0"
torchvision = "^0.18.1"
psutil = "^6.0.0"
pyyaml = "^6.0.2"

Expand All @@ -48,5 +47,9 @@ sphinx-sitemap = "^2.6.0"
sphinxawesome-theme = "^5.2.0"
sphinx-design = "^0.6.1"

[tool.poetry.group.peer]
optional = true

[tool.poetry.group.peer.dependencies]
torch = "^2.0.0"
torchvision = "^0.18.1"

0 comments on commit 01ab67a

Please sign in to comment.