Skip to content

Commit

Permalink
Specify optional dependencies for shortfin_apps (#513)
Browse files Browse the repository at this point in the history
  • Loading branch information
marbre authored Nov 14, 2024
1 parent 4fcf77b commit 7cc1db3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions shark-ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ Repository = "https://github.com/nod-ai/SHARK-Platform"
onnx = [
"iree-base-compiler[onnx]",
]
apps = [
"shortfin[apps]",
]

[tool.setuptools]
packages = []
Expand Down
7 changes: 7 additions & 0 deletions shortfin/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ dynamic = ["version"]
Repository = "https://github.com/nod-ai/SHARK-Platform"
Documentation = "https://shortfin.readthedocs.io/en/latest/"

[project.optional-dependencies]
apps = [
"transformers",
"dataclasses-json",
"pillow",
]

[tool.pytest.ini_options]
addopts = [
"-ra",
Expand Down

0 comments on commit 7cc1db3

Please sign in to comment.