Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Sivanantham Chinnaiyan <[email protected]>
  • Loading branch information
sivanantha321 committed Apr 29, 2024
1 parent 7fe70de commit 0dc258d
Show file tree
Hide file tree
Showing 24 changed files with 6,886 additions and 965 deletions.
2 changes: 1 addition & 1 deletion hack/python-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ do
continue
fi
pushd "${folder}"
poetry lock --no-update
poetry update --lock
popd

done
1,026 changes: 976 additions & 50 deletions python/aiffairness/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions python/aiffairness/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ packages = [
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
kserve = {path = "../kserve", develop = true}
aif360 = "^0.2.3"
nest-asyncio = "^1.4.0"
aif360 = "^0.6.1"
nest-asyncio = "^1.5.8"
requests = {version = "^2.24.0", extras = ["security"]}

[tool.poetry.group.test]
Expand Down
352 changes: 306 additions & 46 deletions python/artexplainer/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion python/artexplainer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ packages = [
python = ">=3.9,<3.13"
kserve = {path = "../kserve", develop = true}
adversarial-robustness-toolbox = {version = "^1.10.3", extras = ["keras"]}
nest-asyncio = "^1.4.0"
nest-asyncio = "^1.5.8"
pillow = "^10.2.0"

[tool.poetry.group.test]
Expand Down
458 changes: 393 additions & 65 deletions python/custom_model/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions python/custom_model/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ packages = [
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
kserve = {path = "../kserve", develop = true}
torchvision = {version = "0.15.1+cpu", source = "pytorch"}
torch = {version = "2.0.0", source = "pytorch"}
torchvision = {version = "0.18.0+cpu", source = "pytorch"}
torch = {version = "2.3.0+cpu", source = "pytorch"}
pillow = "^10.2.0"


Expand Down
414 changes: 371 additions & 43 deletions python/custom_tokenizer/poetry.lock

Large diffs are not rendered by default.

458 changes: 393 additions & 65 deletions python/custom_transformer/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions python/custom_transformer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ packages = [
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
kserve = {path = "../kserve", develop = true}
torchvision = {version = "0.15.1+cpu", source = "pytorch"}
torch = {version = "2.0.0+cpu", source = "pytorch"}
torchvision = {version = "0.18.0+cpu", source = "pytorch"}
torch = {version = "2.3.0+cpu", source = "pytorch"}
pillow = "^10.2.0"


Expand Down
2 changes: 1 addition & 1 deletion python/huggingface_server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG POETRY_HOME=/opt/poetry
ARG POETRY_VERSION=1.7.1

# Install vllm
ARG VLLM_VERSION=0.4.0.post1
ARG VLLM_VERSION=0.4.1

RUN apt-get update -y && apt-get install gcc python3.10-venv python3-dev -y
RUN python3 -m venv ${POETRY_HOME} && ${POETRY_HOME}/bin/pip3 install poetry==${POETRY_VERSION}
Expand Down
744 changes: 529 additions & 215 deletions python/huggingfaceserver/poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions python/huggingfaceserver/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ packages = [
[tool.poetry.dependencies]
python = ">=3.9,<3.13"
kserve = { path = "../kserve", extras = ["storage"], develop = true }
transformers = "~4.39.3"
transformers = "~4.40.0"
accelerate = "~0.27.2"
torch = "~2.1.2"
vllm = { version = "^0.4.0.post1", optional = true }
torch = "~2.2.1"
vllm = { version = "^0.4.1", optional = true }

[tool.poetry.extras]
vllm = [
Expand Down
485 changes: 422 additions & 63 deletions python/kserve/poetry.lock

Large diffs are not rendered by default.

23 changes: 10 additions & 13 deletions python/kserve/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
Expand All @@ -34,28 +35,25 @@ exclude = ["kserve/storage/test"]

[tool.poetry.dependencies]
python = ">=3.8,<3.13"
uvicorn = { version = "^0.21.1", extras = ["standard"] }
uvicorn = { version = "^0.23.0", extras = ["standard"] }
fastapi = "^0.109.1"
cloudevents = "^1.6.2"
six = "^1.16.0"
kubernetes = ">=23.3.0"
python-dateutil = "^2.8.0"
numpy = "^1.23.5"
psutil = "^5.9.0"
ray = { version = "~2.10.0", extras = ["serve"] }
async-timeout = { version = "^4.0.3", python = "==3.11.*" }
grpcio = "^1.49.1"
python-dateutil = "^2.9.0"
numpy = [ { version = "^1.26.0", python = ">=3.12"}, {version = "^1.23.5", python = ">=3.8,<3.12"}]
ray = [ { version = "^2.12.0", extras = ["serve"], python = ">=3.12" }, { version = "~2.10.0", extras = ["serve"], python = ">=3.8,<3.12" } ]
grpcio = "^1.59.0"
protobuf = "^3.19.0"
prometheus-client = "^0.20.0"
orjson = "^3.9.15"
httpx = "^0.26.0"
timing-asgi = "^0.3.0"
tabulate = "^0.9.0"
pandas = ">=1.3.5"
pydantic = ">1.0,<3"
pandas = [ { version = "^2.2.0", python = ">=3.12"}, {version = ">=1.3.5", python = ">=3.8,<3.12"}]
pydantic = [ { version = "^2.5.0", python = ">=3.12"}, {version = ">1.0,<3", python = ">=3.8,<3.12"}]

# Storage dependencies. They can be opted into by apps.
urllib3 = { version = "^1.26.8", optional = true }
requests = { version = "^2.20.0", optional = true }
google-cloud-storage = { version = "^2.3.0", optional = true }
azure-storage-blob = { version = "^12.10.0", optional = true }
Expand All @@ -64,11 +62,10 @@ azure-identity = { version = "^1.8.0", optional = true }
boto3 = { version = "^1.21.0", optional = true }

# Logging dependencies. They can be opted into by apps.
asgi-logger = { version = "^0.1.0", optional = true, python = ">3.8.0,<3.11" }
asgi-logger = { version = "^0.1.0", optional = true, python = ">3.8.0,<3.13" }

[tool.poetry.extras]
storage = [
"urllib3",
"requests",
"google-cloud-storage",
"azure-storage-blob",
Expand All @@ -89,7 +86,7 @@ pytest-cov = "^4.0.0"
pytest-xdist = "^3.0.2"
pytest-asyncio = "^0.20.2"
mypy = "^0.991"
portforward = "^0.4.3"
portforward = "^0.6.1"
avro = "^1.11.0"
tomlkit = "^0.11.6"
jinja2 = "^3.1.2"
Expand Down

0 comments on commit 0dc258d

Please sign in to comment.