Commit 58043336 authored by yangql's avatar yangql
Browse files

增加对dtk24.04.1的支持,以及对k100_AI的支持。

parent 08da69b5
...@@ -17,11 +17,12 @@ WeNet是一种hybird连接主义时间分类(CTC)/注意力架构,以trans ...@@ -17,11 +17,12 @@ WeNet是一种hybird连接主义时间分类(CTC)/注意力架构,以trans
### Docker(方法一) ### Docker(方法一)
拉取镜像: 拉取镜像:
``` ```
docker pull image.sourcefind.cn:5000/dcu/admin/base/custom:ort1.14.0_migraphx3.0.0-dtk22.10.1 docker pull image.sourcefind.cn:5000/dcu/admin/base/migraphx:4.3.0-ubuntu20.04-dtk24.04.1-py3.10
``` ```
创建并启动容器,安装相关依赖: 创建并启动容器,安装相关依赖:
``` ```
docker run --shm-size 16g --network=host --name=wenet_ort --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/wenet_onnxruntime:/home/wenet_onnxruntime -it <Your Image ID> /bin/bash docker run --shm-size 16g --network=host --name=wenet_onnxruntime -v /opt/hyhal:/opt/hyhal:ro --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/wenet_onnxruntime:/home/wenet_onnxruntime -it <Your Image ID> /bin/bash
# 激活dtk # 激活dtk
source /opt/dtk/env.sh source /opt/dtk/env.sh
``` ```
...@@ -32,7 +33,7 @@ cd ./docker ...@@ -32,7 +33,7 @@ cd ./docker
docker build --no-cache -t wenet_onnxruntime:2.0 . docker build --no-cache -t wenet_onnxruntime:2.0 .
docker run --shm-size 16g --network=host --name=wenet_ort --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/wenet_onnxruntime:/home/wenet_onnxruntime -it <Your Image ID> /bin/bash docker run --shm-size 16g --network=host --name=wenet_onnxruntime -v /opt/hyhal:/opt/hyhal:ro --privileged --device=/dev/kfd --device=/dev/dri --group-add video --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v $PWD/wenet_onnxruntime:/home/wenet_onnxruntime -it <Your Image ID> /bin/bash
``` ```
## 数据集 ## 数据集
......
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