Commit 0d6a134b authored by lijian6's avatar lijian6
Browse files

Update


Signed-off-by: lijian6's avatarlijian <lijian6@sugon.com>
parent 2949377c
...@@ -23,6 +23,20 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:tritonclient-2.37.0de ...@@ -23,6 +23,20 @@ docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:tritonclient-2.37.0de
# <your IMAGE ID>用以上拉取的docker的镜像ID替换 # <your IMAGE ID>用以上拉取的docker的镜像ID替换
docker run --shm-size 10g --network=host --name=tritonclient --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it <your IMAGE ID> bash docker run --shm-size 10g --network=host --name=tritonclient --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it <your IMAGE ID> bash
``` ```
### Dockerfile(方法二)
```
# server端:
cd ./docker
docker build -f Dockerfile_server --no-cache -t triton:server .
docker run --shm-size 16g --network=host --name=tritonserver --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it <Your Image ID> /bin/bash
# client端:
docker build -f Dockerfile_client --no-cache -t triton:client .
docker run --shm-size 16g --network=host --name=tritonclient --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it <Your Image ID> /bin/bash
```
## 推理 ## 推理
......
FROM image.sourcefind.cn:5000/dcu/admin/base/custom:tritonclient-2.37.0dev_dtk-23.04-ubuntu22.04.2-py310
FROM image.sourcefind.cn:5000/dcu/admin/base/custom:tritonserver-2.37.0dev_dtk-23.04-ubuntu22.04.1-py38
...@@ -7,4 +7,4 @@ modelDescription=yolov7-tiny triton是用triton框架进行的推理 ...@@ -7,4 +7,4 @@ modelDescription=yolov7-tiny triton是用triton框架进行的推理
# 应用场景 # 应用场景
appScenario=推理,图像分类,制造,环境,医疗,气象 appScenario=推理,图像分类,制造,环境,医疗,气象
# 框架类型 # 框架类型
frameType=tvm frameType=triton
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment