-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Triton tracking works with Docker compose
- Loading branch information
1 parent
4fe34ea
commit f3f4608
Showing
10 changed files
with
344 additions
and
121 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,5 +24,6 @@ dependencies: | |
- matplotlib | ||
- numpy | ||
- scikit-image | ||
- build | ||
|
||
|
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 |
---|---|---|
|
@@ -24,5 +24,6 @@ dependencies: | |
- matplotlib | ||
- numpy | ||
- scikit-image | ||
- build | ||
|
||
|
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
41 changes: 41 additions & 0 deletions
41
deepstream-examples/deepstream-triton-tracking/docker-compose.yml
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,41 @@ | ||
services: | ||
triton-server: | ||
build: | ||
context: ../../docker | ||
dockerfile: Dockerfile-deepstream-6.3-triton-devel | ||
container_name: triton-server | ||
entrypoint: | | ||
/bin/bash -c " | ||
cd /opt/nvidia/deepstream/deepstream/samples/ && | ||
if [ ! -f /opt/nvidia/deepstream/deepstream-6.3/samples/trtis_model_repo/init_done ]; then | ||
./prepare_ds_triton_model_repo.sh && | ||
rm -fR /opt/nvidia/deepstream/deepstream/samples/triton_model_repo/densenet_onnx && | ||
touch /opt/nvidia/deepstream/deepstream-6.3/samples/trtis_model_repo/init_done | ||
fi && | ||
tritonserver --log-verbose=2 --log-info=1 --log-warning=1 --log-error=1 --model-repository=/opt/nvidia/deepstream/deepstream/samples/triton_model_repo" | ||
networks: | ||
- triton-network | ||
ports: | ||
- "8000:8000" # HTTP | ||
- "8001:8001" # gRPC | ||
- "8002:8002" # Metrics | ||
environment: | ||
DISPLAY: "${DISPLAY}" # Forward display for X11 | ||
XAUTHORITY: "${XAUTHORITY}" # X11 authority | ||
NVIDIA_DRIVER_CAPABILITIES: "all" # Enable NVIDIA features | ||
runtime: nvidia # NVIDIA runtime | ||
deploy: | ||
resources: | ||
reservations: | ||
devices: | ||
- capabilities: [gpu] | ||
volumes: | ||
- /tmp/.X11-unix:/tmp/.X11-unix # X11 socket | ||
- models:/opt/nvidia/deepstream/deepstream-6.3/samples/trtis_model_repo | ||
|
||
volumes: | ||
models: | ||
|
||
networks: | ||
triton-network: | ||
driver: bridge |
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
Oops, something went wrong.