-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/dev' into main
- Loading branch information
Showing
68 changed files
with
4,879 additions
and
3,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
FROM nvcr.io/nvidia/tritonserver:22.02-py3 | ||
|
||
|
||
ENV LC_ALL=C.UTF-8 | ||
|
||
# install base package | ||
RUN pip3 install clearml-serving | ||
|
||
# get latest execution code from the git repository | ||
# RUN cd $HOME && git clone https://github.com/allegroai/clearml-serving.git | ||
COPY clearml_serving /root/clearml/clearml_serving | ||
|
||
RUN pip3 install -r /root/clearml/clearml_serving/engines/triton/requirements.txt | ||
|
||
# default serving port | ||
EXPOSE 8001 | ||
|
||
# environement variable to load Task from CLEARML_SERVING_TASK_ID, CLEARML_SERVING_PORT | ||
|
||
WORKDIR /root/clearml/ | ||
ENTRYPOINT ["clearml_serving/engines/triton/entrypoint.sh"] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# print configuration | ||
echo CLEARML_SERVING_TASK_ID="$CLEARML_SERVING_TASK_ID" | ||
echo CLEARML_TRITON_POLL_FREQ="$CLEARML_TRITON_POLL_FREQ" | ||
echo CLEARML_TRITON_METRIC_FREQ="$CLEARML_TRITON_METRIC_FREQ" | ||
echo CLEARML_TRITON_HELPER_ARGS="$CLEARML_TRITON_HELPER_ARGS" | ||
echo EXTRA_PYTHON_PACKAGES="$EXTRA_PYTHON_PACKAGES" | ||
|
||
# we should also have clearml-server configurations | ||
|
||
if [ ! -z "$EXTRA_PYTHON_PACKAGES" ] | ||
then | ||
python3 -m pip install $EXTRA_PYTHON_PACKAGES | ||
fi | ||
|
||
# start service | ||
PYTHONPATH=$(pwd) python3 clearml_serving/engines/triton/triton_helper.py $CLEARML_TRITON_HELPER_ARGS $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
clearml >= 1.3.1 | ||
clearml-serving | ||
tritonclient[grpc]>=2.18.0,<2.19 | ||
grpcio | ||
Pillow>=9.0.1,<10 | ||
pathlib2 |
Oops, something went wrong.