mirror of
https://github.com/clearml/clearml-serving
synced 2025-01-30 18:36:53 +00:00
Upgrade to python 3.11
This commit is contained in:
parent
d9599ba942
commit
aca8b4aa03
@ -1,17 +1,17 @@
|
|||||||
|
|
||||||
FROM nvcr.io/nvidia/tritonserver:22.04-py3
|
FROM nvcr.io/nvidia/tritonserver:22.08-py3
|
||||||
|
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
|
|
||||||
# install base package
|
# install base package
|
||||||
RUN pip3 install --no-cache-dir clearml-serving
|
RUN python3 -m pip install --no-cache-dir -U pip clearml-serving
|
||||||
|
|
||||||
# get latest execution code from the git repository
|
# get latest execution code from the git repository
|
||||||
# RUN cd $HOME && git clone https://github.com/allegroai/clearml-serving.git
|
# RUN cd $HOME && git clone https://github.com/allegroai/clearml-serving.git
|
||||||
COPY clearml_serving /root/clearml/clearml_serving
|
COPY clearml_serving /root/clearml/clearml_serving
|
||||||
|
|
||||||
RUN pip3 install --no-cache-dir -r /root/clearml/clearml_serving/engines/triton/requirements.txt
|
RUN python3 -m pip install --no-cache-dir -r /root/clearml/clearml_serving/engines/triton/requirements.txt
|
||||||
|
|
||||||
# default serving port
|
# default serving port
|
||||||
EXPOSE 8001
|
EXPOSE 8001
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
clearml >= 1.3.1
|
clearml >= 1.3.1
|
||||||
clearml-serving
|
clearml-serving
|
||||||
tritonclient[grpc]>=2.25,<2.26
|
tritonclient[grpc]>=2.32,<2.33
|
||||||
starlette
|
starlette
|
||||||
grpcio
|
grpcio
|
||||||
Pillow>=9.0.1,<10
|
Pillow>=9.0.1,<10
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.9-bullseye
|
FROM python:3.11-bullseye
|
||||||
|
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
clearml>=1.3.1
|
clearml>=1.10.1,<2
|
||||||
attrs>=20.3.0,<21
|
attrs>=20.3.0,<21
|
||||||
fastapi[all]>=0.75.0,<0.76
|
fastapi[all]>=0.95.0,<0.96
|
||||||
uvicorn[standard]
|
uvicorn[standard]
|
||||||
gunicorn>=20.1.0,<20.2
|
gunicorn>=20.1.0,<20.2
|
||||||
asyncio>=3.4.3,<3.5
|
asyncio>=3.4.3,<3.5 ; python_version < '3.10'
|
||||||
aiocache>=0.11.1,<0.12
|
aiocache>=0.12,<0.13
|
||||||
tritonclient[grpc]>=2.25,<2.26
|
tritonclient[grpc]>=2.32,<2.33
|
||||||
starlette
|
starlette
|
||||||
numpy>=1.20,<1.24
|
numpy>=1.24,<1.25
|
||||||
scikit-learn>=1.0.2,<1.1
|
scikit-learn>=1.2.2,<1.3
|
||||||
pandas>=1.0.5,<1.5
|
pandas>=1.5.3,<1.6
|
||||||
grpcio
|
grpcio
|
||||||
Pillow>=9.0.1,<10
|
Pillow>=9.0.1,<10
|
||||||
xgboost>=1.5.2,<1.6
|
xgboost>=1.7.5,<1.8
|
||||||
lightgbm>=3.3.2,<3.4
|
lightgbm>=3.3.2,<3.4
|
||||||
requests>=2.25.1,<2.26
|
requests>=2.28.2,<2.29
|
||||||
kafka-python>=2.0.2,<2.1
|
kafka-python>=2.0.2,<2.1
|
||||||
lz4>=4.0.0,<5
|
lz4>=4.0.0,<5
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM python:3.9-bullseye
|
FROM python:3.11-bullseye
|
||||||
|
|
||||||
|
|
||||||
ENV LC_ALL=C.UTF-8
|
ENV LC_ALL=C.UTF-8
|
||||||
|
@ -98,6 +98,12 @@ services:
|
|||||||
CLEARML_USE_GUNICORN: ${CLEARML_USE_GUNICORN:-}
|
CLEARML_USE_GUNICORN: ${CLEARML_USE_GUNICORN:-}
|
||||||
CLEARML_SERVING_NUM_PROCESS: ${CLEARML_SERVING_NUM_PROCESS:-}
|
CLEARML_SERVING_NUM_PROCESS: ${CLEARML_SERVING_NUM_PROCESS:-}
|
||||||
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
||||||
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-}
|
||||||
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-}
|
||||||
|
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
|
||||||
|
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT:-}
|
||||||
|
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
- kafka
|
- kafka
|
||||||
- clearml-serving-triton
|
- clearml-serving-triton
|
||||||
@ -122,6 +128,13 @@ services:
|
|||||||
CLEARML_SERVING_TASK_ID: ${CLEARML_SERVING_TASK_ID:-}
|
CLEARML_SERVING_TASK_ID: ${CLEARML_SERVING_TASK_ID:-}
|
||||||
CLEARML_TRITON_POLL_FREQ: ${CLEARML_TRITON_POLL_FREQ:-1.0}
|
CLEARML_TRITON_POLL_FREQ: ${CLEARML_TRITON_POLL_FREQ:-1.0}
|
||||||
CLEARML_TRITON_METRIC_FREQ: ${CLEARML_TRITON_METRIC_FREQ:-1.0}
|
CLEARML_TRITON_METRIC_FREQ: ${CLEARML_TRITON_METRIC_FREQ:-1.0}
|
||||||
|
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
||||||
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-}
|
||||||
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-}
|
||||||
|
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
|
||||||
|
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT:-}
|
||||||
|
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
- kafka
|
- kafka
|
||||||
networks:
|
networks:
|
||||||
|
@ -98,6 +98,12 @@ services:
|
|||||||
CLEARML_USE_GUNICORN: ${CLEARML_USE_GUNICORN:-}
|
CLEARML_USE_GUNICORN: ${CLEARML_USE_GUNICORN:-}
|
||||||
CLEARML_SERVING_NUM_PROCESS: ${CLEARML_SERVING_NUM_PROCESS:-}
|
CLEARML_SERVING_NUM_PROCESS: ${CLEARML_SERVING_NUM_PROCESS:-}
|
||||||
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
||||||
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-}
|
||||||
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-}
|
||||||
|
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
|
||||||
|
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT:-}
|
||||||
|
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
- kafka
|
- kafka
|
||||||
- clearml-serving-triton
|
- clearml-serving-triton
|
||||||
@ -122,6 +128,13 @@ services:
|
|||||||
CLEARML_SERVING_TASK_ID: ${CLEARML_SERVING_TASK_ID:-}
|
CLEARML_SERVING_TASK_ID: ${CLEARML_SERVING_TASK_ID:-}
|
||||||
CLEARML_TRITON_POLL_FREQ: ${CLEARML_TRITON_POLL_FREQ:-1.0}
|
CLEARML_TRITON_POLL_FREQ: ${CLEARML_TRITON_POLL_FREQ:-1.0}
|
||||||
CLEARML_TRITON_METRIC_FREQ: ${CLEARML_TRITON_METRIC_FREQ:-1.0}
|
CLEARML_TRITON_METRIC_FREQ: ${CLEARML_TRITON_METRIC_FREQ:-1.0}
|
||||||
|
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
||||||
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-}
|
||||||
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-}
|
||||||
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-}
|
||||||
|
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
|
||||||
|
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT:-}
|
||||||
|
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
- kafka
|
- kafka
|
||||||
networks:
|
networks:
|
||||||
|
@ -98,12 +98,12 @@ services:
|
|||||||
CLEARML_USE_GUNICORN: ${CLEARML_USE_GUNICORN:-}
|
CLEARML_USE_GUNICORN: ${CLEARML_USE_GUNICORN:-}
|
||||||
CLEARML_SERVING_NUM_PROCESS: ${CLEARML_SERVING_NUM_PROCESS:-}
|
CLEARML_SERVING_NUM_PROCESS: ${CLEARML_SERVING_NUM_PROCESS:-}
|
||||||
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
CLEARML_EXTRA_PYTHON_PACKAGES: ${CLEARML_EXTRA_PYTHON_PACKAGES:-}
|
||||||
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
|
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID:-}
|
||||||
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
|
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY:-}
|
||||||
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION}
|
AWS_DEFAULT_REGION: ${AWS_DEFAULT_REGION:-}
|
||||||
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS}
|
GOOGLE_APPLICATION_CREDENTIALS: ${GOOGLE_APPLICATION_CREDENTIALS:-}
|
||||||
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT}
|
AZURE_STORAGE_ACCOUNT: ${AZURE_STORAGE_ACCOUNT:-}
|
||||||
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY}
|
AZURE_STORAGE_KEY: ${AZURE_STORAGE_KEY:-}
|
||||||
depends_on:
|
depends_on:
|
||||||
- kafka
|
- kafka
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user