mirror of
https://github.com/hanzo-ml/kserve.git
synced 2026-10-30 20:53:49 +00:00
31 lines
881 B
TOML
31 lines
881 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.24.0+cpu",
|
|
"torch==2.9.0+cpu",
|
|
"pillow<11.0.0,>=10.3.0",
|
|
]
|
|
name = "custom_transformer"
|
|
version = "0.18.1"
|
|
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]
|
|
# For PyTorch CPU on Linux x86_64 with Python 3.11
|
|
torch = { url = "https://download.pytorch.org/whl/cpu/torch-2.9.0%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl" }
|
|
torchvision = { url = "https://download.pytorch.org/whl/cpu/torchvision-0.24.0%2Bcpu-cp311-cp311-manylinux_2_28_x86_64.whl" }
|
|
|