mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
c78d2987fa
Signed-off-by: GitHub <[email protected]> Co-authored-by: copilot-swe-agent[bot] <[email protected]>
35 lines
771 B
TOML
35 lines
771 B
TOML
[project]
|
|
authors = [
|
|
{name = "Dan Sun", email = "[email protected]"},
|
|
]
|
|
license = {text = "Apache-2.0"}
|
|
requires-python = "<3.13,>=3.10"
|
|
dependencies = [
|
|
"kserve @ file:///${PROJECT_ROOT}/../kserve",
|
|
"torchvision==0.26.0+cpu",
|
|
"torch==2.11.0+cpu",
|
|
"pillow<11.0.0,>=10.3.0",
|
|
]
|
|
name = "custom_transformer"
|
|
version = "0.19.0"
|
|
description = "Custom Transformer Examples. Not intended for use outside KServe Frameworks Images."
|
|
|
|
[dependency-groups]
|
|
test = [
|
|
"pytest<8.0.0,>=7.4.4",
|
|
"mypy<1.0,>=0.991",
|
|
]
|
|
dev = [
|
|
"black[colorama]~=24.3.0",
|
|
]
|
|
|
|
[tool.uv.sources]
|
|
torch = [{ index = "pytorch-cpu" }]
|
|
torchvision = [{ index = "pytorch-cpu" }]
|
|
|
|
[[tool.uv.index]]
|
|
name = "pytorch-cpu"
|
|
url = "https://download.pytorch.org/whl/cpu"
|
|
explicit = true
|
|
|