Skip to content

Commit

Permalink
fix: build dependencies for pip and poetry are corrected
Browse files Browse the repository at this point in the history
  • Loading branch information
mostlyuseful committed Jun 20, 2024
1 parent e8806d6 commit 0ea31a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build-system]
requires = ["setuptools", "torch"]
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ def get_model_zoo_configs() -> List[str]:
# NOTE: When adding new dependencies, if it is required at import time (in addition
# to runtime), it probably needs to appear in docs/requirements.txt, or as a mock
# in docs/conf.py
"torch>=2.3.1"
],
extras_require={
# optional dependencies, required by some features
Expand Down

0 comments on commit 0ea31a9

Please sign in to comment.