Skip to content

Commit

Permalink
Bump Poetry and lockfiles (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Gonzalez-Martin authored Aug 31, 2023
1 parent c828c3f commit 0115870
Show file tree
Hide file tree
Showing 13 changed files with 11,065 additions and 7,797 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3.10-slim AS wheel-builder
SHELL ["/bin/bash", "-l", "-c"]

ARG POETRY_VERSION="1.4.2"
ARG POETRY_VERSION="1.6.1"

COPY ./hack/build-wheels.sh ./hack/build-wheels.sh
COPY ./mlserver ./mlserver
Expand Down
3,236 changes: 1,702 additions & 1,534 deletions poetry.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ tensorflow = "~2.12.0"
## Dev dependencies from MLflow
torch = "2.0.0"
pytorch-lightning = "2.0.7"
torchmetrics = "0.11.4"
torchmetrics = "1.1.0"
torchvision = "0.15.1"
mlflow = "2.5.0"
mlflow = "2.6.0"

## Dev dependencies from HuggingFace
transformers = "~4.30.0"
transformers = ">=4.30,<4.32"

[tool.poetry.group.docs]
optional = true
Expand Down
2,473 changes: 1,433 additions & 1,040 deletions runtimes/alibi-detect/poetry.lock

Large diffs are not rendered by default.

2,959 changes: 1,612 additions & 1,347 deletions runtimes/alibi-explain/poetry.lock

Large diffs are not rendered by default.

2,357 changes: 1,349 additions & 1,008 deletions runtimes/huggingface/poetry.lock

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion runtimes/lightgbm/mlserver_lightgbm/lightgbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,9 @@ async def predict(self, payload: types.InferenceRequest) -> types.InferenceRespo
return types.InferenceResponse(
model_name=self.name,
model_version=self.version,
outputs=[NumpyCodec.encode_output(name="predict", payload=prediction)],
outputs=[
NumpyCodec.encode_output(
name="predict", payload=prediction # type: ignore
)
],
)
1,397 changes: 876 additions & 521 deletions runtimes/lightgbm/poetry.lock

Large diffs are not rendered by default.

2,231 changes: 1,337 additions & 894 deletions runtimes/mlflow/poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion runtimes/mlflow/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ torch = "2.0.0"
pytorch-lightning = "2.0.7"
torchmetrics = "1.1.0"
torchvision = "0.15.1"
mlflow = "2.4.1"
mlflow = "2.6.0"

[build-system]
requires = ["poetry-core"]
Expand Down
1,373 changes: 903 additions & 470 deletions runtimes/mllib/poetry.lock

Large diffs are not rendered by default.

1,381 changes: 907 additions & 474 deletions runtimes/sklearn/poetry.lock

Large diffs are not rendered by default.

1,439 changes: 936 additions & 503 deletions runtimes/xgboost/poetry.lock

Large diffs are not rendered by default.

0 comments on commit 0115870

Please sign in to comment.